Gamerules

Minecraft's built in game rules can be set via the <gamerules> module. Not all gamerules are supported, the table below lists which are supported.

When stopping the daylight cycle, you should either use the <doDaylightCycle> gamerule.

ElementDescription
Node containing the defined game rules.
Supported Gamerule Sub-elements
ElementDescriptionValues
Toggles whether firespread occurs.true / false
Toggles whether tile entities drop.true / false
Toggles whether mobs drop loot on death.true / false
Toggles whether mobs such as Creepers and Endermen cause enviromental damage.true / false
Toggles whether or not players naturally regain heath.true / false
Toggles whether or not the time tick occurs.true / false
Example
<gamerules>
<doDaylightCycle>false</doDaylightCycle>
<naturalRegeneration>false</naturalRegeneration>
</gamerules>
Unsupported Gamerules
RuleReason
Not supported in favor of the mobs module.
Not supported since PGM already solves this with kits.
Command blocks are disabled in PGM.
Not useful in custom maps.
Not useful in custom maps.
Not useful in custom maps.
Not useful in custom maps.
Not useful in custom maps.