gamerule

사용법

gamerule <규칙> [값]

게임의 규칙을 정하는 명령어입니다. 처음 세계를 생성하고 맵의 규칙을 정하면 플레이어들이 그 규칙에 맞춰서 플레이를 하게 됩니다.

<규칙>의 종류
Name Description Default Value
commandBlockOutput Copy
Whether command blocks should notify admins when they perform commands. true
disableElytraMovementCheck Copy
Whether the server should skip checking player speed when the player is wearing elytra. false
doDaylightCycle Copy
Whether the day-night cycle and moon phases progress. true
doEntityDrops Copy
Whether entities that are not mobs should have drops. true
doFireTick Copy
Whether fire should spread and naturally extinguish. true
doMobLoot Copy
Whether mobs should drop items. true
doMobSpawning Copy
Whether mobs should naturally spawn. true
doTileDrops Copy
Whether blocks should have drops. true
doWeatherCycle Copy
Whether the weather will change. true
keepInventory Copy
Whether the player should keep items in their inventory after death. false
logAdminCommands Copy
Whether to log admin commands to server log. true
maxEnttyCramming Copy
The maximum number of other pushable entities a mob or player can push, before taking 3 suffocation damage per half-second. Setting to 0 disables the rule. Damage affects survival-mode or adventure-mode players, and all mobs but bats. Pushable entities include non-spectator-mode players, any mob except bats, as well as boats and minecarts. 65536
mobGriefing Copy
Whether creepers, zombies, endermen, ghasts, withers, ender dragons, rabbits, sheep, and villagers should be able to change blocks and whether villagers, zombies, skeletons, and zombie pigmen can pick up items. true
naturalRegenaration Copy
Whether the player can regenerate health naturally if their hunger is full enough (doesn't affect external healing, such as golden apples, the Regeneration effect, etc.) true
randomTickSpeed Copy
How often a random block tick occurs (such as plant growth, leaf decay, etc.) per chunk section per game tick. 0 will disable random ticks, higher numbers will increase random ticks. 3 (JE), 1 (BE)
reducedDebugInfo Copy
Whether the debug screen shows all or reduced information; and whether the effects of F3+B and F3+G are shown. false
sendCommandFeedback Copy
Whether the feedback from commands executed by a player should show up in chat. Also affects the default behavior of whether command blocks store their output text. true
showDeathMessage Copy
Whether a message appears in chat when a player dies. true
spawnRadius Copy
The number of blocks outward from the world spawn coordinates that a player will spawn in when first joining a server or when dying without a spawnpoint. 10 (JE), 5 (BE)
spectatorsGenerateChunks Copy
Whether players in spectator mode can generate chunks. true