Back to 9Minecraft
Wiki 9Minecraft Wiki 9Minecraft

Rules4Worlds Mod FAQ

10 questions players actually ask, answered.

How do I create my first custom game rule?
Start by opening your world's JSON configuration file in the config folder, then add a new rule object with a name, description, and default value. You can also use the in-game command system to create rules without editing files directly—check the 'Create a Custom Game Rule for Your World' guide for the exact syntax.
Can I have different rules for different worlds?
Yes, that's the core feature of Rules4Worlds—each world save stores its own separate JSON configuration file, so you can set completely different rules for each world without affecting others.
What types of values can a custom rule have?
Rules4Worlds supports multiple setting types including booleans (true/false), integers, decimals, and text strings, so you can create rules for almost any gameplay mechanic you want to control.
How do I change a rule value while playing?
Use the in-game command system to check and modify rule values without stopping or reloading—see the 'Check and Change a Rule Value In-Game' guide for the command format specific to your rule.
Can I organize my rules into folders or groups?
Yes, Rules4Worlds lets you group related rules into categories, which keeps your configuration cleaner and makes rules easier to find—the 'Organize Rules into Categories' guide shows how to set this up in your JSON files.
What happens if I edit the JSON file while the world is open?
You'll need to reload the world or use an in-game command to refresh the configuration—editing while the world is running won't automatically apply changes.
Is Rules4Worlds compatible with other mods that add custom gamerules?
Rules4Worlds is designed to work alongside other mods, but if multiple mods try to control the same vanilla gamerule, conflicts can occur—test your mod combination in a test world first.
Can I set default values that apply to all new worlds?
Rules4Worlds creates world-specific configurations, so each new world starts with its own fresh JSON file; you can create a template configuration and copy it to new worlds, or set defaults within each world's config.
How do I back up my custom rules?
Simply copy the JSON configuration files from your world's config folder to a safe location—since rules are stored as plain JSON text files, backing them up is as easy as copying files.
Can server admins enforce rules across all players?
Yes, the server's Rules4Worlds configuration applies to all players on that server, and you can use commands to prevent players from changing certain rules if needed.