Mineuniverse
Log in Register
Mods

Command Tokens

Create custom token items that execute commands when a player uses them
by hennyhex
Download Claim this project
5,594 downloads
0 likes
Updated Jul 6, 2026
0 hypes
Addons Miscellaneous Server Utility Utility & QoL

NOTE: If you are looking for a server-side alternative to this mod (that clients dont also have to install to connect to your server) - CommandTokens has been included in my server essentials mod:

 Henny Essentials

Overview

CommandTokens gives the user the ability to create custom items that execute commands when a player uses them.

This mod is aimed toward server owners, modpack creators and map makers but has a wide range of uses in many scenarios.

 

Commands

You can use the command /commandtokens give <playername> <tokenalias> to give a token to a player.

Alternatively, you can use the Minecraft give command to give a player a token as follows:

/give <playername> commandtokens:token[custom_data={"commandtoken":"tokenAlias"}]

 

How to create a Token

To create a token, place this mod in your mods folder and load up a world in creative mode. If you navigate to the CommandTokens creative tab you will see 3 tokens that are created by default.

Now save and quit your world and navigate to the config directory, you will see a file called: CommandTokens.json

This is the file where you can create your custom tokens. Below is a breakdown of a "token" object:

NOTE: as of V1.0.4 you can add a permission: "some.permission.node" option to tokens and it will use LuckPerms to check if player has permission to use the token. If LuckPerms is not installed, or the permission string is blank, the token will not check permissions.

Create as many of those objects as you want and place them within the "tokens": [] array in the config and the next time you load your world you will have access to these tokens.

For example, the config token defined above will create this token in game:

[CLICK HERE FOR SUPPORT DISCORD]

CommandTokens (NeoForge) - V1.0.4
MC Client, NeoForge, 1.21.1, Server
Release 2025-04-10 Get
CommandTokens (Fabric) - V1.0.2
MC Fabric, Client, 1.21.1, Server
Release 2025-04-02 Get
CommandTokens (Forge) - V1.0.1
MC 1.20.1, Forge
Release 2024-10-24 Get

More from hennyhex

Henny Fullbright
9,273
Hender Chests
83
Server Vote
44,753
Henny Essentials
3,198
Pagination
226
project-950383
2,249

You Might Also Like

LoadingTips
A mod that adds custom tips to the loading screen
999,218
Sampler
Performance oriented debugging/administration tools
998,926
VulkanMod
Vulkan renderer mod for Minecraft.
997,115
Charm Fixer
Disables some modules on charm to fix incompatbility issues with owo
996,251
Trading station
Basic items to item trading machines
99,755
NarrateBookForMe [FABRIC]
Adds a narration keybind, and two GUI buttons to the book screen. Text-to-speech (tts) / narration on the go! Client sided.
99,734