ModsFinder

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.

NeoForgeClient and serverAll rights reserved1.21.1

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

  1. Configurable command tokens

    Token items are defined in a config array, with each entry giving the item and the commands it runs when used.

  2. Creative tab with defaults

    Three example tokens are added to a CommandTokens creative tab, so the format can be seen before editing the config.

  3. Permission nodes

    A token can require a permission node, checked through LuckPerms, so only permitted players can use it.

  4. 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.

1.21.11.0.4
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Optional 1

LuckPermsA permissions plugin/mod for Minecraft servers.
Optional

How it compares

Full comparison

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.

ModLoadersGame versionsEnvironmentUpdated
CommandTokensNeoForge1.21.1Client and server2025-04-10
Cobblemon Biome TokensNeoForge1.21.1Client and server2026-06-21
FTB Quests: Item RewardsNeoForge1.21.1Client and server2025-10-01
PermNodesNeoForge1.21.8 – 1.21.9Server-side only2025-10-09

Questions

Does CommandTokens need LuckPerms?

No. LuckPerms is optional. It is only needed when a token names a permission node, since that check is made through LuckPerms.

Does a player need CommandTokens installed to use a token?

Every player and the server need a copy of the mod. Players joining that server do not need it installed to be affected by its tokens.

Where are custom tokens created?

Custom tokens are written in the config file in the config directory. Save and quit the world, edit the file, then load the world again so the new tokens are read.

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

All projects

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.
hennyhex, on the Modrinth page

Official listing

Owner
hennyhex
Published
2025-04-05
Updated on Modrinth
2025-04-10
Facts verified
2026-10-15

Tags