{"id":2807,"date":"2023-03-13T04:06:39","date_gmt":"2023-03-13T04:06:39","guid":{"rendered":"https:\/\/xgamingserver.com\/blog\/?p=2807"},"modified":"2026-06-15T19:20:44","modified_gmt":"2026-06-15T19:20:44","slug":"how-to-disable-animals-spawning-on-your-minecraft-server","status":"publish","type":"post","link":"https:\/\/xgamingserver.com\/blog\/how-to-disable-animals-spawning-on-your-minecraft-server\/","title":{"rendered":"How to disable animals spawning on your Minecraft server"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Passive animals \u2014 cows, pigs, sheep, chickens, horses and the rest \u2014 spawn constantly on a default Minecraft server. Most of the time that is exactly what you want, but on a build server, a minigame map, a hardcore PvP arena, or a performance-tight world running on modest hardware, hundreds of idle livestock chewing up entity ticks is pure overhead. Maybe you want a sterile creative world, maybe you are clawing back TPS, or maybe you simply do not want pigs wandering into your spawn plaza. Whatever the reason, Java Edition gives you several distinct levers to stop animals from spawning, and each one behaves differently.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This guide walks through every reliable method \u2014 the <code>spawn-animals<\/code> server property, the <code>doMobSpawning<\/code> game rule, peaceful difficulty, and surgical per-region control with WorldGuard. It explains what each one actually does, when a restart is required, why none of them remove animals that have <em>already<\/em> spawned, and how to pick the right tool for your situation. Everything below is for Java Edition unless stated otherwise.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The fastest answer: <code>spawn-animals=false<\/code> in server.properties<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The most direct, server-wide way to stop passive animals is the <code>spawn-animals<\/code> key in your <code>server.properties<\/code> file. It is a simple boolean \u2014 <code>true<\/code> by default \u2014 and setting it to <code>false<\/code> turns off natural spawning of passive\/farm animals across the entire server.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Open <code>server.properties<\/code> (it sits in your server&#8217;s root directory), find or add the line, and change it:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>spawn-animals=false<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This is one of three related spawn toggles. It is important to understand the difference, because people frequently set the wrong one or assume one key covers everything:<\/p>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table><thead><tr><th>server.properties key<\/th><th>Default<\/th><th>What it stops when set to <code>false<\/code><\/th><\/tr><\/thead><tbody><tr><td><code>spawn-animals<\/code><\/td><td><code>true<\/code><\/td><td>Natural spawning of passive\/farm animals (cows, pigs, sheep, chickens, etc.)<\/td><\/tr><tr><td><code>spawn-monsters<\/code><\/td><td><code>true<\/code><\/td><td>Natural spawning of hostile mobs (zombies, skeletons, creepers, etc.)<\/td><\/tr><tr><td><code>spawn-npcs<\/code><\/td><td><code>true<\/code><\/td><td>Natural spawning of villagers (NPCs)<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">So if your goal is &#8220;no animals but keep the monsters&#8221; \u2014 common on a survival-combat server \u2014 you set only <code>spawn-animals=false<\/code> and leave <code>spawn-monsters=true<\/code>. If you want a completely empty world with no mobs at all, you would set all three to <code>false<\/code> (though, as you will see below, a game rule does that more cleanly).<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">A restart is mandatory<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">This is the single most common point of confusion. <code>server.properties<\/code> is read <strong>only at server startup<\/strong>. Editing the file while the server is running does nothing \u2014 your change just sits there. After saving the file you must fully restart the server (a stop and start, not just a <code>\/reload<\/code> of plugins) for the new value to take effect. If you change the key and animals keep appearing, a missing restart is almost always the cause.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you are managing your world through a hosting control panel \u2014 for example our <a href=\"https:\/\/xgamingserver.com\/minecraft-server-hosting\">managed Minecraft server plans<\/a> \u2014 you can usually edit <code>server.properties<\/code> through the panel&#8217;s config editor and hit restart in one place. For a full walkthrough of the configuration file and where it lives, see our <a href=\"https:\/\/xgamingserver.com\/docs\/minecraft\">Minecraft server documentation<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The runtime answer: <code>\/gamerule doMobSpawning false<\/code><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If you do not want to restart, or you want to toggle spawning live while testing, the game rule route is better. Running this in-game (as an operator) or from the server console stops all natural mob spawning immediately:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/gamerule doMobSpawning false<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">From the server console you omit the leading slash. The change applies instantly \u2014 no restart, no file editing \u2014 and it persists in the world data.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The crucial distinction from <code>spawn-animals<\/code>: <code>doMobSpawning<\/code> is <strong>broader<\/strong>. It governs the global spawning logic for <em>all<\/em> mobs \u2014 animals <strong>and<\/strong> monsters <strong>and<\/strong> NPCs \u2014 through one switch. There is no animals-only game rule. So:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Want to stop <em>only<\/em> animals while monsters still spawn? Use <code>spawn-animals=false<\/code> in server.properties \u2014 the game rule cannot isolate a single category.<\/li><li>Want to stop <em>everything<\/em> from spawning at runtime without a restart? Use <code>\/gamerule doMobSpawning false<\/code>.<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">The snake_case rename you may run into<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Mojang renamed game rules to snake_case in Java 1.21.11. On 1.21.11 and newer the rule is <code>spawn_mobs<\/code>; on 1.21.10 and earlier it is <code>doMobSpawning<\/code>. The behavior and default (<code>true<\/code>) are identical \u2014 only the spelling changed. On the newer versions:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/gamerule spawn_mobs false<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If a command &#8220;doesn&#8217;t exist,&#8221; check your version and try the other casing. To check a rule&#8217;s current value at any time, run it with no value: <code>\/gamerule doMobSpawning<\/code> returns the current setting.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Critical: existing animals are NOT removed<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Every method in this guide stops <em>new<\/em> spawns. None of them despawn the animals that are already in your world. Passive mobs in Minecraft are persistent \u2014 once they exist, they stick around. So after you disable spawning, the cows and sheep already loaded in your chunks will remain happily roaming until you remove them manually.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To clear out what is already there, use the vanilla kill command with a target selector. This removes every loaded animal of the listed types around you:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/kill @e[type=#minecraft:axolotl]\n# or target specific species:\n\/kill @e[type=cow]\n\/kill @e[type=pig]\n\/kill @e[type=sheep]\n\/kill @e[type=chicken]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Be careful with broad selectors \u2014 <code>\/kill @e<\/code> with no type filter will also delete item frames, armor stands, dropped items, and even players in some setups. Always scope the selector to the entity types you actually want gone. Note also that <code>\/kill<\/code> only affects entities in currently loaded chunks, so distant pre-existing herds survive until those chunks load.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Peaceful difficulty: the nuclear option for hostiles (not animals)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">It is worth clearing up a related misconception. Setting your server to peaceful difficulty stops <strong>hostile mobs<\/strong> from spawning entirely \u2014 but it does <strong>not<\/strong> stop passive animals. Cows, pigs and sheep happily spawn on peaceful. So peaceful is the opposite of what you want if your goal is &#8220;no animals, keep the monsters,&#8221; and it is overkill if your goal is purely about animals.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can set peaceful via server.properties (requires a restart, like all properties):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>difficulty=peaceful<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u2026or live with <code>\/difficulty peaceful<\/code>. Use peaceful when you want a no-combat experience; reach for <code>spawn-animals=false<\/code> or <code>doMobSpawning<\/code> when animals specifically are the problem.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Surgical control with WorldGuard (per-region)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The methods above are blunt \u2014 they are world-wide or server-wide. What if you want animals everywhere <em>except<\/em> your spawn town? Or you want to ban only a couple of species in one region? That is where WorldGuard comes in. WorldGuard is a region-protection plugin that runs on Bukkit-family servers (Spigot, Paper, Purpur), so you need a plugin-capable server jar \u2014 the vanilla <code>server.jar<\/code> from Mojang cannot load plugins.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">WorldGuard exposes a <code>mob-spawning<\/code> region flag that takes <code>allow<\/code> or <code>deny<\/code>. To stop all mob spawning inside a defined region:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/rg flag <region> mob-spawning deny<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">To apply it to the entire world rather than a small region, use the special built-in <code>__global__<\/code> region:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/rg flag __global__ mob-spawning deny<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Blocking only specific species with <code>deny-spawn<\/code><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">This is WorldGuard&#8217;s killer feature for animal control. Where vanilla forces you to choose all-animals or no-animals, the <code>deny-spawn<\/code> flag accepts a list of specific entity types and blocks <em>only<\/em> those, leaving everything else free to spawn. For example, to stop cows and pigs from spawning in a region while letting sheep, chickens and all other mobs spawn normally:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/rg flag <region> deny-spawn cow,pig<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The list is comma-separated, no spaces. This level of granularity is impossible with server.properties or game rules, which is exactly why region plugins exist. If you only want to thin out one or two nuisance species rather than nuke all spawning, <code>deny-spawn<\/code> is the right tool.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Which method should you use?<\/h2>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table><thead><tr><th>Goal<\/th><th>Best method<\/th><th>Restart needed?<\/th><\/tr><\/thead><tbody><tr><td>Stop only animals, keep monsters, whole server<\/td><td><code>spawn-animals=false<\/code><\/td><td>Yes<\/td><\/tr><tr><td>Stop all mobs instantly without restarting<\/td><td><code>\/gamerule doMobSpawning false<\/code><\/td><td>No<\/td><\/tr><tr><td>Stop hostile mobs, keep animals<\/td><td><code>difficulty=peaceful<\/code> (or <code>\/difficulty peaceful<\/code>)<\/td><td>Property: yes \/ command: no<\/td><\/tr><tr><td>Stop mobs in one area only<\/td><td>WorldGuard <code>mob-spawning deny<\/code> on a region<\/td><td>No<\/td><\/tr><tr><td>Block only a few specific species<\/td><td>WorldGuard <code>deny-spawn cow,pig<\/code><\/td><td>No<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">For most &#8220;I just want fewer animals on my survival server&#8221; cases, <code>spawn-animals=false<\/code> with a restart is the cleanest answer. For testing, temporary changes, or a fully empty creative build world, the game rule is more convenient. For anything zone-specific, WorldGuard wins.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Related performance and config tweaks<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Animal spawning is rarely the only knob worth turning when you are tuning a server. If you are here for performance or world control, a few neighbouring guides are worth a look. Overgrown worlds often suffer from spreading plant life as much as wandering mobs \u2014 our walkthrough on <a href=\"https:\/\/xgamingserver.com\/blog\/how-to-stop-vines-spreading-on-your-minecraft-server\/\">how to stop vines spreading on your Minecraft server<\/a> covers the WorldGuard <code>vine-growth<\/code> flag, which pairs naturally with the spawn flags above. If you run multiple worlds and want different spawn rules in each, <a href=\"https:\/\/xgamingserver.com\/blog\/multiverse-minecraft-plugin\/\">setting up the Multiverse plugin<\/a> lets you isolate a creative build world from a survival world. And if you are starting fresh, picking the right world generation with <a href=\"https:\/\/xgamingserver.com\/blog\/how-to-change-the-level-type-of-your-minecraft-server\/\">changing the level-type of your Minecraft server<\/a> determines what biomes \u2014 and therefore which animals \u2014 generate in the first place.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Frequently asked questions<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Does <code>spawn-animals=false<\/code> remove the animals already on my server?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">No. <code>spawn-animals=false<\/code> only prevents <em>new<\/em> passive animals from spawning naturally. Every cow, pig, sheep and chicken already loaded in your world stays exactly where it is, because passive mobs are persistent. To clear existing animals you have to remove them manually with a scoped command such as <code>\/kill @e[type=cow]<\/code> (repeated per species), and remember that only entities in currently loaded chunks are affected.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Why are animals still spawning after I edited server.properties?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Almost always because the server was not fully restarted. <code>server.properties<\/code> is read only once, at startup, so any edit you make while the server is online is ignored until you stop and start it again. A plugin <code>\/reload<\/code> does not re-read the file. Save your change, perform a complete restart, and confirm the line reads exactly <code>spawn-animals=false<\/code> with no stray spaces or capitalization. If you need the change to take effect without a restart, use <code>\/gamerule doMobSpawning false<\/code> instead.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What is the difference between <code>spawn-animals=false<\/code> and <code>doMobSpawning false<\/code>?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Scope and timing. <code>spawn-animals=false<\/code> is a server.properties key that stops <em>only<\/em> passive animals and requires a restart to take effect. <code>\/gamerule doMobSpawning false<\/code> (or <code>spawn_mobs false<\/code> on Java 1.21.11+) is a game rule that stops <em>all<\/em> natural mob spawning \u2014 animals, monsters and NPCs together \u2014 and applies instantly at runtime. Use the property when you want to keep monsters but lose animals; use the game rule when you want everything off without restarting.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Does setting my server to peaceful stop animal spawning?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">No. Peaceful difficulty stops only hostile mobs (zombies, skeletons, creepers and the like) from spawning. Passive animals continue to spawn normally on peaceful. If your goal is to remove animals, peaceful is the wrong setting \u2014 you want <code>spawn-animals=false<\/code> or <code>doMobSpawning false<\/code>. Peaceful is the right choice when you want to disable combat threats while still keeping a stocked countryside of livestock.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Can I disable animal spawning in just one area instead of the whole server?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Yes, with WorldGuard on a Spigot\/Paper server. Define a region, then run <code>\/rg flag <region> mob-spawning deny<\/code> to stop all spawns inside it, or <code>\/rg flag <region> deny-spawn cow,pig<\/code> to block only specific species while everything else spawns normally. To affect the whole world through WorldGuard rather than a small zone, target the special <code>__global__<\/code> region. Vanilla server.properties and game rules cannot do per-area or per-species control \u2014 that flexibility is the whole point of using a region plugin.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How do I stop animals without affecting villagers or monster farms?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Use the targeted server.properties keys. <code>spawn-animals<\/code>, <code>spawn-monsters<\/code> and <code>spawn-npcs<\/code> are three independent toggles, all defaulting to <code>true<\/code>. Set <code>spawn-animals=false<\/code> and leave <code>spawn-monsters=true<\/code> and <code>spawn-npcs=true<\/code>, and you stop passive farm animals while villagers and your hostile-mob farms keep working. Avoid <code>doMobSpawning false<\/code> here, since it would shut down monsters and villagers too. Restart the server after editing the properties file for the changes to apply.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Disabling animal spawning is a small change with an outsized impact on a tidy, performant server. Pick the lever that matches your scope \u2014 a property for server-wide and animals-only, a game rule for instant all-mob control, peaceful for combat-free play, or WorldGuard for surgical per-region and per-species rules \u2014 restart when the method requires it, and clean up any animals that are already loaded. That combination gives you a world that behaves exactly the way you intended.<\/p>\n\n\n<!-- xg-tools-mesh -->\n\n<div class=\"wp-block-group xg-tools-box is-layout-flow wp-block-group-is-layout-flow\" style=\"border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:18px 22px;margin-top:8px;background:rgba(76,175,80,.04);\">\n<h3 class=\"wp-block-heading\">Free Minecraft Tools<\/h3>\n<p class=\"wp-block-paragraph\">Speed up your server with our free Minecraft tools:<\/p>\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/xgamingserver.com\/tools\/minecraft\/give-command\">Give Command Generator<\/a><\/li><li><a href=\"https:\/\/xgamingserver.com\/tools\/minecraft\/ore-distribution\">Ore Distribution Chart<\/a><\/li><li><a href=\"https:\/\/xgamingserver.com\/tools\/minecraft\/enchantment-calculator\">Enchantment Calculator<\/a><\/li><li><a href=\"https:\/\/xgamingserver.com\/tools\/minecraft\/achievement-generator\">Achievement Generator<\/a><\/li><\/ul>\n<\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>Passive animals \u2014 cows, pigs, sheep, chickens, horses and the rest \u2014 spawn constantly on a default Minecraft server. Most of the time that is exactly what you want, but on a build server, a minigame map, a hardcore PvP arena, or a performance-tight world running on modest hardware, hundreds of idle livestock chewing up [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":2809,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_gspb_post_css":"","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[67,19],"tags":[],"class_list":["post-2807","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-manage-minecraft-server","category-minecraft-server-docs"],"blocksy_meta":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v24.5 (Yoast SEO v26.7) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to disable animals spawning on your Minecraft server - XGamingServer<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/xgamingserver.com\/blog\/how-to-disable-animals-spawning-on-your-minecraft-server\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to disable animals spawning on your Minecraft server\" \/>\n<meta property=\"og:description\" content=\"Passive animals \u2014 cows, pigs, sheep, chickens, horses and the rest \u2014 spawn constantly on a default Minecraft server. Most of the time that is exactly what you want, but on a build server, a minigame map, a hardcore PvP arena, or a performance-tight world running on modest hardware, hundreds of idle livestock chewing up [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/xgamingserver.com\/blog\/how-to-disable-animals-spawning-on-your-minecraft-server\/\" \/>\n<meta property=\"og:site_name\" content=\"XGamingServer\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/web.facebook.com\/xgamingserver69\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-03-13T04:06:39+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-06-15T19:20:44+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2023\/03\/blog-background-17.png\" \/>\n\t<meta property=\"og:image:width\" content=\"770\" \/>\n\t<meta property=\"og:image:height\" content=\"433\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Youssef Ayman\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@xgamingserver\" \/>\n<meta name=\"twitter:site\" content=\"@xgamingserver\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Youssef Ayman\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/xgamingserver.com\/blog\/how-to-disable-animals-spawning-on-your-minecraft-server\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/xgamingserver.com\/blog\/how-to-disable-animals-spawning-on-your-minecraft-server\/\"},\"author\":{\"name\":\"Youssef Ayman\",\"@id\":\"https:\/\/xgamingserver.com\/blog\/#\/schema\/person\/d76089853704ac189e01449b0e449e3e\"},\"headline\":\"How to disable animals spawning on your Minecraft server\",\"datePublished\":\"2023-03-13T04:06:39+00:00\",\"dateModified\":\"2026-06-15T19:20:44+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/xgamingserver.com\/blog\/how-to-disable-animals-spawning-on-your-minecraft-server\/\"},\"wordCount\":1917,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/xgamingserver.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/xgamingserver.com\/blog\/how-to-disable-animals-spawning-on-your-minecraft-server\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2023\/03\/blog-background-17.png\",\"articleSection\":[\"Manage Minecraft server\",\"Minecraft\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/xgamingserver.com\/blog\/how-to-disable-animals-spawning-on-your-minecraft-server\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/xgamingserver.com\/blog\/how-to-disable-animals-spawning-on-your-minecraft-server\/\",\"url\":\"https:\/\/xgamingserver.com\/blog\/how-to-disable-animals-spawning-on-your-minecraft-server\/\",\"name\":\"How to disable animals spawning on your Minecraft server - XGamingServer\",\"isPartOf\":{\"@id\":\"https:\/\/xgamingserver.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/xgamingserver.com\/blog\/how-to-disable-animals-spawning-on-your-minecraft-server\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/xgamingserver.com\/blog\/how-to-disable-animals-spawning-on-your-minecraft-server\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2023\/03\/blog-background-17.png\",\"datePublished\":\"2023-03-13T04:06:39+00:00\",\"dateModified\":\"2026-06-15T19:20:44+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/xgamingserver.com\/blog\/how-to-disable-animals-spawning-on-your-minecraft-server\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/xgamingserver.com\/blog\/how-to-disable-animals-spawning-on-your-minecraft-server\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/xgamingserver.com\/blog\/how-to-disable-animals-spawning-on-your-minecraft-server\/#primaryimage\",\"url\":\"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2023\/03\/blog-background-17.png\",\"contentUrl\":\"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2023\/03\/blog-background-17.png\",\"width\":1920,\"height\":1080},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/xgamingserver.com\/blog\/how-to-disable-animals-spawning-on-your-minecraft-server\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/xgamingserver.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Minecraft\",\"item\":\"https:\/\/xgamingserver.com\/blog\/category\/minecraft-server-docs\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to disable animals spawning on your Minecraft server\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/xgamingserver.com\/blog\/#website\",\"url\":\"https:\/\/xgamingserver.com\/blog\/\",\"name\":\"XGamingServer\",\"description\":\"Dedicated Game Server Hosting\",\"publisher\":{\"@id\":\"https:\/\/xgamingserver.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/xgamingserver.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/xgamingserver.com\/blog\/#organization\",\"name\":\"XGamingServer\",\"url\":\"https:\/\/xgamingserver.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/xgamingserver.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2020\/09\/logo.svg\",\"contentUrl\":\"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2020\/09\/logo.svg\",\"width\":\"1024\",\"height\":\"1024\",\"caption\":\"XGamingServer\"},\"image\":{\"@id\":\"https:\/\/xgamingserver.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/web.facebook.com\/xgamingserver69\/\",\"https:\/\/x.com\/xgamingserver\",\"https:\/\/www.instagram.com\/xgamingserver\/\",\"https:\/\/www.linkedin.com\/company\/xgamingserver\/\",\"https:\/\/www.pinterest.com\/xgamingserver\/\",\"https:\/\/www.youtube.com\/channel\/UCHnOtWxpzaL2r3jM9Jm40EQ\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/xgamingserver.com\/blog\/#\/schema\/person\/d76089853704ac189e01449b0e449e3e\",\"name\":\"Youssef Ayman\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/xgamingserver.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/fa92e71017a2bb7ab969b798cba0c8f3f827d2d4733dbe2cacf7f195db920fe1?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/fa92e71017a2bb7ab969b798cba0c8f3f827d2d4733dbe2cacf7f195db920fe1?s=96&d=mm&r=g\",\"caption\":\"Youssef Ayman\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to disable animals spawning on your Minecraft server - XGamingServer","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/xgamingserver.com\/blog\/how-to-disable-animals-spawning-on-your-minecraft-server\/","og_locale":"en_US","og_type":"article","og_title":"How to disable animals spawning on your Minecraft server","og_description":"Passive animals \u2014 cows, pigs, sheep, chickens, horses and the rest \u2014 spawn constantly on a default Minecraft server. Most of the time that is exactly what you want, but on a build server, a minigame map, a hardcore PvP arena, or a performance-tight world running on modest hardware, hundreds of idle livestock chewing up [&hellip;]","og_url":"https:\/\/xgamingserver.com\/blog\/how-to-disable-animals-spawning-on-your-minecraft-server\/","og_site_name":"XGamingServer","article_publisher":"https:\/\/web.facebook.com\/xgamingserver69\/","article_published_time":"2023-03-13T04:06:39+00:00","article_modified_time":"2026-06-15T19:20:44+00:00","og_image":[{"url":"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2023\/03\/blog-background-17.png","width":770,"height":433,"type":"image\/png"}],"author":"Youssef Ayman","twitter_card":"summary_large_image","twitter_creator":"@xgamingserver","twitter_site":"@xgamingserver","twitter_misc":{"Written by":"Youssef Ayman","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/xgamingserver.com\/blog\/how-to-disable-animals-spawning-on-your-minecraft-server\/#article","isPartOf":{"@id":"https:\/\/xgamingserver.com\/blog\/how-to-disable-animals-spawning-on-your-minecraft-server\/"},"author":{"name":"Youssef Ayman","@id":"https:\/\/xgamingserver.com\/blog\/#\/schema\/person\/d76089853704ac189e01449b0e449e3e"},"headline":"How to disable animals spawning on your Minecraft server","datePublished":"2023-03-13T04:06:39+00:00","dateModified":"2026-06-15T19:20:44+00:00","mainEntityOfPage":{"@id":"https:\/\/xgamingserver.com\/blog\/how-to-disable-animals-spawning-on-your-minecraft-server\/"},"wordCount":1917,"commentCount":0,"publisher":{"@id":"https:\/\/xgamingserver.com\/blog\/#organization"},"image":{"@id":"https:\/\/xgamingserver.com\/blog\/how-to-disable-animals-spawning-on-your-minecraft-server\/#primaryimage"},"thumbnailUrl":"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2023\/03\/blog-background-17.png","articleSection":["Manage Minecraft server","Minecraft"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/xgamingserver.com\/blog\/how-to-disable-animals-spawning-on-your-minecraft-server\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/xgamingserver.com\/blog\/how-to-disable-animals-spawning-on-your-minecraft-server\/","url":"https:\/\/xgamingserver.com\/blog\/how-to-disable-animals-spawning-on-your-minecraft-server\/","name":"How to disable animals spawning on your Minecraft server - XGamingServer","isPartOf":{"@id":"https:\/\/xgamingserver.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/xgamingserver.com\/blog\/how-to-disable-animals-spawning-on-your-minecraft-server\/#primaryimage"},"image":{"@id":"https:\/\/xgamingserver.com\/blog\/how-to-disable-animals-spawning-on-your-minecraft-server\/#primaryimage"},"thumbnailUrl":"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2023\/03\/blog-background-17.png","datePublished":"2023-03-13T04:06:39+00:00","dateModified":"2026-06-15T19:20:44+00:00","breadcrumb":{"@id":"https:\/\/xgamingserver.com\/blog\/how-to-disable-animals-spawning-on-your-minecraft-server\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/xgamingserver.com\/blog\/how-to-disable-animals-spawning-on-your-minecraft-server\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/xgamingserver.com\/blog\/how-to-disable-animals-spawning-on-your-minecraft-server\/#primaryimage","url":"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2023\/03\/blog-background-17.png","contentUrl":"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2023\/03\/blog-background-17.png","width":1920,"height":1080},{"@type":"BreadcrumbList","@id":"https:\/\/xgamingserver.com\/blog\/how-to-disable-animals-spawning-on-your-minecraft-server\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/xgamingserver.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Minecraft","item":"https:\/\/xgamingserver.com\/blog\/category\/minecraft-server-docs\/"},{"@type":"ListItem","position":3,"name":"How to disable animals spawning on your Minecraft server"}]},{"@type":"WebSite","@id":"https:\/\/xgamingserver.com\/blog\/#website","url":"https:\/\/xgamingserver.com\/blog\/","name":"XGamingServer","description":"Dedicated Game Server Hosting","publisher":{"@id":"https:\/\/xgamingserver.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/xgamingserver.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/xgamingserver.com\/blog\/#organization","name":"XGamingServer","url":"https:\/\/xgamingserver.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/xgamingserver.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2020\/09\/logo.svg","contentUrl":"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2020\/09\/logo.svg","width":"1024","height":"1024","caption":"XGamingServer"},"image":{"@id":"https:\/\/xgamingserver.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/web.facebook.com\/xgamingserver69\/","https:\/\/x.com\/xgamingserver","https:\/\/www.instagram.com\/xgamingserver\/","https:\/\/www.linkedin.com\/company\/xgamingserver\/","https:\/\/www.pinterest.com\/xgamingserver\/","https:\/\/www.youtube.com\/channel\/UCHnOtWxpzaL2r3jM9Jm40EQ"]},{"@type":"Person","@id":"https:\/\/xgamingserver.com\/blog\/#\/schema\/person\/d76089853704ac189e01449b0e449e3e","name":"Youssef Ayman","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/xgamingserver.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/fa92e71017a2bb7ab969b798cba0c8f3f827d2d4733dbe2cacf7f195db920fe1?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/fa92e71017a2bb7ab969b798cba0c8f3f827d2d4733dbe2cacf7f195db920fe1?s=96&d=mm&r=g","caption":"Youssef Ayman"}}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2023\/03\/blog-background-17.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/xgamingserver.com\/blog\/wp-json\/wp\/v2\/posts\/2807","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xgamingserver.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xgamingserver.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xgamingserver.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/xgamingserver.com\/blog\/wp-json\/wp\/v2\/comments?post=2807"}],"version-history":[{"count":3,"href":"https:\/\/xgamingserver.com\/blog\/wp-json\/wp\/v2\/posts\/2807\/revisions"}],"predecessor-version":[{"id":22405,"href":"https:\/\/xgamingserver.com\/blog\/wp-json\/wp\/v2\/posts\/2807\/revisions\/22405"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/xgamingserver.com\/blog\/wp-json\/wp\/v2\/media\/2809"}],"wp:attachment":[{"href":"https:\/\/xgamingserver.com\/blog\/wp-json\/wp\/v2\/media?parent=2807"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xgamingserver.com\/blog\/wp-json\/wp\/v2\/categories?post=2807"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xgamingserver.com\/blog\/wp-json\/wp\/v2\/tags?post=2807"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}