Gamerules control Minecraft world behaviour, such as keeping inventory after death, fire spread, daylight cycle, and mob griefing. These commands are run from Console and are saved to the world.

Run Gamerule Commands

  1. Start the server, then open Console in the control panel.
  2. Use this format:
    gamerule ruleName value
  3. To keep player inventories after death, run:
    gamerule keepInventory true
  4. To stop fire from spreading, run:
    gamerule doFireTick false

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

Minecraft gamerule commands shown in the Ptero console

  • 0 کاربر این را مفید یافتند
آیا این پاسخ به شما کمک کرد؟

مقالات مربوطه

Colour Codes for Minecraft Multiplayer and Vanilla

This article lists all of the codes you can use with many plugins in Minecraft using Spigot or...

What is the difference between Fabric, Quilt and Forge in Minecraft Modding

Exploring the Distinctions Between Fabric and Forge When diving into the exciting world of...

What is a Grindstone and how is it used?

In this guide, we will teach you what the Grindstone in Minecraft does, and how to use it...

How to Convert Java and Bedrock Edition Worlds

In this guide, we’ll be teaching you how to convert your world from a Java Edition world to a...

Minecraft's New Version Numbers

Minecraft has changed how its version numbers work from 2026 onwards. Instead of carrying on with...