How to use gamerules on your Minecraft server

Print
  • 0

Gamerules control Minecraft world behaviour, such as keeping inventory after death, fire spread, daylight cycle, and mob griefing.

You need to be OP before you can change gamerules in game. Follow our OP guide if you still need to give yourself access.

 

Run Gamerule Commands In Game

  1. Join your Minecraft server in game.
  2. Open chat with T.
  3. Use this format:
    /gamerule ruleName value
  4. To keep player inventories after death, run:
    /gamerule keepInventory true
  5. To stop fire from spreading, run:
    /gamerule doFireTick false

The Minecraft Wiki lists the available gamerules.

If you change to a different world later, set the gamerules again for that world.


Was this answer helpful?

Related Articles

« Back

Follow us on Social Media

Stay in the loop! Follow our social media accounts and stay up-to-date with the latest news, announcements, tips & tricks and behind-the-scenes insights!