DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PC×
Skip to content
World desk8 min

Best Minecraft Gamerules to Change on Your Server

A practical guide to the most useful Minecraft server gamerules, version-specific command names, safe testing, troubleshooting and rollback.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The most useful server gamerules are keepInventory (or the newer Java name keep_inventory) to preserve items after death, mobGriefing (or mob_griefing) to stop mobs changing blocks, and commandBlockOutput to control command-block messages in the console. Choose the rule that solves a specific problem, check the exact spelling your version accepts, then verify the result in-game.

Java rule names have changed across recent releases, while Bedrock uses its own naming. The safest method is to type /gamerule and press TAB on the running server; the suggestions show the names available on that build.

As an Amazon Associate I earn from qualifying purchases.

If you need a Minecraft server on which to apply these rules, Godlike.Host offers Java hosting with a Pterodactyl-based game panel, a config editor, and up to three free backups a day with restore.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

What Minecraft gamerules do

Gamerules are world-level settings changed with the /gamerule command. They alter how the server handles particular mechanics without installing a plugin or editing world files. A rule normally takes a Boolean value, true or false, although the accepted value depends on the rule.

#1 Best Overall
Sale
TOZO A1 Wireless Earbuds Bluetooth 5.3 Light Weight in Ear Headphones
  • [Ultra-Lightweight Ear Buds Designed for Small Ears] Each earbud weighs only 3.7g and features a compact, ergonomic in-ear design made especially for small ears. Secure, low-profile, and comfortable for workouts, all-day wear or overnight sleeping.The ultra-slim profile sits flush in your ear with no hard edges poking or rubbing, so you can even sleep on your side without discomfort.
  • [Immersive Stereo Sound with TOZO OrigX Technology] TOZO OrigX tuning delivers clear vocals, balanced mids, and natural stereo sound for music, podcasts, and videos.
  • [Long Battery Life for Daily Use] Get up to 7 hours of playtime on a single charge, with up to 32 hours total using the charging case—ideal for workdays, commuting, and extended listening sessions.
  • [Bluetooth 5.3 & Stable Connection] Bluetooth 5.3 provides fast pairing, stable wireless performance, and reduced dropouts as you move around home or office.
  • [Deep Bass with Clear Vocals] High-performance drivers produce punchy bass while keeping vocals clean and detailed for everyday listening.

The general syntax is:

/gamerule <rule name> [value]

Omit the value to display the current setting:

/gamerule <rule name>

On a multiplayer server, the sender must be an operator with permission to run the command. In a single-player world, cheats must be enabled. Java command arguments are case-sensitive, so a visually similar name can still fail.

Quick picks for common server problems

These are practical choices rather than a measured ranking. The best rule depends on whether your server prioritizes convenience, building protection, or a quiet administration console.

Rule What changing it accomplishes Newer Java spelling reported in current guides Older Java spelling Bedrock spelling noted in the available documentation
keepInventory Keeps a player’s items after death when enabled. keep_inventory keepInventory keepinventory
mobGriefing Prevents creepers, ghasts and similar mobs from changing blocks when disabled. mob_griefing mobGriefing Check the suggestions on the Bedrock world; the exact cross-edition spelling is not established here.
commandBlockOutput Controls whether command-block output is sent to the console. Use the name accepted by your server’s suggestions. commandBlockOutput Check the suggestions on the running Bedrock world.
doMobSpawning Often proposed for controlling mob spawning, but its behavior was not confirmed in the available material. Verify before relying on it. Verify before relying on it. Verify before relying on it.

Recent Java naming is the major compatibility issue. Community references disagree about exactly when the camelCase names changed to snake_case, with reports mentioning snapshots before Java 1.21.11, the Java 26 update, and Java 26.2. No primary Mojang changelog settled that boundary in the available documentation. Treat the command shown by TAB as authoritative for your server.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Check the rule names before changing anything

  1. Join the world or connect to the server with operator privileges.
  2. Open chat or the server console and enter /gamerule.
  3. Press TAB after the command to list the rules exposed by that build.
  4. Copy the spelling and capitalization from the suggestion instead of relying on a guide written for another release.
  5. Run the rule without a value to record its current state, for example /gamerule keep_inventory.
  6. Change one rule, test the relevant behavior, and record the command used so you can reverse it later.

