
WorldGameRules
This fabric mod enables you to configure game rules separately for each world, providing new possibilities for gameplay personalization.
Command System
The standard game rule command has been replaced with an enhanced version that requires specifying a particular dimension. Command usage requires the world-gamerules.commands.gamerule
permission or operator level 2.
Available commands:
/gamerule <rule> [dimension selector]
- checks the value of the specified rule in all selected dimensions/gamerule <rule> <value> [dimension selector]
- sets the rule value in all specified dimensions
Dimension Selection
The selector system allows precise targeting of which dimensions will be affected by commands:
@all
- selects all existing dimensions@namespace <namespace>
- selects dimensions by namespace (for example,minecraft
selectsminecraft:overworld
,minecraft:the_nether
andminecraft:the_end
, but excludescustom:dimension
)@regex <regular_expression>
- selects dimensions whose identifiers match the given regular expression<dimension_identifier>
- exact selection of a specific dimension