Minecraft

Gamerules in Minecraft

Minecraft·March 22, 2026·9 min read

Gamerules control various aspects of gameplay and provide a lot of customization for server owners.

Gamerule Commands

- How to Set the Value:

- `/gamerule <rule name> <value>`

- How to Get the Current Value:

- `/gamerule <rule name>`

A rule name is the name of the specific gamerule you want to set or view. A list of these is shown below.

The value is the value you want to assign to a specific rule. In most cases, this is a boolean true or false value, but sometimes it can be a number.

Each command must be entered in the Admin/OP chat in-game or in the server console.

For Bedrock servers, when entering the command in the server console, the "/" must be omitted; otherwise, the following error will occur: "Unknown command: /.

Please check that the command exists and that you have permission to use it."

The following example uses the fallDamage gamerule in the Holy server console for Java:

Example of Getting and Setting a Gamerule in the Holy Server Console

![Example of Getting and Setting a Gamerule in the Holy Server Console](gamerule_example_image.png)

Gamerule List

gamerule

gamerule

gamerule

gamerule

gamerule

gamerule

gamerule

Still have questions?

Come chat with us and we will get back to you as soon as possible!

Contact Support