Block Commands | Add Commands to Blocks | 1.21-1.19
2.0.0Execute commands when a player clicks a block
Block Commands
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.
Support Discord
For support, please contact me via Discord: https://discord.gg/vG8znkhwET
Placeholder API Support
Use any installed PlaceholderAPI placeholders in block commands for a more unique and adaptable experience.
Commands
The target block is determined by the block you're looking at.
/blockcommand list - Lists all block commands globally
/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"
Permissions
blockcommands.command - Needed for any /blockcommand
blockcommands.command.add - /blockcommand add ...
blockcommands.command.list - /blockcommand list ...
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
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta