Mod

MEOWS

Quick rating

MEOWS

No reviews yet

my existing options will survive

Community voices

Reviews

Filter by exact patch versions
Loading exact 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 updated review is now pending. It 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 Optional
Server Optional

About

Project Details

Type
Mod
License
Mozilla Public License 2.0
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

About

Description

MEOWS

my existing options will survive

What?

Similar to YOSBR or Configured Defaults, this mod provides a way to copy default game files when Minecraft is started. This is useful for mod pack creators who need to include configuration files but don't want to reset user changes after every update.

Different from the aforementioned mods, MEOWS implements an "actions" system, in which certain actions can be performed during startup, such as overwriting or deleting specified files. Actions will only run once.

How?

Every file in the defaults directory will be copied to their relevant places in the game's root directory. For example, .minecraft/defaults/options.txt will be copied to .minecraft/options.txt if the file doesn't already exist.

The mod can be configured from the config/meows/config.json file. This includes the current version of the default files (for actions), and the actions to perform per each version. To use MEOWS like YOSBR or Configured Defaults, these options can be ignored.

Actions are stored as an array of objects, each containing an array of files to overwrite or delete and the relevant version. Here's an example that will overwrite the options.txt file:

{
  "version": 2,
  "actions": [
    {
      "version": 2,
      "overwrite": [
        "options.txt"
      ]
    }
  ]
}

When the game is started, MEOWS will perform these actions if it hasn't already. The local MEOWS version will then be updated so these actions cannot be performed again.

For overwrite actions, the file must have a corresponding file located in the defaults directory.

{
  "version": 3,
  "actions": [
    {
      "version": 3,
      "delete": [
        "options.txt"
      ]
    },
    {
      "version": 2,
      "overwrite": [
        "options.txt"
      ]
    }
  ]
}

In this example, the top-most action will take precedence. options.txt will be deleted, despite being overwritten in the previous version.

Note that, if the options.txt file is still included in the defaults directory, it will be copied if non-existent when the game is next started as actions are only processed once.

Why?

From my experience maintaining mod packs, I've found that similar mods are lacking in one crucial way: how could a mod pack author control file changes? After all, they only copy files if they don't already exist, meaning that major configuration file changes or updating files that have already been generated are impossible. MEOWS solves this issue with its actions system, providing the method of performing one-time operations on files.

FAQ

Will this be ported to more mod loaders?

In the future, probably.

Will this be ported to more Minecraft versions?

In the future, probably.

Why does this use preLaunch rather than serving as a language provider on Fabric?

Ideally, this mod should be absolutely effortless to maintain. As such, I opted for the "right" ways when it came to many architectural decisions, notably avoiding the hacky language provider method other similar mods use in order to run as soon as possible. This does mean that some other mods might create files before MEOWS is able to copy their defaults. However, I've found that these cases are uncommon enough to where it's not much of an issue.

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
Reviews
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Downloads
Last Updated
CurseForge
Modrinth
Created
Last synced
When ModDex last fetched and imported data for this project from CurseForge or Modrinth. High-traffic and active projects are checked more often.
Next pipeline sync