Back to 9Minecraft
Wiki 9Minecraft Wiki 9Minecraft
Rules4Worlds Wiki › Guides › Edit Rules Directly in JSON Configuration Files

Edit Rules Directly in JSON Configuration Files

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.