{"id":126664,"date":"2025-04-03T11:49:06","date_gmt":"2025-04-03T11:49:06","guid":{"rendered":"\/tutorials\/?p=126664"},"modified":"2026-03-09T19:16:41","modified_gmt":"2026-03-09T19:16:41","slug":"minecraft-gamerules","status":"publish","type":"post","link":"\/ng\/tutorials\/minecraft-gamerules","title":{"rendered":"How to use and customize Minecraft game rules"},"content":{"rendered":"<?xml encoding=\"utf-8\" ?><p>Minecraft server management isn&rsquo;t just about keeping things online &ndash; it&rsquo;s about shaping the right experience for you and your players. Whether you&rsquo;re playing in a small survival world or managing a large server, there are times when Minecraft&rsquo;s default game settings don&rsquo;t quite fit. That&rsquo;s where <strong>game rules<\/strong> come in.<\/p><p>Game rules let you adjust how certain parts of the game work. They don&rsquo;t change the core gameplay &ndash; they only fine-tune your experience, making things fairer, more balanced, or just better suited to your goals.<\/p><p>In this article, we&rsquo;ll explain what game rules are, how they work, and how to change them in your Minecraft world. We&rsquo;ll also highlight the most useful settings for different types of gameplay.<\/p><p>\n\n\n\n<\/p><h2 class=\"wp-block-heading\" id=\"h-what-are-minecraft-game-rules\"><strong>What are Minecraft game rules?<\/strong><\/h2><p>Game rules are built-in settings that let you alter how certain game mechanics work. They&rsquo;re a native part of Minecraft&rsquo;s gameplay customization &ndash; no mods, plugins, or external tools required.<\/p><p>Whether you&rsquo;re playing solo, hosting a co-op world, or <a href=\"\/ng\/tutorials\/how-to-setup-minecraft-server\">running a full-on dedicated Minecraft server<\/a>, game rules can always be tweaked, and will work the same way across all setups. While they don&rsquo;t add new content, they let you adjust things like mob behavior, environmental effects, and core survival rules.<\/p><p>You can also use game rules to turn off fire spread, stop the weather from changing, allow players to keep their inventory after death, and much more. They help create smoother, more consistent gameplay, especially on servers where specific styles of play matter.<\/p><h2 class=\"wp-block-heading\" id=\"h-how-to-use-game-rules-in-minecraft\"><strong>How to use game rules in Minecraft<\/strong><\/h2><p><strong>Game rules<\/strong> are <strong>world settings<\/strong> that are stored in your <strong>world data file<\/strong>, <strong>level.dat<\/strong>. When you change a game rule, it gets recorded in your world data, where it will stick as long as your world is saved.<\/p><p>There are <strong>three main ways<\/strong> to modify game rules:<\/p><ol class=\"wp-block-list\">\n<li>During world creation<\/li>\n\n\n\n<li>With in-game commands<\/li>\n\n\n\n<li>Through the server console<\/li>\n<\/ol><p><div><p class=\"important\"><strong>Important!<\/strong> While you can directly edit game rules in your Minecraft world data, we don&rsquo;t recommend it, as a mistake can corrupt your world file.<\/p><\/div>\n\n\n\n<\/p><h3 class=\"wp-block-heading\" id=\"h-world-creation\"><strong>World creation<\/strong><\/h3><p>Setting game rules during world creation is a simple and straightforward way to enhance your single-player experience. To enable these settings:<\/p><p><strong>Minecraft Java<\/strong><\/p><ol class=\"wp-block-list\">\n<li>Open Minecraft.<\/li>\n\n\n\n<li>Click <strong>Singleplayer <\/strong>&rarr; <strong>Create New World<\/strong>.<\/li>\n\n\n\n<li>Click <strong>More <\/strong>and <strong>Game Rules<\/strong>.<\/li>\n<\/ol><div class=\"wp-block-image\"><figure data-wp-context='{\"imageId\":\"69e1ab5b8ded7\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1460\" height=\"432\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/java-gamerules-world-creation.png\/public\" alt=\"Image displaying where Game Rules are located in Minecraft Java world creation.\" class=\"wp-image-126667\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/java-gamerules-world-creation.png\/w=1460,fit=scale-down 1460w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/java-gamerules-world-creation.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/java-gamerules-world-creation.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/java-gamerules-world-creation.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/java-gamerules-world-creation.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1460px) 100vw, 1460px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><ol start=\"4\" class=\"wp-block-list\">\n<li>Modify the rules as you see fit.<\/li>\n<\/ol><p><div class=\"protip\">\n                    <h4 class=\"title\">Pro tip<\/h4>\n                    <p> When hovering over a rule, both the game rule name and default value are shown as pop-ups, while some game rules offer further explanations.<\/p>\n                <\/div><\/p><p><strong>Minecraft Bedrock<\/strong><\/p><ol class=\"wp-block-list\">\n<li>Open Minecraft.<\/li>\n\n\n\n<li>Click <strong>Play <\/strong>&rarr; <strong>Create new world &rarr; Create new world<\/strong>.<\/li>\n\n\n\n<li>In the new world settings, select <strong>Cheats<\/strong>.<\/li>\n<\/ol><div class=\"wp-block-image\"><figure data-wp-context='{\"imageId\":\"69e1ab5b904aa\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1460\" height=\"614\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/bedrock-gamerules-world-creation.png\/public\" alt=\"Image highlighting the Cheats section in Minecraft Bedrock world creation, where some of the game rules are stored.\" class=\"wp-image-126668\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/bedrock-gamerules-world-creation.png\/w=1460,fit=scale-down 1460w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/bedrock-gamerules-world-creation.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/bedrock-gamerules-world-creation.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/bedrock-gamerules-world-creation.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/bedrock-gamerules-world-creation.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1460px) 100vw, 1460px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><ol start=\"4\" class=\"wp-block-list\">\n<li>Make sure <strong>Cheats <\/strong>are <strong>enabled<\/strong>:<br><\/li>\n<\/ol><div class=\"wp-block-image\"><figure data-wp-context='{\"imageId\":\"69e1ab5b92b9f\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1460\" height=\"113\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/bedrock-cheats-enabled.png\/public\" alt=\"Image displaying the Cheats option in Minecraft Bedrock and how it looks like when enabled.\" class=\"wp-image-126669\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/bedrock-cheats-enabled.png\/w=1460,fit=scale-down 1460w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/bedrock-cheats-enabled.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/bedrock-cheats-enabled.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/bedrock-cheats-enabled.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/bedrock-cheats-enabled.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1460px) 100vw, 1460px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><ol start=\"5\" class=\"wp-block-list\">\n<li>Modify your Minecraft game settings as desired.<\/li>\n<\/ol><h3 class=\"wp-block-heading\" id=\"h-in-game-commands\"><strong>In-game commands<\/strong><\/h3><p>Using in-game commands is the easiest way to modify a Minecraft game rule for an existing world. The command syntax in doing so is:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">\/gamerule &lt;RuleName&gt; &lt;Value&gt;<\/pre><p><strong>RuleName <\/strong>is the name of the rule as stored in your world data, while <strong>Value <\/strong>is a <strong>true\/false<\/strong> setting or an <strong>integer<\/strong>, depending on what the rule requires.<\/p><p>For example, if we want players to keep inventory after death, we could run:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">\/gamerule keepInventory true<\/pre><p>To enable these commands, you need:<\/p><ul class=\"wp-block-list\">\n<li>Commands enabled, if in Java<\/li>\n\n\n\n<li>Cheats enabled, if in Bedrock<\/li>\n\n\n\n<li>OP permissions, if on a Multiplayer server<\/li>\n<\/ul><p>While the user interfaces in Java and Bedrock may offer a limited list of game rules to be adjusted, you can still modify every single one that is available in that version by running commands.<\/p><p><div class=\"protip\">\n                    <h4 class=\"title\">Pro tip<\/h4>\n                    <p> If you did not enable commands when creating your world in Java, you can work around this by pressing <strong>Esc &rarr; Open to LAN<\/strong> and toggling <strong>Allow Commands<\/strong>.<\/p>\n                <\/div>\n\n\n\n<\/p><p>In Java, simply run your command in the chat window. Here&rsquo;s how it looks:<\/p><div class=\"wp-block-image\"><figure data-wp-context='{\"imageId\":\"69e1ab5b9536d\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1460\" height=\"277\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/gamerule-true-ingame-java.png\/public\" alt=\"Display of how the gamerule command looks like in-game with a text confirmation of a successful command in Minecraft Java.\" class=\"wp-image-126670\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/gamerule-true-ingame-java.png\/w=1460,fit=scale-down 1460w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/gamerule-true-ingame-java.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/gamerule-true-ingame-java.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/gamerule-true-ingame-java.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/gamerule-true-ingame-java.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1460px) 100vw, 1460px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><p>In Bedrock, you would do the same thing:<\/p><div class=\"wp-block-image\"><figure data-wp-context='{\"imageId\":\"69e1ab5b97b3a\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1460\" height=\"357\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/gamerule-true-ingame-bedrock-chat.png\/public\" alt=\"Display of how the gamerule command looks like in-game in the Minecraft Bedrock chat interface.\" class=\"wp-image-126671\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/gamerule-true-ingame-bedrock-chat.png\/w=1460,fit=scale-down 1460w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/gamerule-true-ingame-bedrock-chat.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/gamerule-true-ingame-bedrock-chat.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/gamerule-true-ingame-bedrock-chat.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/gamerule-true-ingame-bedrock-chat.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1460px) 100vw, 1460px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><p>Then you would get confirmation:<\/p><div class=\"wp-block-image\"><figure data-wp-context='{\"imageId\":\"69e1ab5b9a0b2\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1460\" height=\"155\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/gamerule-true-ingame-bedrock-confirmation.png\/public\" alt=\"Display of the chatbox confirmation of a successfully adjusted game rule in Minecraft Bedrock.\" class=\"wp-image-126672\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/gamerule-true-ingame-bedrock-confirmation.png\/w=1460,fit=scale-down 1460w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/gamerule-true-ingame-bedrock-confirmation.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/gamerule-true-ingame-bedrock-confirmation.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/gamerule-true-ingame-bedrock-confirmation.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/gamerule-true-ingame-bedrock-confirmation.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1460px) 100vw, 1460px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><p><div class=\"protip\">\n                    <h4 class=\"title\">Pro tip<\/h4>\n                    <p>For Minecraft Bedrock, you can also modify game rules from your settings in an existing world by pressing <strong>Esc<\/strong>, clicking on <strong>Settings &rarr; Game<\/strong>, then modifying settings under <strong>World Options<\/strong> and <strong>Cheats<\/strong>.<\/p>\n                <\/div>\n\n\n\n<\/p><h3 class=\"wp-block-heading\" id=\"h-server-console\"><strong>Server console<\/strong><\/h3><p>Adjusting game rules through the server console is an easy way to customize settings without logging in to your Minecraft server. Here&rsquo;s a step-by-step guide to do that on a <a href=\"\/ng\/minecraft-server-hosting\">Hostinger Minecraft server<\/a> instance:<\/p><ol class=\"wp-block-list\">\n<li>In hPanel, navigate to <strong>VPS <\/strong>and press <strong>Manage <\/strong>on your Game Panel VPS.<\/li>\n<\/ol><div class=\"wp-block-image\"><figure data-wp-context='{\"imageId\":\"69e1ab5b9c9e6\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1460\" height=\"129\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/hPanel-VPS-manage.png\/public\" alt=\"Image of the Game Panel VPS in Hostinger's hPanel with the Manage option highlighted.\" class=\"wp-image-126673\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/hPanel-VPS-manage.png\/w=1460,fit=scale-down 1460w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/hPanel-VPS-manage.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/hPanel-VPS-manage.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/hPanel-VPS-manage.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/hPanel-VPS-manage.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1460px) 100vw, 1460px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><ol start=\"2\" class=\"wp-block-list\">\n<li>Click <strong>Manage panel <\/strong>and log in with your credentials.<\/li>\n<\/ol><div class=\"wp-block-image\"><figure data-wp-context='{\"imageId\":\"69e1ab5b9f10b\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1460\" height=\"132\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/gamepanel-manage-panel.png\/public\" alt=\"Game Panel view after VPS is selected with the Manage panel option highlighted.\" class=\"wp-image-126674\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/gamepanel-manage-panel.png\/w=1460,fit=scale-down 1460w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/gamepanel-manage-panel.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/gamepanel-manage-panel.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/gamepanel-manage-panel.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/gamepanel-manage-panel.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1460px) 100vw, 1460px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><ol start=\"3\" class=\"wp-block-list\">\n<li>Find your Minecraft instance and click <strong>Manage<\/strong>.<\/li>\n<\/ol><div class=\"wp-block-image\"><figure data-wp-context='{\"imageId\":\"69e1ab5ba168e\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1460\" height=\"376\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/manage-instance.png\/public\" alt=\"View of the Minecraft Instance in the Game Panel with Manage highlighted.\" class=\"wp-image-126675\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/manage-instance.png\/w=1460,fit=scale-down 1460w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/manage-instance.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/manage-instance.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/manage-instance.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/manage-instance.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1460px) 100vw, 1460px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><ol start=\"4\" class=\"wp-block-list\">\n<li>Click <strong>Console<\/strong>.<\/li>\n<\/ol><div class=\"wp-block-image\"><figure data-wp-context='{\"imageId\":\"69e1ab5ba3ce1\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1460\" height=\"381\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/console-button.png\/public\" alt=\"Minecraft instance view in Game Panel with Console option being highlighted.\" class=\"wp-image-126676\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/console-button.png\/w=1460,fit=scale-down 1460w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/console-button.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/console-button.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/console-button.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/console-button.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1460px) 100vw, 1460px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><ol start=\"5\" class=\"wp-block-list\">\n<li>Enter the gamerule command without the \/ and press <strong>Enter<\/strong>. This is how it will look in Java<\/li>\n<\/ol><div class=\"wp-block-image\"><figure data-wp-context='{\"imageId\":\"69e1ab5ba6408\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1460\" height=\"109\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/gamerule-true-console.png\/public\" alt=\"View of the Hostinger Game Panel Minecraft Console for Minecraft Java, with a command example and successful command confirmation present.\" class=\"wp-image-126677\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/gamerule-true-console.png\/w=1460,fit=scale-down 1460w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/gamerule-true-console.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/gamerule-true-console.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/gamerule-true-console.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/gamerule-true-console.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1460px) 100vw, 1460px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><p>In Bedrock, you should see:<\/p><div class=\"wp-block-image\"><figure data-wp-context='{\"imageId\":\"69e1ab5ba91bb\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1460\" height=\"184\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/gamerule-true-console-bedrock.png\/public\" alt=\"View of the Hostinger Game Panel Minecraft Console for Minecraft Bedrock, with a command example and successful command confirmation present.\" class=\"wp-image-126678\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/gamerule-true-console-bedrock.png\/w=1460,fit=scale-down 1460w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/gamerule-true-console-bedrock.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/gamerule-true-console-bedrock.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/gamerule-true-console-bedrock.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/04\/gamerule-true-console-bedrock.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1460px) 100vw, 1460px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><p>Whether you adjust your game rules during world creation, with commands, or through the server console, the results should be reflected in gameplay from then on for all players in that world.<\/p><?xml encoding=\"utf-8\" ?><figure class=\"wp-block-image size-large\"><a class=\"hgr-tutorials-cta hgr-tutorials-cta-minecraft-hosting\" href=\"\/ng\/vps\/minecraft-hosting\" target=\"_blank\" rel=\"noreferrer noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"300\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/02\/Minecraft-hosting-banner.png\/public\" alt=\"\" class=\"wp-image-77926\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/02\/Minecraft-hosting-banner.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/02\/Minecraft-hosting-banner.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/02\/Minecraft-hosting-banner.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/02\/Minecraft-hosting-banner.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><h2 class=\"wp-block-heading\" id=\"h-list-of-common-minecraft-game-rules\"><strong>List of common Minecraft game rules<\/strong><\/h2><p>When attempting to change these rules, keep in mind that not all of them are available in both Java and Bedrock. There are typically more rules available in the Java version, but the availability of rules does change from time to time.<\/p><p><strong>Core world rules<\/strong><\/p><p>These game rules control the way the world behaves over time. They&rsquo;re often used to make the environment more stable and consistent.<\/p><figure tabindex=\"0\" id=\"responsive-table\" class=\"wp-block-table\"><table><tbody><tr><td><strong>Game rule<\/strong><\/td><td><strong>Description<\/strong><\/td><td><strong>Example command<\/strong><\/td><td><strong>Use case<\/strong><\/td><\/tr><tr><td>doDaylightCycle<\/td><td>Controls whether time of day changes naturally.<\/td><td><strong>\/gamerule doDaylightCycle false<\/strong><\/td><td>Keeping time frozen for build servers, events.<\/td><\/tr><tr><td>doWeatherCycle<\/td><td>Manages natural weather changes.<\/td><td><strong>\/gamerule doWeatherCycle false<\/strong><\/td><td>Useful for reducing visual clutter or lag.<\/td><\/tr><tr><td>randomTickSpeed<\/td><td>Controls how fast blocks update based per game tick.<\/td><td><strong>\/gamerule randomTickSpeed 3<\/strong><\/td><td>Typically used to speed up farming, leaf decay and other block updates.<\/td><\/tr><tr><td>doFireTick<\/td><td>Enables or disables fire spread and extinguishing.<\/td><td><strong>\/gamerule doFireTick false<\/strong><\/td><td>Preventing fire and lava from ruining wooden builds.<\/td><\/tr><tr><td>spawnRadius<\/td><td>Defines the number of blocks outward from the world spawn point where a player can spawn.<\/td><td><strong>\/gamerule spawnRadius 10<\/strong><\/td><td>Used to introduce some randomness in player spawns.<\/td><\/tr><\/tbody><\/table><\/figure><p><strong>Gameplay &amp; survival rules<\/strong><\/p><p>These game rules control how players experience survival mechanics. They are typically used to tune gameplay difficulty beyond the default settings.<\/p><figure tabindex=\"0\" class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>Game rule<\/strong><\/td><td><strong>Description<\/strong><\/td><td><strong>Example command<\/strong><\/td><td><strong>Use case<\/strong><\/td><\/tr><tr><td>keepInventory<\/td><td>Lets players keep items and XP after dying.<\/td><td><strong>\/gamerule keepInventory true<\/strong><\/td><td>Often used to lower difficulty and impact of player death.<\/td><\/tr><tr><td>naturalRegeneration<\/td><td>Controls whether players regenerate health naturally if hunger is full.<\/td><td><strong>\/gamerule naturalRegeneration false<\/strong><\/td><td>Used to make survival worlds more challenging.<\/td><\/tr><tr><td>doLimitedCrafting<\/td><td>Limits crafting to unlocked recipes only.<\/td><td><strong>\/gamerule doLimitedCrafting true<\/strong><\/td><td>Used in custom maps or to enforce linear progression.<\/td><\/tr><tr><td>playersSleepingPercentage<\/td><td>Sets % of players required to skip night in multiplayer.<\/td><td><strong>\/gamerule playersSleepingPercentage 0<\/strong><\/td><td>Primarily used in more casual servers.<\/td><\/tr><tr><td>doImmediateRespawn<\/td><td>Skips the death screen and respawns players instantly.<\/td><td><strong>\/gamerule doImmediateRespawn true<\/strong><\/td><td>Used in PvP servers or minigames to speed up pacing.<\/td><\/tr><tr><td>fallDamage<\/td><td>Enables or disables fall damage.<\/td><td><strong>\/gamerule fallDamage false<\/strong><\/td><td>Used in parkour maps.<\/td><\/tr><\/tbody><\/table><\/figure><p><strong>Mob &amp; entity rules<\/strong><\/p><p>These game rules control how mobs behave. They&rsquo;re useful for creating peaceful servers, controlling chaos, or adding an extra challenge for survival scenarios.<\/p><figure tabindex=\"0\" class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>Game rule<\/strong><\/td><td><strong>Description<\/strong><\/td><td><strong>Example command<\/strong><\/td><td><strong>Use case<\/strong><\/td><\/tr><tr><td>doMobSpawning<\/td><td>Controls natural mob spawning.<\/td><td><strong>\/gamerule doMobSpawning false<\/strong><\/td><td>Keeps the world clear for building-themed servers.<\/td><\/tr><tr><td>doMobLoot<\/td><td>Toggles mob drops.<\/td><td><strong>\/gamerule doMobLoot false<\/strong><\/td><td>Used in PvP or minigames to avoid XP farming or lag.<\/td><\/tr><tr><td>mobGriefing<\/td><td>Controls whether mobs can break\/place blocks or pick up items.<\/td><td><strong>\/gamerule mobGriefing false<\/strong><\/td><td>Used to prevent world damage from mobs like creepers or endermen.<\/td><\/tr><tr><td>forgiveDeadPlayers<\/td><td>Makes angered neutral mobs stop being angry when the targeted player dies.<\/td><td><strong>\/gamerule forgiveDeadPlayers false<\/strong><\/td><td>Keeps angered mobs aggressive across respawns to add difficulty.<\/td><\/tr><tr><td>universalAnger<\/td><td>Makes angered neutral mobs attack all nearby players, not just the one who angered them.<\/td><td><strong>\/gamerule universalAnger true<\/strong><\/td><td>Used as an extra difficulty setting for players.<\/td><\/tr><\/tbody><\/table><\/figure><p><strong>Command &amp; automation rules<\/strong><\/p><p>These game rules mainly target chat messages, command block behavior, and how visible in-game actions are. They are mainly used to reduce chat clutter and improve server performance.<\/p><figure tabindex=\"0\" class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>Game rule<\/strong><\/td><td><strong>Description<\/strong><\/td><td><strong>Example command<\/strong><\/td><td><strong>Use case<\/strong><\/td><\/tr><tr><td>commandBlockOutput<\/td><td>Toggles whether command blocks notify admins once run.<\/td><td><strong>\/gamerule commandBlockOutput false<\/strong><\/td><td>Keeping chat clean when using command blocks.<\/td><\/tr><tr><td>sendCommandFeedback<\/td><td>Toggles whether to log admin commands.<\/td><td><strong>\/gamerule sendCommandFeedback false<\/strong><\/td><td>Preventing commands executed from spamming chat.<\/td><\/tr><tr><td>announceAdvancements<\/td><td>Toggles advancement notifications in chat.<\/td><td><strong>\/gamerule announceAdvancements false<\/strong><\/td><td>Useful for larger servers to prevent achievement spam in chat.<\/td><\/tr><tr><td>showDeathMessages<\/td><td>Toggles whether death messages appear in chat.<\/td><td><strong>\/gamerule showDeathMessages false<\/strong><\/td><td>Reducing chat clutter in minigame servers.<\/td><\/tr><\/tbody><\/table><\/figure><h2 class=\"wp-block-heading\" id=\"h-conclusion\"><strong>Conclusion<\/strong><\/h2><p>Modifying game rules is one of the simplest ways to take control of Minecraft&rsquo;s player experience without using mods or plugins. Whether you&rsquo;re running a survival world, building a PvP arena, or setting up a custom adventure map, these settings help shape how the game plays for everyone.<\/p><p>From disabling fire spread to keeping inventory after death, the right game rules make your world feel more polished, balanced, and tailored to your gameplay needs.<\/p><p>Want more control over your world? Start adapting your game rules to build the Minecraft world you actually want to play in.<\/p><h2 class=\"wp-block-heading\" id=\"h-minecraft-game-rules-faq\"><strong>Minecraft game rules FAQ<\/strong><\/h2><div class=\"schema-faq wp-block-yoast-faq-block\"><div class=\"schema-faq-section\" id=\"faq-question-1743680840499\"><h3 class=\"schema-faq-question\"><strong>How do I set a game rule in Minecraft?<\/strong><\/h3> <p class=\"schema-faq-answer\">You can set a game rule by using the in-game chat or server console with the command <strong>\/gamerule &lt;ruleName&gt; &lt;value&gt;<\/strong>. You&rsquo;ll need commands or cheats enabled in single player, or OP permissions on servers. Once set, the game rule is saved to the world and stays active until changed.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1743680845612\"><h3 class=\"schema-faq-question\"><strong>Can I list all Minecraft game rules?<\/strong><\/h3> <p class=\"schema-faq-answer\">Minecraft doesn&rsquo;t offer a built-in command to display every game rule. However, you can press TAB after typing <strong>\/gamerule<\/strong> to iterate between all available options. For a full list, it&rsquo;s best to check trusted community resources, such as the Minecraft wiki.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1743680849936\"><h3 class=\"schema-faq-question\"><strong>Are game rules the same in all Minecraft versions?<\/strong><\/h3> <p class=\"schema-faq-answer\">No. While most core game rules are shared, some are exclusive to Java or Bedrock. For example, Java Edition has <strong>reducedDebugInfo<\/strong>, which hides advanced F3 data, while Bedrock Edition has <strong>showCoordinates<\/strong>, which toggles coordinates in the UI. In addition, new version releases may add new rules or modify existing ones. Always double-check if a particular rule is present in your Minecraft version.<\/p> <\/div> <\/div>\n","protected":false},"excerpt":{"rendered":"<p>Minecraft server management isn&rsquo;t just about keeping things online &ndash; it&rsquo;s about shaping the right experience for you and your players. Whether you&rsquo;re playing in a small survival world or managing a large server, there are times when Minecraft&rsquo;s default game settings don&rsquo;t quite fit. That&rsquo;s where game rules come in. Game rules let you [&#8230;]<\/p>\n<p><a class=\"btn btn-secondary understrap-read-more-link\" href=\"\/ng\/tutorials\/minecraft-gamerules\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":515,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"rank_math_title":"How to change Minecraft gamerules","rank_math_description":"Find out how to make your Minecraft world your own. Easily customize Minecraft game rules on your server or even while playing the game.","rank_math_focus_keyword":"minecraft gamerules","footnotes":""},"categories":[22644],"tags":[],"class_list":["post-126664","post","type-post","status-publish","format-standard","hentry","category-vps"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/tutorials\/minecraft-gamerules","default":0},{"locale":"en-UK","link":"https:\/\/www.hostinger.com\/uk\/tutorials\/minecraft-gamerules","default":0},{"locale":"en-IN","link":"https:\/\/www.hostinger.com\/in\/tutorials\/minecraft-gamerules","default":0},{"locale":"en-CA","link":"https:\/\/www.hostinger.com\/ca\/tutorials\/minecraft-gamerules","default":0},{"locale":"en-PH","link":"https:\/\/www.hostinger.com\/ph\/tutorials\/minecraft-gamerules","default":0},{"locale":"en-MY","link":"https:\/\/www.hostinger.com\/my\/tutorials\/minecraft-gamerules","default":0},{"locale":"en-AU","link":"https:\/\/www.hostinger.com\/au\/tutorials\/minecraft-gamerules","default":0},{"locale":"en-NG","link":"https:\/\/www.hostinger.com\/ng\/tutorials\/minecraft-gamerules","default":0}],"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/posts\/126664","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/users\/515"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/comments?post=126664"}],"version-history":[{"count":12,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/posts\/126664\/revisions"}],"predecessor-version":[{"id":143367,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/posts\/126664\/revisions\/143367"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/media?parent=126664"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/categories?post=126664"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/tags?post=126664"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}