SANDBOX — this is a test environment. No servers are actually deployed and no real payments are charged.
✓ VerifiedCreatures & NPCs

Mob Limiter

by mss1r · for Minecraft

Set per-chunk and world limits to manage mob spawning and prevent overcrowded farms.

23KDownloads
18 mo agoLast updated
MITLicense
ForgeLoaders

About Mob Limiter

From Modrinth

Set per-chunk and world limits to manage mob spawning and prevent overcrowded farms.

This mod lets you control mob spawning by setting per-chunk and world limits, helping to prevent overcrowded farms or excessive mob spawns.

Features

  • Chunk Limits: Restrict mob counts per chunk to avoid overcrowding.
  • World Limits: Set global caps for total mob populations.
  • Targeted Limits: Apply restrictions to specific mobs, categories, or namespaces.
  • Modded Mobs: Supports mobs registered in Forge.
  • Excess Handling: Remove excess mobs via silent despawn or kill with loot and experience.
  • Despawn Control: Choose vanilla rules, custom despawn ranges, or persistent mobs.
  • Commands:
  • /moblimiter reload: Refresh config without server restart.
  • /moblimiter info: Display active settings.
  • Priority System: Limits prioritize specific mobs, then categories, namespaces, and defaults.
  • Optimized: Asynchronous processing ensures smooth server performance.

Configuration

Customize limits and despawn behavior in config/moblimiter.json5. Example:

{
  // Vanilla despawn settings
  // mode: "vanilla" (default rules), "custom" (set min/max distance), "disabled" (persistent mobs)
  "vanilla_despawn": {
    "mode": "custom",
    "min_distance": 32.0, // Min distance (blocks) to despawn (for "custom" mode)
    "max_distance": 128.0 // Max distance (blocks) to despawn (for "custom" mode)
  },
  
  // World-wide mob limits
  // enabled: true/false to toggle world limits
  // total: Max mobs in the world (-1 for unlimited)
  // removal_type: "despawn" (silent) or "kill" (drops loot)
  "world_limits": {
    "enabled": true,
    "total": 500, // Total mobs allowed in the world
    "removal_type": "despawn",
    "mobs": {
      "minecraft:cow": 100, // Max 100 cows in the world
      "minecraft:pig": 100, // Max 100 pigs in the world
      "minecraft:zombie": 50 // Max 50 zombies in the world
    }
  },
  
  // Per-chunk mob limits
  // enabled: true/false to toggle chunk limits
  // default.limit: Default mob cap per chunk (-1 for unlimited)
  // removal_type: "despawn" (silent) or "kill" (drops loot)
  "chunk_limits": {
    "enabled": true,
    "removal_type": "despawn",
    "default": { "limit": 20 }, // Default limit for unspecified mobs
    "mobs": {
      "minecraft:cow": 10, // Max 10 cows per chunk
      "minecraft:pig": 10, // Max 10 pigs per chunk
      "minecraft:chicken": 10, // Max 10 chickens per chunk
      "minecraft:creatures": 15, // Max 15 creatures (animals) per chunk
      "minecraft:*": 8 // Max 8 of any other Minecraft mob per chunk
    }
  }
}

Usage

Follow these steps to set up and use Mob Limiter:

  1. Install the Mod:

Add Mob Limiter to your server (client installation is optional). The mod is server-side and works without requiring clients to install it.

  1. Configure Limits:

After launching the server, find config/moblimiter.json5 in the server directory. Edit the file to set your desired limits and despawn behavior (see the example above). Save the file after making changes.

  1. Apply Changes:

Run /moblimiter reload in-game or via the server console to apply changes without restarting.

  1. Check Settings:

Use /moblimiter info to view the current configuration, including despawn mode, world limits, and chunk limits.

Highlights

From source data

Game versions

Built for Minecraft 1.20.1.

Loaders

Runs on Forge.

Footprint

Rated a light load on a server.

What kind of mod it is

From the catalog
Listed on Modrinth as “Mods”

Creatures & NPCs

Adds or changes creatures, NPCs and how they behave.

Runs on your server

From source side support

Modrinth lists Mob Limiter as required on the server. Check its Modrinth page to see whether players need it too.

Compatibility

Game
Minecraft
Loaders
Forge
Runs on
Serverrequired on the server
Game versions
1.20.1

Verified at the source

  • ✓ModrinthOfficial listing, checked 2026-10-01Open ↗
  • ✓Authormss1r, as published on Modrinth
  • ✓LicenseMITFree

Mob Limiter, answered

Generated from the mod’s own source data.

Do my players need to install Mob Limiter?

Modrinth lists Mob Limiter as required on the server. Check its Modrinth page to see whether players need it too.

Which loaders does it support?

Forge.

Is it free?

Yes. Mob Limiter is free to download from Modrinth. Its license is MIT.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run Mob Limiter on a Minecraft server.

Deploy in about a minute from $4.20 a month, then add Mob Limiter in one click.