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.
Create your Minecraft server and install the CommandHook plugin with one click!