1

Command Block help please

jonopeo 9/21/14 6:01 pm
844
10/7/2014 4:33 am
Hello there! I'm currently making a RPG server. Using PEX a default rank with only limited permissions will spawn in a portal room which they must walk through a portal which will set their rank. I also want this to teleport them to their races spawn.

Does anyone know how i can do it? The only way i can think is by using 2 pressure plates and 2 command blocks. (I am a real noob at command blocks and also redstone)

Thanks in advanced! I appreciate your help!
Posted by
jonopeo
Level 3 : Apprentice Miner
8

  Have something to say?

JoinSign in

15

rahtirane87
10/07/2014 4:33 am
Level 3 : Apprentice Network
http://minebuddies2014.wix.com/minebudd ... hings/cnd5


i made picture how to set up commandblocks and what command each commandblock need to have..
1
Netifo
09/23/2014 11:19 am
Level 1 : New Artist
jonopeoHello there! I'm currently making a RPG server. Using PEX a default rank with only limited permissions will spawn in a portal room which they must walk through a portal which will set their rank. I also want this to teleport them to their races spawn.

Does anyone know how i can do it? The only way i can think is by using 2 pressure plates and 2 command blocks. (I am a real noob at command blocks and also redstone)

Thanks in advanced! I appreciate your help!


If you are making a RPG server or any other public server you shoud not use commando block. The best way to do it is to use Bukkit Plugins.
Read and download them here: bukkit.org

Its many videos on «how to use plugins» «how to download them» and «whitch plugins you need». I can a lot about bukkit-pugins/bukkit-servers so contact me if you need more help. And any way give me the ip. Then i can see whitch plugins you should use.

Good luck!
Contact: thenetifo@gmail.com
-Netifo
1
Maveriknight
09/23/2014 11:02 am
Level 18 : Journeyman System
too true. you'd think that by now they'd have at least made an effort to get commands from plugins to work with command blocks, at least on the plugin's end.
1
Jmal116
09/22/2014 5:27 pm
Level 34 : Artisan System
Is PEX a plugin, or is it something they added in 1.8 that I just didn't catch on to? If it is a plugin be wary of trying to use command blocks with it, as command blocks and bukkit tend to not work very well together, if at all.
1
Gerardufoin
09/22/2014 5:09 pm
Level 4 : Apprentice System
Don't worry, I understand perfectly taht the range is obviously the easiest way for someone that doesn't know a lot about command blocks, thus your answer is the right one if he has to do it himself.

Was just suggesting this in the case you were going on his server to help him, I wasn't criticising your proposition
1
EnderMiner77
09/21/2014 10:14 pm
Level 68 : High Grandmaster Programmer
if you dont want people only activating one of them, wire both of them together under the pressure plates.

EDIT: Sorry, thought you wanted to use pressure plates. How about you first set their rank, then run some kind of testfor command to determine their race and the n teleport them to the correct spawn area.

DISCLAIMER: I dont know how to use PEX at all.
1
SuperSecretFakeAccount
09/21/2014 10:06 pm
Level 18 : Journeyman Scribe
I would love to help on the actual server, The map ect. I have a bit of skill with building, some with redstone, some with plugins. Whitelist me, Miner_world111
1
__Finnster__TheBoss
09/21/2014 8:21 pm
Level 1 : New Network
jonopeoHey please could you join my server and help set this up? High appreciate it. 209.148.93.28:25703

__Finnster__TheBossHi,
You would need to have a 3x3 portal, and put the command block in the middle (UNDER THE PORTAL). Using the command */testfor @p[r=3]* and have a redstone comparator outputting a signal to a command block, said command block will have */pex user [user] group set [group][world]* (I believe that is the command, as I don't know PEX well). That is what you'd have to do. I can come on your server and set it up for you (I don't want anything in return, though your lowest staff rank would be nice).

--


Whitelist me: __Finnster__
1
jonopeo
09/21/2014 7:13 pm
Level 3 : Apprentice Miner
Hey please could you join my server and help set this up? High appreciate it. 209.148.93.28:25703

__Finnster__TheBossHi,
You would need to have a 3x3 portal, and put the command block in the middle (UNDER THE PORTAL). Using the command */testfor @p[r=3]* and have a redstone comparator outputting a signal to a command block, said command block will have */pex user [user] group set [group][world]* (I believe that is the command, as I don't know PEX well). That is what you'd have to do. I can come on your server and set it up for you (I don't want anything in return, though your lowest staff rank would be nice).

--
1
sso2
09/21/2014 7:08 pm
Level 7 : Apprentice Pig
__Finnster__TheBossHi,
You would need to have a 3x3 portal, and put the command block in the middle (UNDER THE PORTAL). Using the command */testfor @p[r=3]* and have a redstone comparator outputting a signal to a command block, said command block will have */pex user [user] group set [group][world]* (I believe that is the command, as I don't know PEX well). That is what you'd have to do. I can come on your server and set it up for you (I don't want anything in return, though your lowest staff rank would be nice).

--

what he said
1
__Finnster__TheBoss
09/21/2014 7:06 pm
Level 1 : New Network
Hi,
You would need to have a 3x3 portal, and put the command block in the middle (UNDER THE PORTAL). Using the command */testfor @p[r=3]* and have a redstone comparator outputting a signal to a command block, said command block will have */pex user [user] group set [group][world]* (I believe that is the command, as I don't know PEX well). That is what you'd have to do. I can come on your server and set it up for you (I don't want anything in return, though your lowest staff rank would be nice).
1
Gerardufoin
09/21/2014 10:30 pm
Level 4 : Apprentice System
For better accuracy, it would perhaps be better to use the dx/dy/dz arguments of the testfor command instead of the range.
With the range, the player will be detected when he's in front of the portal, not inside (you can also resolve this problem by reducing the range and moving up the searchpoint, but it's not that good if the portal has to be bigger than 3x3)

Something along the line of

/testfor @p[x=lower_corner_x,y=lower_corner_y,z=lower_corner_z,dx=2,dy=2]

would work great for a 3x3 portal, only detecting the player when he's inside it. (Note that the dx has to be replaced by dz depending on the portal's direction)

But well, if the accuracy is not an issue, then range is good too
1
__Finnster__TheBoss
09/22/2014 5:01 pm
Level 1 : New Network
Hi didn't know "commandblocking", I was trying to keep it simple. . -_-
1
jonopeo
09/21/2014 6:31 pm
Level 3 : Apprentice Miner
I don't know anyone who is good with redstone.
1
sso2
09/21/2014 6:11 pm
Level 7 : Apprentice Pig
jonopeoHello there! I'm currently making a RPG server. Using PEX a default rank with only limited permissions will spawn in a portal room which they must walk through a portal which will set their rank. I also want this to teleport them to their races spawn.

Does anyone know how i can do it? The only way i can think is by using 2 pressure plates and 2 command blocks. (I am a real noob at command blocks and also redstone)

Thanks in advanced! I appreciate your help!

Ok im not Very advanced in redstone and stuff so the only thing I can think of is...

Get someone eles to do it
1

Welcome