If the server rejects a name, do not repeatedly guess variants. Try the alternative documented form—camelCase, snake_case, or Bedrock’s lowercase form—and use the server’s completion list to confirm which one exists.

Rank #2
Sale
Smart Watch for Men Women Compatible with iPhone Samsung Android Phone 1.69 inch Full Touch Screen IP68 Waterproof Bluetooh Fitness Tracker Heart Rate/Sleep Monitor (Black)
  • 【IP68 Waterproof Multifunctinal Smart Watch】Torjalph fitness activity tracker smart watch is IP68 waterproof technology ,you can wear it when swimming,handwashing,it's rain-proof which means that you perform multiple exercise modes outside without worrying about sweat or rain corroding your fitness smart watch,and this watch equipped with a 230 mAh large capacity battery magnetic charging ,and this sports activity tracker watch can be used 5-7 days If fully charged.
  • 【Larger 1.83'' Full Screen Watch & Multi-dial Selection】1.83 inch full HD color touch screen smart watch for men / women provides excellent 240*284 resolution image quality ,This Bluetooth smart watch offers a better touch experience and remarkable immersion and ,more than 200 watch faces for you to choose from App"Da Fit ", you can change the dial style according to your mood to wear keeping the world on your wrist
  • 【Accurate Activity Tracker Smart Watch 】sports watch activity tracker uses sweat and dust resistant breathable silicone strap, our Fitness Tracker Smart Watch for Android iOS Phones supports 12 sports modes,walking,running,bicycle,swimming,badminton,basketball,football,rope skipping. This bluetooth calls smart watch for men women is lightweight and stylish, bringing more convenient and relaxing sports experience while also providing more protection.
  • 【Your 24 Hour Personal Daily Health Monitor】Fitness watch for women men full touch screen IP67 waterproof bluetooth smartwatch for Android iOS Phones with heart rate blood pressure monitor multifunction Andriod smart watch with steps counter sleep monitor sports fitness watch, monitoring blood oxygen saturation allows you to understand your physical condition in real time to track fitness progress ,to know your health status in time.
  • 【More Functions Bluetooth Call Smart Watch】This fitness activity smart watch full screen for iPhone and Android phones includes a bunch of new features including:The bluetooth smart watch can hang up the phone, receive and display WhatsAPP /Text /Facebook /Twitter /Messenger reminder.Support sedentary reminder, alarm clock, stopwatch, timer,weather information,music control, remote camera control compatible with Android 5.0 and above or iOS 9.0 and above smartphones.

Keep players’ items after death

When to enable it

Enable the keep-inventory rule when losing a full inventory would create more frustration than challenge. It is common on cooperative, building-focused, or family servers where the main goal is construction and exploration rather than recovering dropped items. Leaving it disabled preserves the standard risk of death and makes retrieval part of survival play.

Commands by edition and naming generation

For newer Java versions that expose the snake_case name, use:

/gamerule keep_inventory true

Older Java material uses camelCase:

/gamerule keepInventory true

Bedrock documentation reports a lowercase, unseparated name:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
/gamerule keepinventory true

To restore normal item drops, replace true with false. Query the same rule without a value to confirm the state.

