Block Commands allows you to add commands that are executed when a player clicks a block (left, right or both). These can be executed as the player or by console.
Placeholder API Support Use any installed PlaceholderAPI placeholders in block commands for a more unique and adaptable experience.
The target block is determined by the block you're looking at.
/blockcommand info - List the commands on the target block
/blockcommand add <console/player> <left/right_click> <command> - Add a command to the target block
/blockcommand remove <index> - Remove a command from the target block based on its index (in /blockcommand info)
/blockcommand set cancelinteract <true/false> - Set whether the block should cancel interactions (e.g. sign edit) and block break"
blockcommands.command - Needed for any /blockcommand
blockcommands.command.add - /blockcommand add ...
blockcommands.command.info - /blockcommand info ...
blockcommands.command.remove - /blockcommand remove ...
blockcommands.set.cancelinteract - /blockcommand set cancelinteract ...
blockcommands.notifybreakinteract - Notify if the player tries to break a block that has interactions blocked