|---BlockCommandCRX---|
cirex-------------------------------------------=======-------------------------------------------
A simple plugin for binding a command to a block.
-------------------------------------------By Criex1337--------------------------------------------
You can bind a command to a block by entering /bindcommand <command_name> <OP|default> in the chat. You must look at the block to which you want to attach the command. After you can edit trgger of this command in config.
Placeholer %player% - player's name
Example configuration file:
# Configuration of BlockCommandCRX #
# Format: Bound block name, Type:console -> command, Type:player -> command, world -> coordinates #
# %player% - player's name% #
simplecases:
console_commands:
- say Welcome %player%!
- give %player% diamon 64
player_commands:
- say Hi all
- say I am %player%
simplecases2:
console_commands:
- say %player% wins!
player_commands:
- say I am the first!
- say My name is %player%
world,105:
14
0,101:
15
0,67:
16
'0': example
17
0,63:
18
'0': example2