Rank #3
New Bee Guitar Cable 10ft Electric Instrument Bass AMP Cord
  • [Low Noise High Fidelity] New bee guitar cord with 22AWG oxygen-free-copper center conductors provides enhanced signal transfer, the PVC insulation material and the high-density stranded copper double shield provide noise rejection for quiet operation
  • [Ideal for Choice] New bee 1/4 straight and right angle metal connectors, ensures a secure connection in any instrument, pedal, or amp jack. L shape great fro on stage guitar stands
  • [Wide Compatible] Suitable for mixer, power amplifier, microphone, effector, decoder, equalizer, electoronic organ, electric guitar, electric bass and other electronic equipments. Widely used in the installation of smart home, karaoke speaker, professional stage audio, etc
  • [Easy Disassemble] Making incidental repairs quick and easy! Very nice, flexible cable
  • [Dont Hesite to Order] 24 hours customer services and professional technology team are standing by

Why “keep inventory” may appear not to work

  • Wrong spelling for the release: A Java server may expose keep_inventory while an older tutorial tells you to use keepInventory, or vice versa.
  • Wrong edition: Bedrock’s keepinventory form is not interchangeable with every Java form.
  • Command permissions: An ordinary player cannot change a world gamerule without the required operator permission.
  • State was never verified: Run the rule without a value after changing it; a command that was entered in another world or server does not affect the current one.
  • Testing the wrong death: Test in the same world and edition where the command was applied, and check that the inventory is present after the death-and-respawn sequence.

Stop creepers and other mobs from changing blocks

What mob griefing controls

Disabling the mob-griefing rule stops creepers, ghasts, and similar mobs from changing blocks. This protects a base from explosive damage and prevents related environmental changes, while leaving the mobs themselves present unless another setting changes their spawning or behavior.

Commands

On newer Java builds that use snake_case:

/gamerule mob_griefing false

Older Java references use:

/gamerule mobGriefing false

Use true to restore normal mob block interaction. Query the rule after changing it:

/gamerule mob_griefing

Replace that name with the camelCase form if that is what your server’s completion list provides.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Trade-offs to explain to players

  • Explosions from the covered mobs no longer alter the protected terrain, so accidental base damage is reduced.
  • The rule is world-wide; it is not a per-player or per-claim protection system.
  • Because the setting addresses block-changing behavior, it should not be presented as a general “remove hostile mobs” switch.
  • Announce the change if players rely on mob-created terrain changes as part of a farm or adventure map.

Reduce command-block messages in the console

commandBlockOutput controls whether output from command blocks is sent to the console. Administrators commonly turn it off when a command-heavy map or automation system produces messages that obscure useful server warnings.

Rank #4
BSIMB 15.6" Digital Family Calendar & Chore Chart, No Subscription Fees
  • Digital Family Calendar: BSIMB digital calendar wall touch screen puts an end to your chaotic life. Designed for busy families, the digital calendar keeps you organised and in step with your family. Assign different colours and tasks to each family member to make family scheduling easier and more intuitive.
  • Easy Setup and Auto-Sync: Plug in, connect to WLAN and auto-syn your electric calendar in minutes. Digital wall calendar compatible with Google calendar, iCloud calendar, Outlook calendar, Cozi calendar and Yahoo calendar. Add events directly on the device or through the ecalendar app. Electronic calendar stays current whether you're at work or traveling—no manual updates needed.
  • All-In-One Home Assistant: Smart calendar builds habits and encourage independence with personalised chores. Display daily meal plan to reduce the daily ‘What's for dinner?’ stress. To-do lists keep track of everything you want. Turning chores into valuable achievements with stars and rewards, making life easier and more enjoyable.
  • Manage Anytime Anywhere: BSIMB electronic calendar for family stay connected with the powerful ecalendar app. Access and manage your digital wall calendar anytime, anywhere with free features like stars & rewards, photo screensaver, chore charts, meals plans, to-do lists etc. Electronic planner paid features like Magic Import tailor advanced tools for users with special needs.
  • Stay in Touch with Loved Ones: Share photos or videos from your phone to electronic wall calendar with app, instantly update your life moment, and keep in touch with your family, especially those who are far away; you can also surprise your smart calendar digital wall by sending him a wish card; it's also great for keeping tech-illiterate elders in touch with the youngsters.

The command documented in older Java material is:

/gamerule commandBlockOutput false

