CurseForge · Minecraft mod
Command Tokens
Create custom token items that execute commands when a player uses them
Quick answer
Which Command Tokens release matches 1.20.1 Forge?
Command Tokens CommandTokens (Forge) - V1.0.1 targets 1.20.1 with Forge. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.
Where it goes
Is Command Tokens required on the client, server, or both?
The project page does not say whether this file belongs on the client, dedicated server, or both.
The source does not explicitly classify this release as client-only or server-only.
What else does Command Tokens CommandTokens (Forge) - V1.0.1 need?
CommandTokens (Forge) - V1.0.1 on 1.20.1 Forge. Every mod below is checked against that same setup.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add Command Tokens without breaking your instance.
Built for Command Tokens CommandTokens (Forge) - V1.0.1 on 1.20.1 Forge. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use CommandTokens (Forge) - V1.0.1. It targets 1.20.1 with Forge; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside CommandTokens (Forge) - V1.0.1. It opens that exact file at the source.
About this project
What does Command Tokens add?
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:

Project description from CurseForge.
Pick your setup
Command Tokens by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.20.1
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Command Tokens versions and loaders
CommandTokens (Forge) - V1.0.1
commandtokens-1.0.1.jar
24 Oct 2024
CommandTokens (Forge) - V1.0.0
commandtokens-1.0.jar
23 Oct 2024
Looking for an older file? The official CurseForge project page is in Resources.