Minecraft gamerules: generator and converter
Since 1.21.11 every game rule has a different name, and almost everything you find online uses the old ones, which no longer do anything. Pick the rules you want and copy the commands, or paste your old commands (from a video, a datapack or server.properties) and get them back with today's names.
The most requested, in one click:
Players · 21
keep_inventoryYou keep your items and experience when you die.
Default: no. Before: keepInventory.players_sleeping_percentagePercentage of online players who have to sleep to skip the night. With 1, one is enough; above 100 the night is never skipped.
Default: 100. Before: playersSleepingPercentage.pvpPlayers can hurt each other.
Default: yes. Until 1.21.9, “pvp” in server.properties.immediate_respawnYou respawn straight away, without the death screen.
Default: no. Before: doImmediateRespawn.natural_health_regenerationHealth comes back on its own with a full hunger bar.
Default: yes. Before: naturalRegeneration.fall_damageFalling hurts.
Default: yes. Before: fallDamage.fire_damageFire and lava hurt.
Default: yes. Before: fireDamage.drowning_damageDrowning underwater hurts.
Default: yes. Before: drowningDamage.freeze_damageFreezing in powder snow hurts.
Default: yes. Before: freezeDamage.respawn_radiusRadius in blocks around the world spawn point where players without a bed respawn.
Default: 10. Before: spawnRadius.show_death_messagesThe chat says when someone dies.
Default: yes. Before: showDeathMessages.show_advancement_messagesThe chat says when someone gets an advancement.
Default: yes. Before: announceAdvancements.locator_barThe locator bar shows which way the other players are.
Default: yes. Before: locatorBar.ender_pearls_vanish_on_deathThrown ender pearls vanish if the player who threw them dies.
Default: yes. Before: enderPearlsVanishOnDeath.reduced_debug_infoThe F3 screen shows less (no coordinates).
Default: no. Before: reducedDebugInfo.spectators_generate_chunksA player in spectator mode generates new terrain when flying far away.
Default: yes. Before: spectatorsGenerateChunks.allow_entering_nether_using_portalsPortals take you to the Nether.
Default: yes. Before: allowEnteringNetherUsingPortals. Until 1.21.9, “allow-nether” in server.properties.players_nether_portal_default_delayTicks you have to stand in a Nether portal to go through (20 ticks = 1 second).
Default: 80. Before: playersNetherPortalDefaultDelay.players_nether_portal_creative_delayThe same, for players in creative.
Default: 0. Before: playersNetherPortalCreativeDelay.player_movement_checkThe server checks that nobody moves faster than possible (against cheats).
Default: yes. Before: disablePlayerMovementCheck (meant the opposite).elytra_movement_checkThe same check, when flying with elytra.
Default: yes. Before: disableElytraMovementCheck (meant the opposite).
World, time and fire · 9
advance_timeTime passes: day and night. With false, the sun stays where it is.
Default: yes. Before: doDaylightCycle.advance_weatherThe weather changes: rain and thunderstorms.
Default: yes. Before: doWeatherCycle.fire_spread_radius_around_playerHow many blocks from a player fire spreads. 0: it doesn't spread; -1: everywhere, even with nobody nearby.
Default: 128.random_tick_speedSpeed of crops, trees, ice and leaves. Raising it speeds everything up, but also what the server uses.
Default: 3. Before: randomTickSpeed.max_snow_accumulation_heightLayers of snow that pile up when it snows.
Default: 1. Before: snowAccumulationHeight.water_source_conversionTwo water sources next to each other make another one.
Default: yes. Before: waterSourceConversion.lava_source_conversionTwo lava sources next to each other make another one.
Default: no. Before: lavaSourceConversion.spread_vinesVines grow and spread on their own.
Default: yes. Before: doVinesSpread.global_sound_eventsSome sounds (the Wither spawning, the dragon dying) are heard across the whole world.
Default: yes. Before: globalSoundEvents.
Mobs · 12
spawn_mobsAnimals and monsters spawn on their own. With false, no new ones.
Default: yes. Before: doMobSpawning.spawn_monstersMonsters spawn (animals still do).
Default: yes. Before: spawnMonsters. Until 1.21.9, “spawn-monsters” in server.properties.spawn_phantomsPhantoms come for players who haven't slept for nights.
Default: yes. Before: doInsomnia.mob_griefingMobs change blocks: creepers that blow them up, endermen that carry them off… and villagers that harvest crops.
Default: yes. Before: mobGriefing.raidsVillages get raided.
Default: yes. Before: disableRaids (meant the opposite).spawn_patrolsPillager patrols spawn.
Default: yes. Before: doPatrolSpawning.spawn_wandering_tradersThe wandering trader shows up.
Default: yes. Before: doTraderSpawning.spawn_wardensSculk shriekers summon the Warden.
Default: yes. Before: doWardenSpawning.spawner_blocks_workMonster spawners work.
Default: yes. Before: spawnerBlocksEnabled.max_entity_crammingHow many mobs fit in one block before they take suffocation damage. 0: no limit.
Default: 24. Before: maxEntityCramming.universal_angerAn angry neutral mob (wolf, enderman…) attacks any player, not just the one who hit it.
Default: no. Before: universalAnger.forgive_dead_playersAngry neutral mobs calm down if the player who attacked them dies.
Default: yes. Before: forgiveDeadPlayers.
Blocks, items and explosions · 9
block_dropsBroken blocks drop their item.
Default: yes. Before: doTileDrops.mob_dropsMobs drop items and experience when they die.
Default: yes. Before: doMobLoot.entity_dropsMinecarts, paintings, item frames and armor stands drop their item when broken.
Default: yes. Before: doEntityDrops.tnt_explodesTNT explodes.
Default: yes. Before: tntExplodes.projectiles_can_break_blocksArrows and other projectiles break some fragile blocks, like decorated pots.
Default: yes. Before: projectilesCanBreakBlocks.block_explosion_drop_decayIn block explosions (beds in the Nether, respawn anchors), part of what breaks is lost.
Default: yes. Before: blockExplosionDropDecay.mob_explosion_drop_decayIn mob explosions (creepers), part of what breaks is lost.
Default: yes. Before: mobExplosionDropDecay.tnt_explosion_drop_decayIn TNT explosions, part of what breaks is lost.
Default: no. Before: tntExplosionDropDecay.limited_craftingYou can only craft what is already unlocked in the recipe book.
Default: no. Before: doLimitedCrafting.
Commands and server · 7
command_blocks_workCommand blocks work.
Default: yes. Before: commandBlocksEnabled. Until 1.21.9, “enable-command-block” in server.properties.send_command_feedbackThe chat answers players' commands.
Default: yes. Before: sendCommandFeedback.command_block_outputCommand blocks report in the operators' chat.
Default: yes. Before: commandBlockOutput.log_admin_commandsOperators' commands are shown to the other operators and go in the log.
Default: yes. Before: logAdminCommands.max_command_sequence_lengthMaximum commands in a chain of command blocks or in a function.
Default: 65536. Before: maxCommandChainLength.max_command_forksMaximum contexts a command can open (execute as @e…).
Default: 65536. Before: maxCommandForkCount.max_block_modificationsMaximum blocks a /fill or /clone changes.
Default: 32768. Before: commandModificationBlockLimit.
Pick a shortcut or change a rule and the commands show up here, one per line.
How to set them on your server
- Copy the commands above.
- Paste them one by one into the server console, without a slash. They also work in the game chat, with a slash in front, if you're an operator.
- To see how a rule is set, type its name without a value:
gamerule keep_inventory. - On Paper, rules belong to each world: from the console, on their own, they only change the main world. For the Nether or the End, put
execute in minecraft:the_nether run(orminecraft:the_end) in front.
Rules belong to each world: if you reset the world, they go back to the defaults. And since 1.21.9, pvp, allow-nether, spawn-monsters and enable-command-block are no longer read from server.properties: if you have them there, run them through the converter and type them in the console. What each rule does and which ones are best left alone, in the gamerules guide; the rest of the commands for running a server, in the one on admin commands.
Frequently asked questions
Why doesn't gamerule keepInventory true work?
Because since Minecraft 1.21.11 it's called keep_inventory. Mojang moved every rule to lower case with underscores and renamed many of them: doDaylightCycle is advance_time, doMobSpawning is spawn_mobs, doInsomnia is spawn_phantoms. Paste what you have into “Convert old commands” and you get it back with today's names.
Which gamerules now mean the opposite?
Three: disableRaids is now raids, disableElytraMovementCheck is elytra_movement_check and disablePlayerMovementCheck is player_movement_check. To turn raids off you no longer set true, but gamerule raids false. The converter changes the value too.
What happened to doFireTick?
doFireTick and allowFireTicksAwayFromPlayer were merged into fire_spread_radius_around_player, a number: how many blocks from a player fire spreads. 128 by default, 0 so it doesn't spread and -1 so it spreads everywhere.
Where do I type the commands?
In the server console, without a slash, or in the game chat with a slash if you're an operator. The change applies straight away, without restarting, and is saved with the world.
Does it work for my datapack?
Yes. Paste the contents of the function (.mcfunction): lines with gamerule, also inside an execute … run, are converted to the new names and everything else stays as it is.
What if my server runs an older version?
Before 1.21.11 the old names (keepInventory) still work. The tool shows each rule's old name, in case your modpack needs an older version.
An up-to-date server, with the rules you want
At NapNodes you don't even need to type them: in “Settings” → “Game rules” they're all listed with a plain description, and they change with the server running in the Overworld, the Nether and the End at once. Minecraft runs on Paper and the latest version, with its “Console” in the panel if you prefer commands. The RAM in your plan is yours alone and each machine's load is public on the status page. Try it with a free Minecraft server, no card needed and no end date.
More free tools
Is my Minecraft server online?
Type a Minecraft server address and see whether it responds, how many are playing, its version and its MOTD.
Is my Valheim server online?
Type a Valheim server's address and port and see whether it responds, how many are playing and its name.
Is my Project Zomboid server online?
Type a Project Zomboid server's address and port and see whether it responds, how many are playing and its name.
Is my port open?
Check from the internet whether your home server's port is open (Minecraft, Valheim, Zomboid) and whether your ISP uses CG-NAT.
Minecraft RAM calculator
How many GB your Minecraft server needs for its plugins or mods, the players online at once and the view distance.
How much RAM do I need? (every game)
Minecraft, Hytale, Project Zomboid, Valheim or a Discord bot: pick the game, players and mods, and see the plan that fits.
server.properties editor
Paste your server.properties, change each option with a plain-English explanation and download it. It flags the ones that no longer work.
Minecraft color codes
Minecraft's colours and styles in “&”, “§”, hex and MiniMessage, and a converter to move your text from one to another.
MOTD generator
The server list message with colours and styles, a live preview and the line ready for server.properties.
Hytale config.json editor and validator
Paste your Hytale server's config.json: it shows the line that breaks it if the server won't start, and edits each option without touching the seed.
Chunky pre-generation calculator
How much disk and time pre-generating your world with Chunky takes for a given radius, with the console commands ready.
Nether portal calculator
Convert Overworld coordinates to the Nether and back to link portals without duplicates. Paste your F3 line.
Minecraft stronghold finder
Throw two eyes of ender, paste what F3+C copies and get the coordinates of the stronghold and its End portal.
World border generator
Radius or side, centre, Nether and End, and a shrinking border for UHC: the /worldborder commands for your version.
Minecraft time calculator
How long a Minecraft day (and 100 days) lasts in real life, what time each tick is and the /time set for every hour, ready to copy.
Project Zomboid mod list
Paste Workshop links and Mod IDs and get WorkshopItems= and Mods= written correctly, with the Build 42 backslash.
Project Zomboid settings editor
Paste your .ini and SandboxVars.lua (or start from scratch), change their 400+ options with a search box, and download them.
Project Zomboid welcome message
Write what your players see when they join, with colours and lines, see it as in chat and copy the ServerWelcomeMessage line.
Project Zomboid day length and power shutoff calculator
How long an in-game day lasts in real time and how many hours of play are left until the power and water go off, at your server's pace.
Minecraft UUID lookup
Type a Minecraft Java username and get its UUID, the offline one and the lines for whitelist.json and ops.json.
Minecraft skin viewer
Type a Minecraft Java username to see their skin, download the PNG and copy /skin set and the /give for their head.
/give command generator
Items with enchantments, a coloured name and lore: the /give command written right for your Minecraft version.
Villager trade generator
A still villager that buys and sells whatever you say, at a fixed price and never running out: the /summon written right for your version.
Armor stand generator
Armor stands with a pose, arms, armour or a player's head, and floating text without plugins: the /summon for your version.
/particle command generator
Coloured dust, hearts or flames at spawn or above every player: the /particle command written right for your version.
Target selector generator
@a, @p, @e or @s with type, distance, name or tag: the selector written right, what it picks in plain English and a warning if it catches too much.
Firework generator
Rockets with shape, colours, trail and twinkle, with a drawing of the burst: the /give or /summon for your server's events.
/effect command generator
Effects with the level as the game shows it, forever or for minutes, without particles and for everyone: the /effect ready to copy.
Player head generator
The command for a player's head, a custom texture head or a mob head, written right for your Minecraft version.
/summon command generator
Mobs with a coloured name, more health, another size, gear or standing still: the /summon command written right for your version.
Minecraft enchantment order calculator
Your item and your enchanted books: the order to combine them in the anvil for the fewest levels, without hitting “Too Expensive!”.
Server name generator
Name ideas for your server by game and style, with your own word if you like, and what its address would look like.
Minecraft recipe generator
Custom crafting recipes for your Minecraft server without mods: put the ingredients on the table and download the datapack for your version.
/tellraw and /title generator
Messages with colours, bold and click actions in chat or across the screen: the /tellraw or /title command ready to copy.
/playsound generator
Pick from almost 2000 Minecraft sounds, choose who hears it and how, and copy the /playsound for your version (and the /stopsound).
Written book generator
A Minecraft book with colours and several pages (rules, welcome, clues) and its /give written for your version.
/bossbar generator
Your own boss bar at the top of the screen, with your text, its colours and as full as you say: the /bossbar commands ready to copy.
Which Java do I need?
Type your Minecraft version or paste the Java error and we'll tell you which Java your server or your game needs.
Why won't my server start?
Paste your Minecraft server's latest.log or crash report and see in plain English what failed and how to fix it.
Gradient text generator
Type some text, pick the colours and get the gradient in “&#”, MiniMessage or “&x” for chat, the MOTD or plugins.
LuckPerms commands generator
Choose your ranks (vip, moderator, admin), their prefix and permissions and get the LuckPerms commands in order, ready for the console.
Server icon maker
Upload an image (or type a few letters) and get the 64×64 server-icon.png Minecraft asks for, ready for Files.
Pixel art generator
Upload an image and get the plan in concrete, wool or terracotta blocks and how many you need, counted in stacks.
Slime chunk finder
Enter the seed and your coordinates and see the slime chunks nearest to you on a map of your Minecraft Java world.
Superflat generator
Pick layers, biome and structures (or one of the game's presets) and get the server.properties lines for a superflat world.
Minecraft circle and sphere generator
Block circles, ovals and spheres, layer by layer and row by row, with the blocks you need and the WorldEdit command.
Minecraft XP calculator
How many experience points from one level to another, what you lose when you die and the /xp command to give levels on your server.
Minecraft region file calculator
From coordinates or an area of your Minecraft world to the r.X.Z.mca file and its folders, to delete or regenerate just that piece.
Ping test
Measure from your connection the ping to the machines our servers run on, and whether you'll lag before setting one up.
SteamID64 finder
Paste a Steam link, a username or a STEAM_0 ID and get every form of the ID and the adminlist.txt line for Valheim.
Valheim world modifiers
Pick the difficulty, combat, portals or no build cost and copy the -preset, -modifier and -setkey for your Valheim dedicated server.
What does it cost in electricity?
What it costs in electricity to keep the server running on your PC at home, side by side with a plan and the free server.
start.bat generator
The start.bat or start.sh for your Minecraft server with the RAM set right and Aikar's flags, ready to download.
Discord bot permissions calculator
Tick your bot's permissions and get the number and the invite link; or paste a number and see which permissions it grants.
Discord intents calculator
Tick what your bot does or search the event you're not getting: the intents, the discord.js or discord.py code and what to enable in the portal.
Minecraft potion recipes
Pick a potion and see its ingredients in order, how long it lasts as drinkable, splash, lingering or tipped arrow, and its /give.
Minecraft beacon calculator
How many blocks and ingots the beacon pyramid needs, how far it reaches, which effects it gives and whether it reaches your base.
Discord timestamp generator
Pick a date, time and time zone and copy the <t:…> so everyone on Discord sees the time in their own zone, or a countdown.
Discord colored text generator
Write on Discord in red, green or yellow, with backgrounds, bold and underline: the ansi block ready to paste, and the line for your bot.
Discord embed generator
Build an embed with a title, colour, fields and images, see it as Discord shows it and copy the discord.js, discord.py or webhook JSON code.
/fill and /clone generator
Two corners and a block, and out comes the /fill or /clone. Over 32768 blocks, it splits it into commands that fit and do the same.
Server rules generator
Tick the rules for your Minecraft, Zomboid, Valheim, Hytale or Discord server and copy them ready to paste, with punishments.
Leather armor dye calculator
Pick dyes and see your leather armour's colour, or enter a colour and get the dyes and the exact /give command.
Minecraft banner generator
Design a Minecraft banner or shield layer by layer, see it as you go and get the /give command and the loom steps.
Minecraft stack calculator
Turn blocks into stacks, shulker boxes and chests, and back. From a build's dimensions too, solid or hollow.
Minecraft item IDs
Search any block or item by its in-game name and copy its ID or the /give. Every one from the latest version.
pack.mcmeta generator
The pack.mcmeta for your data pack or resource pack with each version's format number (1.14 to 26.3), plus a checker for yours.