CustomBlockCMD/target/classes/config.yml

38 lines
1.4 KiB
YAML

#======================================================================================#
# 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
...