
ModpackUtilities
A (soon) multi-loader, multipurpose mod designed to address common annoyances when making a modpack!
About this Mod
About
You can think of ModpackUtilities as your toolbox as a modpack developer. Copy files & folders, execute commands on world join, and much more to come! A single, simple mod to help you make the modpack you've always dreamed of, one feature at a time!
Features
Copy files & folders
Kinda like Configured Defaults or Your Options Should Be Respected (YOSBR), this allows you to copy any file or folder you put inside the copy directory to the game's directory.
Example:
- If you want to copy the
options.txtwithout overriding it, place it in/config/modpackutilities/copy/options.txtand it will end up in/options.txt, right where it should be! - Now let's say you want to overwrite the user's config even if he already has one. First set
overwriteOnCopytotruein the config, then simply put your files and folders however you want them to be inside the user's game directory! It could look something like/config/modpackutilities/copy/config/fancymenuthat will end up in/config/fancymenufor example.
And there is no limit to the files and folders you can copy. It's up to your needs! Whatever you put will be copied.
Execute commands on world join
As the name suggests. In the config, executionContext will be from who the commands will be executed. client will make it as if the player typed the commands, and server will make it as if they were typed from the server's console. Keep in mind that permissions matter.
Example:
- If
executionContextis set toclient, if you try commands like /give that require administrator permission and the player isn't one, thne the command will silently fail. - If
executionContextis set toserver, the commands will be executed as an administrator, so /give commands and others will work. However, since you can't target the player via the classic @ parameters, you can use a special@playerone instead to target the player.
executionFrequency will run the commands either everytime the player joins the world, either once the first time, then never again. No example needed I hope.commands is where you actually type the commands. They will be executed from right to left, so keep that in mind if order matters.
They have to start with a / and must be between double quotes, inside the already present square brackets.
Example:
"commands": ["/give @s minecraft:diamond 64", "/tell @player Hello world!"]will first run the /tell command, then the /give command. You can note the use of @s and @player together.
## How do I configure this mod? Almost everything happens in `modpackutilities.json`, which is located at `/config/modpackutilities/modpackutilities.json`.
In order, you'll find: - `overwriteOnCopy`: `true` or `false` - `executionContext`: `client` or `server` - `executionFrequency`: `once` or `everytime` - `commands`: any valid Minecraft commands. `@player` can be used to get the player's username
Enjoy :)
Available Versions
How to Install ModpackUtilities on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.20.1).
Install Mod
Open the mod browser in the dashboard and search for "ModpackUtilities". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.20.1
Server-side
✗ UnsupportedRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
ModpackUtilities server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.20.1). You can switch loaders with one click in the panel.
Is ModpackUtilities compatible with fabric?
ModpackUtilities officially supports fabric for Minecraft 1.20.1. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with ModpackUtilities – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if ModpackUtilities consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install ModpackUtilities with just one click on your server.
Details
- License
- Creative Commons Attribution Non Commercial No Derivatives 4.0 International
- Server-side
- Unsupported