diff --git a/README.MD b/README.MD index e69de29..d30468b 100644 --- a/README.MD +++ b/README.MD @@ -0,0 +1,41 @@ +# CustomBlockCMD + +Something similar was requested [here](https://www.spigotmc.org/threads/clickable-items-command.492629/). + +```#======================================================================================# +# NVus PRISON SETUP # +# by never2nv # +# www.FNGnation.net # +# Discord: FNGnation.net/discord # +#======================================================================================# + +GOLD_BLOCK: + # Action type: hand or world. Hand means if the player has this block in their hand + # and right clicks it'll execute the command and optional message. + # world means if they right-click on this block anywhere in the world they see it + # it'll execute the command and optional message. + action-type: world + # Command type: player or server. Player means it'll execute the command as the player + cmd-type: player + # Command to execute + command: warp shop + # Optional message to send to the player. Leave "" for no message. + message: "Teleporting to the shop..." + +DIAMOND_BLOCK: + action-type: hand + cmd-type: server + command: give @p diamond + +IRON_BLOCK: + action-type: hand + cmd-type: player + command: spawn + message: "Teleporting to spawn..." + +EMERALD_BLOCK: + action-type: world + cmd-type: server + command: give @p emerald + +```