Wiki 9Minecraft Wiki 9Minecraft

Edit Rules Directly in JSON Configuration Files

Java EditionModGuides 4FAQ 10Related mods 60
DownloadRules4Worlds Mod

Get the files on 9Minecraft

Contents (4)
  1. Accessing the Configuration File
  2. Making Changes
  3. Applying Changes
  4. Best Practices

Accessing the Configuration File

For advanced customization, you can edit rules directly in the JSON file. This is useful for bulk changes or setting up rules before entering the world.

Making Changes

1. Locate your world save folder

2. Find the Rules4Worlds JSON configuration file (usually in a config or data subfolder)

3. Open it with a text editor

4. Modify rule values, add new rules, or adjust categories

5. Ensure your JSON syntax is valid (proper brackets and commas)

6. Save the file

Applying Changes

If the world is running, reload it to apply changes. If you're editing before first launch, changes take effect when you create or load the world.

Best Practices

Keep backups of your configuration file before making large edits. Use clear naming conventions for rules and categories. Add comments in your JSON to document what each rule does, making it easier to manage later.

More guides for this mod