Cpack
by Westires
Cpack lets server owners store command scripts inside a world folder and run them with the cp command on Fabric for 1.21.11.
What it does
Scripts with the .cpack or .mcfunction extension are kept per world and load when the world starts. Their files are parsed in advance, so running a script adds little to runtime cost. Subfolders are read to a set depth, and a folder name can group related scripts, such as a project folder holding a demo.
Each command in a script sits on its own line, and lines beginning with a hash are skipped. The syntax follows vanilla function files, and the arguments support wait and call, along with full tab completion for loaded file names. Several scripts can run in parallel, subject to limits built into the mod. Command feedback is suppressed by default, as it is for function files, and the particle command is one example.
Commands need operator level 2 and the gamemaster permission, except cp list, which any player can use to see available scripts. The Fabric build is listed as beta and is licensed under the MIT License, so it is not open source. Files are published only for Minecraft 1.21.11, with 1.0.0 as the latest file from 2026-07-19.
Key features
Per-world script storage
Scripts live in the world folder, so each world keeps its own set without changes to a shared global config.
Pre-parsed script files
Files are parsed when the world loads, using Brigadier's parser as vanilla does for function files.
Wait and call arguments
Scripts can pause with wait or invoke other scripts with call, and tab completion covers those arguments.
Parallel execution
Several scripts can run at once, within artificial limits the mod applies to keep them bounded.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Repeatable server tasks
Server owners can store a sequence of commands once and run it again with cp run, instead of retyping it in chat.
Grouped project scripts
Scripts can sit in named folders and subfolders, so a map or minigame keeps its commands together.
Who it’s for: Server owners and map makers who already write .mcfunction files and want the same syntax with per-world storage and tab completion.
Questions
Does Cpack need to be installed on the client?
Who can run cp commands?
Which Minecraft version does Cpack support?
In the catalog
Cpack is one of 8,016 Management mods on ModsFinder, and one of 5,930 Management mods for Fabric. 19,862 mods support Minecraft 1.21.11.
Similar mods
What the author says
A Fabric mod for Minecraft 1.21.11+ that lets you run.cpack and.mcfunction files as scripted command sequences — with wait, call, and full tab-completion support. Cpack works just like.mcfunction files, but stored per-world and with extra arguments (wait, call). You write plain command scripts, load them into your…
Official listing
- Modrinth page
- modrinth.com/mod/cpack-mod
- Owner
- Westires
- Published
- 2026-07-19
- Updated on Modrinth
- 2026-07-19
- Facts verified
- 2026-10-15
