Better Commands
Better Commands
  • Home
  • Commands
    • /ability
    • /bc
    • /clear
    • /clearspawnpoint
    • /damage
    • /enchant
    • /execute
    • /forceenchant
    • /gamemode
    • /gamerule
    • /give
    • /kill
    • /me
    • /msg
    • /old
    • /playsound
    • /remove
    • /say
    • /scoreboard
    • /setblock
    • /spawnpoint
    • /summon
    • /team
    • /teammsg
    • /teleport
    • /time
    • /trigger
  • Target Selectors
  • Data types
  • Entity Aliases
  • Scoreboard
Powered by GitBook
On this page
  • Syntax
  • Arguments
  • History
Edit on GitHub
  1. Commands

/gamerule

Sets or queries a setting (aliases: /changesetting)

Syntax

gamerule <setting> [<value>]

Arguments

<setting> String

Specifies the setting to set or query.

<value>

Specifies the value to set the setting to. If not specified, queries the value of the setting instead of setting it.

History

Version
Action

v2.0

Added /gamerule

Previous/gamemodeNext/give

Last updated 1 year ago