Skip to content
This repository has been archived by the owner on Sep 15, 2022. It is now read-only.
Drex edited this page Oct 31, 2021 · 1 revision

Here you can find a list of all custom game rules.

Gamerules

enableRcon

Enables / disables the rcon

  • Type boolean
  • Default false

rconPort

Sets the port on which rcon is running

  • Type integer
  • Default 25575
  • Allowed 1 - 65534
  • Additional notes:
    • Changing the port while rcon is enabled will restart it

rconPassword

Sets the password that rcon is using for authorization

  • Type String
  • Default ""
  • Additional notes:
    • Changing the password while rcon is enabled will restart it

enableQuery

Enables / disables the query

  • Type boolean
  • Default false

queryPort

Sets the port on which the query thread is running

  • Type integer
  • Default 25565
  • Allowed 1 - 65534
  • Additional notes:
    • Changing the port while query is enabled will restart it

enableStatus

Enables / disables the status

  • Type boolean
  • Default true
  • Additional notes:
    • If this setting is disabled, your server will appear offline on the server list

spawnNpcs

Determines whether villagers can spawn

  • Type boolean
  • Default true
  • Additional notes:
    • This will also get rid of any existing villagers

spawnAnimals

Determines if animals can spawn

  • Type boolean
  • Default true
  • Additional notes:
    • This will also get rid of any existing animals

spawnMonsters

Determines if monsters can spawn

  • Type boolean
  • Default true
  • Additional notes:
    • This will also get rid of any existing monsters

resourcePack

Optional URI to a server resource pack

  • Type String
  • Default ""

resourcePackSha1

Optional SHA-1 digest of the resource pack, in lowercase hexadecimal

  • Type String
  • Default ""
  • Additional notes:
    • It is recommended to specify this because it is used to verify the integrity of the resource pack

requireResourcePack

When this option is enabled, players will be prompted for a response and will be disconnected if they decline the required pack.

  • Type boolean
  • Default false

resourcePackPrompt

An optional custom message, that is shown on the resource prompt

  • Type String
  • Default ""
  • Additional notes:
    • Expects chat component syntax, can contain multiple lines

rateLimit

Sets the maximum amount of packets a user can send before getting kicked. Setting to 0 disables this feature.

  • Type integer
  • Default 0

allowFlight

If disabled will attempt to detect fly hackers and kick them

  • Type boolean
  • Default false

preventProxyConnections

If the ISP/AS sent from the server is different from the one from Mojang Studios' authentication server, the player is kicked

  • Type boolean
  • Default false

networkCompressionThreshold

A lower number means more compression but compressing small amounts of bytes might actually end up with a larger result than what went in

  • Type integer
  • Default 256
  • Allowed -1 or higher
  • Additional notes:
    • -1 completely disables compression
    • 0 compresses everything

opPermissionLevel

Sets the default permission level for ops when using /op

  • Type integer
  • Default 4
  • Allowed 0 - 4

functionPermissionLevel

Sets the default permission level for functions

  • Type integer
  • Default 2
  • Allowed 1 - 4

enableCommandBlock

Enables command blocks

  • Type boolean
  • Default false

broadcastConsoleToOps

Send console command outputs to all online operators

  • Type boolean
  • Default true

maxPlayers

The maximum number of players that can play on the server at the same time

  • Type integer
  • Default 20

forceGamemode

Forces the game mode defined in server.properties to be applied to joining players

  • Type boolean
  • Default false

entityBroadcastRangePercentage

Controls how close entities need to be before being sent to clients

  • Type integer
  • Default 100
  • Allowed 10 - 1000

allowNether

Allows players to use nether portals

  • Type boolean
  • Default true

spawnProtection

Determines the side length of the square spawn protection area as 2x+1

  • Type integer
  • Default 16

broadcastRconToOps

Send rcon console command outputs to all online operators

  • Type boolean
  • Default true

pvp

Enable PvP on the server

  • Type boolean
  • Default true

motd

The MOTD is displayed in the server list

  • Type String
  • Default "A Minecraft Server"

viewDistance

Sets the amount of world data the server sends the client, measured in chunks in each direction of the player

  • Type integer
  • Default 10

creeperGriefing

If disabled creeper explosions won't do any block damage

  • Type boolean
  • Default true