
NoSpawn
Disable selected mob spawns with commands, permissions, and persistent config.
About this Mod
NoSpawn
NoSpawn is a Fabric mod that disables spawning for selected mob types using in-game commands. It is useful for server management, modpack balancing, custom maps, and any setup that needs precise control over mob spawning.
Features
- Disable any single mob type or multiple mob types, not only the example mobs.
- Supports vanilla mobs and registered modded mob types.
- Supports both
/nsand/nospawn. - Works in singleplayer, LAN worlds, and dedicated servers.
- Saves disabled mob types to
config/nospawn.json, so changes persist after restarts. - Automatically switches between Chinese and English messages based on the player's game language.
- Supports LuckPerms permission groups with OP fallback.
Commands
<type> is a mob ID, such as minecraft:creeper, minecraft:vex, or minecraft:phantom. These are examples only; you can use any valid mob ID. After typing /ns add or /nospawn add , Minecraft will show available mob suggestions.
/ns
/nospawn
/ns add <type>
/ns remove <type>
/nospawn add <type>
/nospawn remove <type>
Examples:
/ns add minecraft:creeper
/ns add minecraft:vex
/nospawn add minecraft:phantom
/ns remove minecraft:vex
Permissions
Either OP permission or a matching LuckPerms node is enough. nospawn.admin allows every NoSpawn command.
nospawn.admin
nospawn.use
nospawn.add
nospawn.remove
LuckPerms examples:
/lp group admin permission set nospawn.admin true
/lp group helper permission set nospawn.use true
/lp group helper permission set nospawn.add true
/lp group helper permission set nospawn.remove true
Compatibility
Minecraft: 1.21.4 - 26.1.1 official releases
Mod Loader: Fabric
Fabric Loader: 0.19.2+
Fabric API: required
Download the jar that matches your Minecraft version.
Author And Credits
- Developer: bentianjia
- Contributor: ZURAN_
Special thanks to ZURAN_ for the design inspiration and valuable testing opportunities.
Links
- Source code: https://github.com/bentianjia/NoSpawn
Available Versions
How to Install NoSpawn on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (26.1.1).
Install Mod
Open the mod browser in the dashboard and search for "NoSpawn". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
26.1.1, 26.1, 1.21.11 (+7 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
NoSpawn server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (26.1.1). You can switch loaders with one click in the panel.
Is NoSpawn compatible with fabric?
NoSpawn officially supports fabric for Minecraft 26.1.1, 26.1, 1.21.11. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with NoSpawn – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if NoSpawn consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install NoSpawn with just one click on your server.