ModpackUtilities

Quick rating

ModpackUtilities

No reviews yet

A (soon) multi-loader, multipurpose mod designed to address common annoyances when making a modpack!

Mod Loaders
Fabric
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Unsupported

About

Project Details

Type
Mod
License
Creative Commons Attribution Non Commercial No Derivatives 4.0 International
Latest Version
fabric-0.2.1+mc1.20.1
Authors

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

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.txt without overriding it, place it in /config/modpackutilities/copy/options.txt and 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 overwriteOnCopy to true in 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/fancymenu that will end up in /config/fancymenu for 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 executionContext is set to client, if you try commands like /give that require administrator permission and the player isn't one, thne the command will silently fail.
  • If executionContext is set to server, 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 @player one 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 :)

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Downloads
Last Updated
CurseForge
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works