Safe Command Block
Safe Command Block
What is Safe Command Block?
Safe Command Block makes the management of command blocks easier and safer. There are some problems what command blocks have:
- Command blocks cannot be used from a player who doesn't is a op.
- Command blocks can execute nearly every command (except kick, ban, op, deop, stop), so they aren't safe.
- You can only set a name of a command block only with a anvil.
If you have a public server you won't be able to build a adventure map with other players with this problems. Safe Command Block solves these problems with these features:
- Whitelist or Blacklist Commands
- World Whitelist (optional)
- Commands can be set from players even if they not op and in creative mode
- Set the name of a command block
- Reset the command of a command block
- With permission limitation
- Extra Color Codes
With this plugin you are now able to build a adventure map without worries!
What do I need to run Safe Command Block?
You will need a plugin called ProtocolLib and you need the bukkit build #2685 or higher. Install it and run it together with Safe Command Block. If anythig goes wrong just write a comment.
You may install some other plugins for more safety!
List of Commands/Permissions
Permission | Command | Description |
---|---|---|
SafeCommandBlock.access | Nothing | If someone has access to command blocks (modify the command) |
SafeCommandBlock.bypass | Nothing | If someone can bypass whitelist, blacklist and worldwhitelist |
SafeCommandBlock.color | Nothing | If someone can write the command with color codes to command blocks |
SafeCommandBlock.resetCommand | /resetcommand | If someone can reset the command of a command block (admin command) |
SafeCommandBlock.setCommandName | /setCommandName | If someone can set the name of a command block (admin command) |
SafeCommandBlock.setCommand | /setCommand | If someone can set the command of a command block |
SafeCommandBlock.reload | /scbreload | If someone can reload the config file of Safe Command Block |
Formatting Codes can be found here - Note: You'll use a & instead of a $.
Note: Admin commands won't check for other permissions like blacklist or whitelist!
For config sample click here.
How to use
If you want to modify the command of the command block or use a command from Safe Command Block, please be sure to target the command block directly. If you do so, nothing should go wrong!
Having Problems?
If it is a small problem, just write a comment. If it is a big/heavy problem, then please use the ticket function. Thank you!
@00firestar00
If you really need the source then send me a PN. I didn't release the source code, because I am afraid from thieves. It is just more work to open source plugins (e.g. Github and so on)!
Any chance you are willing to open source this plugin?
@mike_x1
Sorry, but I am not a protection plugin.... this wouldn't fit there!
How is it possible to set commands in survival?
EDIT: Just found out that it works without doing anything. BUT: is it possible to break them in survival? If not, please include that feature... would be awesome :)
Finally got approved! Have fun, and remember: If you find any issue, report it :-)!
Kevin, that would be so cool of you to update for 1.7. We love this plugin and have been using it on our RedstoneDEV server at myncraft.org to allow the kids to build cool things using redstone and command blocks. I'll be checking back! Thank you again.
I just saw that mojang did a couple of packet changes. The 1.5.2 version of Safe Command Block should work for 1.6.4, but not for 1.7. I will hit out a beta soon for 1.7.
@Hockeymikey
I gonna try soon!
Any update on a 1.7 update? Appreciate your work. Thanks.
@xion87
I don't really understand your question.
how i can take the coordinate from this? for teleport here [INFO] CommandBlock at 93,610,4,3,480 issued server command: /thor irongreg111
@JAG100
Contact me via PM, thanks!
Kevin,
I'd be willing to contribute to get a working version of this under the new 1.7 bukkit. I'm sure others would too. Would you be willing to work something out with myself and others?
Best, JAG100
@DoubleZ
Really?
What happens, if you load up the plugin?
this plugin can't work on 1.6.4-R2.0
Test it ;) I suppose so... Just busy at school, so I don't play Minecraft at the moment.
this work on 1.6.4???? thx in advance :P
@zydar16
Well, I didn't play minecraft for a while... You really cannot destroy commandblocks, huh?
There is a solution for a player to break a commandblock on survie mode ? If not, you could maybe implement that, it should be nice
@KevinW1998
ok i am still using 1.5.1 :P