About
This Minecraft (Spigot) plugin is able to execute commands inside a command block to execute as a player.
Command blocks having a button attached to them will execute the commands inside them as the player triggering the
button.
The player pressing the button is effectively executing the commands which are stored inside the command block. NOT the
server itself.
Because of that, commands which require higher permissions than the player will not work!
Usage
Place a command block and **directly** attach a button to it.
Keep in mind:
- Attaching a button through redstone wire, comparators, etc. will not work. The button needs to be directly attached to
the command block
- You can place buttons on all sides of the command block
Right-Click the command block and enter the commands you want to be executed on player button press and save. Done!
Command block script format
In Vanilla minecraft, only one command can be executed by the command block. This plugin changes this so multiple
commands can be executed. Commands can be separated by using a predefined delimiter. Per default this delimiter is `;`
but this can be changed in the config.yml.
Single commands will be executed 1:1 as the player:
`<some-command>`
Multiple commands are separated with a `;` and will be executed one after each other (as the player):
`<command1>;<command2>`
Example command block contents:
`say "hello"`
or
`pl;say "bye";tp 0 0 0"`
Disclaimer
This plugin is provided "as-is" and there is no support provided for it.
Known Bugs
Sometimes messages get logged in the server console about some commands that could not be executed. This has no negative impact ingame, but is annoying for the server owner. If you have a clue what the root cause of this is, let me know
