CommandTokens
by hennyhex
CommandTokens lets server owners attach commands to custom token items, so a player who right-clicks a token runs the command it was configured with.
What it does
Tokens are defined in a config file. Each token is an item with a name, a texture and one or more commands, and holding it and using it runs those commands for the player. The mod ships with three default tokens in its creative tab, so the setup can be checked before any custom token is written. A token can be given to a player with the mod's give command or with the vanilla give command, and tokens can be placed in creative mode or in a world.
The mod is aimed at server owners, modpack creators and map makers, who can use it to build item-driven actions without writing a plugin. It is a server-side essentials tool. Players who join a server running it do not install anything, while the server must run it for tokens to work. Since version 1.0.4, a token can name a permission node, which is checked through LuckPerms, so only players with that permission can use the token. Without LuckPerms installed, the permission string is left blank and no check is made.
Installation needs NeoForge for Minecraft 1.21.1, and the mod is published only for that version and loader. The current build is 1.0.4, published on 2025-04-10. The mod is released under All rights reserved and is not open source.
Key features
Configurable command tokens
Token items are defined in a config array, with each entry giving the item and the commands it runs when used.
Creative tab with defaults
Three example tokens are added to a CommandTokens creative tab, so the format can be seen before editing the config.
Permission nodes
A token can require a permission node, checked through LuckPerms, so only permitted players can use it.
Give commands
Tokens can be handed out with the mod's own give command or with the vanilla give command.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Optional 1
How it compares
Cobblemon Biome Tokens is a NeoForge 1.21.1 mod released under the MIT License and is also run on client and server. FTB Quests: Item Rewards is a NeoForge 1.21.1 mod under All rights reserved that runs on client and server. Unlike these, CommandTokens is about commands bound to items, not biome or quest reward logic. PermNodes is server-side only, open source under the MIT License and published for 1.21.8 – 1.21.9, so it does not cover the same version as CommandTokens.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| CommandTokens | NeoForge | 1.21.1 | Client and server | 2025-04-10 |
| Cobblemon Biome Tokens | NeoForge | 1.21.1 | Client and server | 2026-06-21 |
| FTB Quests: Item Rewards | NeoForge | 1.21.1 | Client and server | 2025-10-01 |
| PermNodes | NeoForge | 1.21.8 – 1.21.9 | Server-side only | 2025-10-09 |
Questions
Does CommandTokens need LuckPerms?
Does a player need CommandTokens installed to use a token?
Where are custom tokens created?
In the catalog
CommandTokens is one of 2,072 Economy mods on ModsFinder, and one of 917 Economy mods for NeoForge. 32,366 mods support Minecraft 1.21.1.
More from hennyhex
Similar mods
What the author says
This mod is aimed toward server owners, modpack creators and map makers but has a wide range of uses in many scenarios. You can use the command /commandtokens give to give a token to a player.
Official listing
- Modrinth page
- modrinth.com/mod/commandtokens
- Owner
- hennyhex
- Published
- 2025-04-05
- Updated on Modrinth
- 2025-04-10
- Facts verified
- 2026-10-15
