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!
Yet another cry for an Update :-D!
The plugin isn't working on 1.12.2.. It loads but as SherlockStd said some times ago it doesn't actually work.. I'd really like to use it on my server, it's such an helpfull plugin.
Also when i try to use the /setcommand with any correct command it gives an error: "An internal error occurred while attempting to perform this command".
Maybe a feature to allow Survival players to place command blocks?
Not working on Spigot 1.12.2, can't even put a command block on the floor ... I did :
/lp group admin permission set SafeCommandBlock.*
so it should work
Aww, that's stupid. Unfortunately I don't have much time right now so it might take some time to fix it.
Due to limitations, I cannot make the GUI possible for non-ops, which is unfortunate.
Need for 1.11.2 or 1.12. it doesnt work for the new command blocks, only impulse, probably because they don't use the same id anymore. Also, a very crucial addon if not able to use in 1.11.2 with the gui that i cannot seem to find, would be to be able to view a command thats in a command block.
Need for 1.11.2 or 1.12. it doesnt work for the new command blocks, only impulse, probably because they don't use the same id anymore. Also, a very crucial addon if not able to use in 1.11.2 with the gui that i cannot seem to find, would be to be able to view a command thats in a command block.
@JugadorON
It works in 1.10. The only problem is that the GUI does not show up so its a bit of a workaround for now. If you look at the commandblock and use /setcommand <your command> it will work.
I need version to 1.10.2, please!!!
Java 8!
I really wish mojang would increase the character limit for chat so that we could fit longer commands :/
@keough99
It's about setting the command, not running the command.
does this plugin make it so commandblocks would only run the command in the world they are in and not other worlds?
@KevinW1998
@ObbolaLink
Exactly what I wanted!
@ObbolaLink
Hah, you're right. Did not notice that. Will do that for sure! While we at it, I will try to get the command block GUI pop up for non-op players again.
Very nice plugin, a suggestion would be to add a permission to let players who are not OP be able to place command blocks (I am dev on a server but not op, thus I can not place command blocks, would be greatly appreciated!) Thanks =)
@KevinW1998
Hi Keven, nice to hear from you. I already didn't think you were 'dead'. And apart from the question you just answered for me, the plugin has always been working fine for me.
Thank you for your reply, I will try the 1.9 version when I can get my server to 1.9 with all plugins.
@CoolV1994
@LOOHP
@robotnikthingy
First of all: I am not dead. I've started on fixing the plugin for 1.9.2 and make it more stable. I've found a solution for it to make it more reliable.
@JK82NL
Sorry, but I think the plugin breaks on some commands. Anyway, if possible use the 1.9 compatible version when it comes out.
I'm still using 1.8 but there is one problem I've always had and can't find anything about on the internet. Thats why I thought it might have to do with this plugin maybe.
If I copy a command from internet (mostly happens with long commands I guess) and as soon as I press Done in the command block it puts this -> / <- in front of the command I pasted in. And no matter if I go into the commandblock and remove it, it just return after clicking Done again.
I also tried pasting command in notepad first and then copying it to commandblock, but that did not work either. Any idea whats going on?
Exactly what I feared. You can't even see the symbol when I post it here. It looks like a Square with inside of it 00 on first line and 02 below it.
I get this error when using SCB v1.1 on Spigot 1.9 when changing quick bar slots. http://pastebin.com/c5vX4d2J
Please update to Minecraft 1.9, this plugin is great.