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 on the server before you can change gamerules in game. If you are not OP yet, follow this guide first: How to OP or de-op a player on your Minecraft server.

 

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

For more gamerules, see the Minecraft Wiki list here: Minecraft game rule list.

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!