CommandHook

Plugin CommandHook

Explore plugin details and available versions

Spigot 12 versions 24,457 Daily updates

CommandHook

Spigot 12 versions 24,457 downloads
Developer’s note: Allow vanilla selectors in command blocks

CommandHook, vanilla selectors in command blocks

CommandHook is a Spigot plugin that restores vanilla target selectors in command blocks when they are used with non vanilla commands from other plugins. It parses selectors such as @p, @a, @r, @e and @s, including arguments like distance, name or other filtering conditions, then passes the resulting player or entity name to the command.

This is useful for minigames, automated systems and interactive mechanisms on a Minecraft server, especially when a plugin command does not understand selector syntax by itself. Vanilla commands may need the minecraft namespace, such as minecraft:kill. Our BoxToPlay team recommends it for more flexible command block logic, while noting that entity targeting and compatibility can vary between server versions.

Available Versions

Version Minecraft Actions
2.0.0 1.18 - 1.13
1.0.7 1.17 - 1.13

Ready to use CommandHook?

Create your Minecraft server and install the CommandHook plugin with one click!

Back to plugins Create my server
🍪