Skip to content

Enshrouded 1.0 is out! 🎉 Get 25% OFF your next Enshrouded Server today!

Change mob spawn rates and limits

Edit the spawn limits in bukkit.yml and spigot.yml on Paper, or switch natural spawning off with the right game rule for your version.

Updated 4 min read

Mob spawning has three separate dials: how many mobs of each kind are allowed, how often the server tries to spawn one, and how far from a player they can appear. On Paper and Purpur all three are in config files you edit in the File Manager. Natural spawning can also be switched off with a game rule.

Checked against the Paper 26.3 documentation, October 2026.

What the settings are

Paper keeps bukkit.yml and spigot.yml in the server's top folder. Purpur's own configuration page links to the documentation for both files. Paper writes both files when the server starts, so if you cannot see them, start the server once and refresh the File Manager.

SettingFileDefaultWhat it does
spawn-limits.monstersbukkit.yml70Limit for hostile mobs
spawn-limits.animalsbukkit.yml10Limit for animals
spawn-limits.water-animalsbukkit.yml5Limit for water animals
spawn-limits.ambientbukkit.yml15Limit for ambient mobs
ticks-per.monster-spawnsbukkit.yml1Ticks between hostile spawn attempts
ticks-per.animal-spawnsbukkit.yml400Ticks between animal spawn attempts
mob-spawn-rangespigot.yml8How many chunks from a player mobs can spawn

The Bukkit API describes each limit as the number of that kind of mob that can spawn in a chunk. A ticks-per value of -1 returns that category to Minecraft's own timing. The same section also lists water-ambient, water-underground-creature and axolotls.

Change a limit

  1. Press Stop on the Console tab and wait for the server to go offline.
  2. Open the File Manager and click bukkit.yml.
  3. Change the number, for example monsters: 70 to monsters: 40. Keep the indentation exactly as it is.
  4. Press Save, then press Start.

Edit mob-spawn-range the same way in spigot.yml. It sits under world-settings and then default. If the server will not start afterwards, Find and fix YAML and JSON config errors shows how to spot a stray space or tab.

Tip

Change one value at a time, and check the TPS reading in the left rail after each change before you touch the next one.

Set limits per world

Paper lets a world override bukkit.yml. config/paper-world-defaults.yml holds the defaults for every world. In it, the section entities then spawning then spawn-limits has the keys monster, creature, ambient, axolotls, underground_water_creature, water_ambient and water_creature. Each defaults to -1, which means use the bukkit.yml value. Note the names differ: monster here is monsters in bukkit.yml, and creature is animals.

To change one world only, leave the defaults file alone. Add just the keys you want to that world's own paper-world.yml, in the folder world/dimensions/<namespace>/<key>/. For the Nether that is world/dimensions/minecraft/the_nether/paper-world.yml. Any key you leave out is inherited from paper-world-defaults.yml.

The setting per-player-mob-spawns in the same section is true by default. It decides whether the bukkit.yml limit is counted per player or for the entire server.

Turn natural spawning off

These are vanilla game rules. Send them from the Console.

Goal1.21.11 and newer1.21.9 to 1.21.10Older
No natural mob spawninggamerule spawn_mobs falsegamerule doMobSpawning falsegamerule doMobSpawning false
No hostile mobs onlygamerule spawn_monsters falsegamerule spawnMonsters falsespawn-monsters in the Config Editor

The spawn_mobs rule is for natural spawning. Spawner blocks have their own rule, spawner_blocks_work on 1.21.11 and newer.

Warning

The Config Editor still lists Hostile mobs, Animals and Villagers. Mojang removed spawn-animals and spawn-npcs in 1.21.2 and spawn-monsters in 1.21.9. On those versions the game rules above are the replacement for hostile mobs and for natural spawning as a whole. No game rule covers Animals or Villagers on their own, so spawn_mobs (or doMobSpawning) is the only vanilla switch that stops them.

More on the file layout is in the guide to editing bukkit.yml, spigot.yml and Paper config. If a busy server is lagging, see Why is my server lagging? Find the cause.

Was this guide helpful?

Still stuck?

Talk to a real person, we answer fast.

  • Open a ticket

    Paste the exact error and name your server, so we can look at it from our side.

  • Ask on Discord

    Chat with the team and other server owners.

  • Browse the Help Centre

    Versions, mods, plugins, backups and RAM sizing, all in plain English.

Ready to launch your Minecraft server?

Aussie hardware, NVMe disks and DDoS protection, with the version and mod loader yours to change whenever you like.