About CommandHook
From SpigotMCAllow vanilla selectors in command blocks
This plugin adds the possibility to use vanilla selectors in non-vanilla commands written in CommandBlock.
Since it hooks into vanilla functions, all of the selector arguments are parsed (@p[distance=..5])
Keep in mind
Selecting entities other than player isn't probably of any use, because after the result is obtained, it parses the command with entity name (Player or mob name), however all of the selectors should work.
@p - targets nearest player
@a - targets all players
@r - targets random player
@e - targets all entities
@s - targets the executor (that is command block, not Player!)
FAQ
Q: Vanilla commands are not working.
A: Plugin scans if the command inside the block starts with /minecraft: or minecraft: so the syntax is ex.: minecraft:kill @p[name="RandomPlayer"]
TL;DR: just add minecraft: before it.
If you have a problem or you have found an error, please text me with a short brief (logs are welcomed help)
Highlights
From source dataGame versions
Supports 10 Minecraft versions, the newest being 1.21.
Loaders
Runs on Spigot and Paper.
Footprint
Rated a light load on a server.
CommandHook on Nxeon
From our catalogue- One-click install
- Supported on Nxeon Minecraft servers, for Paper servers. We download it from SpigotMC, place it, and restart the server.
- Server side
- Required on the server
- Server type needed
- Spigot, Paper
- Server load
- light
- Smallest plan we suggest
- Minecraft — 2 GB (2 GB RAM). This follows our own load rating above, not a benchmark.
- Latest build
- 3.1.0, released 2024-06-15
Game versions by loader
| Loader | Game versions | Newest |
|---|---|---|
| Paper | 1.13 to 1.21 (10 versions) | 1.21 |
| Spigot | 1.13 to 1.21 (10 versions) | 1.21 |
From 10 recorded builds of CommandHook.
Recent builds
| Build | Released | Game versions | Loaders |
|---|---|---|---|
| 3.1.0 | 2024-06-15 | 1.13 to 1.21 (10 versions) | Spigot, Paper |
| 3.0.0 | 2024-06-09 | n/a | Spigot, Paper |
| 2.4.2 | 2023-12-10 | n/a | Spigot, Paper |
| 2.4.1 | 2023-10-07 | n/a | Spigot, Paper |
| 2.4.0 | 2023-06-10 | n/a | Spigot, Paper |
| 2.3.1 | 2023-03-25 | n/a | Spigot, Paper |
Run CommandHook on a Minecraft server
Pick a server or deploy a new one above; it is installed in one click.
What kind of mod it is
From the catalogAdmin & protection
Permissions, moderation, anti-cheat and land protection for the people running the server.
Runs on your server
From source side supportSpigotMC lists CommandHook as required on the server. Check its SpigotMC page to see whether players need it too.
Compatibility
- Game
- Minecraft
- Loaders
- SpigotPaper
- Runs on
- Serverrequired on the server
- Game versions
- 1.21 and 9 earlier
- Requires
- One-click install needs a Paper server.
Verified at the source
- ✓SpigotMCOfficial listing, checked 2026-10-02Open ↗
- ✓Author_NewAge, as published on SpigotMC
- ✓LicenseNot published by the sourceFree










