
Modrinth · Minecraft mod
Datapack Commands
Turn any datapack function into a real slash command!
Quick answer
Which Datapack Commands release should I use?
Datapack Commands 1.0.0 targets 26.2 with Fabric. Do not install it on the client. It must be installed on the dedicated server. No extra mods listed for this file.
Where it goes
Is Datapack Commands required on the client, server, or both?
Do not install it on the client. It must be installed on the dedicated server.
This file is marked server-only.
What else does Datapack Commands 1.0.0 need?
1.0.0. Change the file and its required mods may change too.
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 Datapack Commands without breaking your instance.
Built for Datapack Commands 1.0.0. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 1.0.0. It targets 26.2 with Fabric; 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
Do not install it on the client. It must be installed on the dedicated server.
- 04
Pick the file you checked
Use the “Get this file” button beside 1.0.0. It opens that exact file at the source.
About this project
What does Datapack Commands add?

Datapack Commands
Your commands, your rules.
Turn any datapack function into a real slash command — no client mod, no restart, no hassle.
Players get tab completion out of the box. You stay in control.
What it does
/cgen create heal utils:heal_player — that's it.
Players can now type /heal and your datapack function runs. Instantly. For everyone.
Commands persist across restarts, show up in tab completion, and can be removed just as easily.
Commands
/cgen create <name> <namespace:function>
Registers a new slash command that runs a datapack function.
/cgen create heal utils:heal_player
/cgen create "shop haste" mypack:give_haste
Players can now type
/healor/shop haste— no client mod needed.
/cgen remove <name>
Unregisters a command immediately. Gone from tab completion too.
/cgen remove heal
/cgen list
Shows all registered commands and what they map to.
Registered commands:
/heal -> utils:heal_player
/shop -> mypack:open_shop
/cgen feedback <on|off>
Toggle whether "Executed function: ..." appears in chat when a command is used.
Off by default. Persists across restarts.
/cgen check
Returns 1 if the mod is loaded. Use this in your datapack to verify Datapack Commands is running.
Good to know
- Requires operator level 4 to use
/cgen - Registered players (without OP) can use the created commands freely
- Commands are saved to
"world"/datapackcommands.json - Command names: alphanumeric + underscores, max 32 characters
- This should pair well with Filiment
Server-side only — players don't need to install anything.
This Mod may be used in modpacks and as dependencies for any datapacks/mods
Project description from Modrinth.
Pick your setup
Datapack Commands by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
26.1.2
2 loader builds26.1.1
2 loader builds26.1
2 loader builds1.21.11
2 loader builds1.21.10
2 loader builds1.21.9
2 loader builds1.21.8
2 loader builds1.21.7
2 loader builds1.21.6
2 loader builds1.21.5
2 loader builds1.21.4
2 loader buildsShowing the newest 12 of 18 game versions. Older files are in the list below.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Datapack Commands versions and loaders
1.0.0
datapackcommands-1.0.0.jar
16 Jul 2026
1.0.0
datapackcommands-1.0.0.jar
19 Apr 2026
1.0.0
datapackcommands-1.0.0.jar
19 Apr 2026
1.0.0
datapackcommands-1.0.0.jar
3 Apr 2026
Looking for an older file? The official Modrinth project page is in Resources.