Use true to restore command-block output. The available material reports true as the default in older references, but it does not establish a universal default for every current Java or Bedrock release. Check the value on your server instead of assuming it.

Use it as an administration setting, not a debugging shortcut

Silencing output can make a busy console easier to read, but it also removes a stream of diagnostic information. Leave output enabled while building or troubleshooting command systems, test the commands, and disable it only after you know the system works. If a map later misbehaves, temporarily re-enable output before investigating.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Why doMobSpawning needs caution

doMobSpawning is frequently listed as a way to stop hostile mob spawns. The available documentation identified it as a common candidate but did not confirm its behavior from a source read for this article. Do not promise players that changing it will produce a particular spawning result.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

If you are considering it, first use the server’s completion list to confirm the rule exists, query its current value, and test in a copy or controlled area. Record the original value so you can restore it. A tested result on one edition or release should not be treated as proof for another, because gamerule names and behavior can vary between Java and Bedrock and across versions.

Choose a combination that fits your server

Server goal Suggested starting point What to verify before announcing the change
Relaxed cooperative survival Enable the keep-inventory rule. Confirm the exact Java or Bedrock name and test a death in the live world.
Protected community build area Disable the mob-griefing rule. Test a creeper or ghast interaction and explain that the setting is world-wide.
Command-heavy adventure map Keep command-block output enabled during development; disable it after testing if console noise is a problem. Re-enable output when debugging later.
Mob-free experiment Investigate the spawning rule only after confirming its version-specific behavior. Test in a controlled copy; do not assume an unverified rule has the desired effect.
Vanilla survival challenge Leave convenience rules unchanged unless a specific problem justifies a change. Record the existing values before making exceptions.

A safe change-and-rollback procedure

  1. Identify the problem. Write down whether you are addressing item loss, block damage, console noise, or spawning. This prevents changing unrelated mechanics.
  2. Back up or duplicate the world. A gamerule is easy to change, but a mistaken setting can affect subsequent gameplay and map progression.
  3. Inspect the current value. Run /gamerule <rule name> with no value and save the response.
  4. Apply one change. Use the exact spelling suggested by TAB, followed by true or false.
  5. Test the outcome. Use a controlled test: die with nonessential items for keep inventory, observe a mob interaction for mob griefing, or watch the console while a command block runs.
  6. Tell players what changed. State the rule, its new value, and whether it affects the entire world.
  7. Roll back when needed. Run the same command with the recorded opposite value. If the name no longer works after an upgrade, inspect the suggestions again because the version may use a different spelling.

Troubleshooting gamerule commands

“Unknown or invalid gamerule”

Check the edition and release first. Java arguments are case-sensitive, and recent Java references use snake_case names while older references use camelCase. Type /gamerule, press TAB, and select the exact suggestion. On Bedrock, use the lowercase form reported for that edition where applicable.

The command runs but nothing changes

  • Query the rule without a value to confirm that the intended state was stored.
  • Make sure you changed the correct world, dimension, or server instance.
  • Test the mechanic that the rule actually controls. Mob griefing, for example, concerns mobs changing blocks; it is not a general mob-removal command.
  • Check that another administrator, datapack, command block, or startup routine is not changing the value again.

Players report different results

Gamerules are generally world settings, so verify that every player is connected to the same world and server process. Edition and version differences matter: a command copied from a Java guide may not be valid on Bedrock, and a name accepted before a Java update may have a snake_case replacement afterward.

Version naming: the practical rule

There is no settled version boundary in the available primary documentation for the Java rename from camelCase to snake_case. Reports place the transition around late-2025 snapshots, Java 1.21.11, the Java 26 update, or Java 26.2. Because those reports conflict, do not hard-code one cutoff into your server instructions.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

For a current server guide, show both forms where the rule is known to have both spellings, label them by naming generation, and tell readers to use the live server’s TAB suggestions. This approach remains useful across minor updates without claiming that an older alias still resolves on every new build.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.