HomeJavaModsModpackUtilities
ModpackUtilities

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:

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:

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:



## 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 :)
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more