NoSpawn
ModDisable selected mob spawns with commands, permissions, and persistent config.
Description
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
Compatibility
Mod Loaders
Game Versions
Recommended Gear
AffiliateHardware and extras that pair well with this mod.
Mini PC for Self-Hosting
A low-power box that can sit in a cupboard and run a modded server around the clock.
Minecraft Enderman Character Plush
Enderman plush toys, and a reliable gift for a younger player.
As an Amazon Associate I earn from qualifying purchases.
Similar Mods
Fear Mimic
Fear Mimic adds unsettling, player-like entities to Minecraft that behave almost exactly like real players… until you no...
Formula Loader
Load Json to Formula for modders and datapack users.
Iron's Spells More Interaction
Adds some cooperative elements to several add-on mods for Irons Spells
Mystcraft Data Pack: Open New Dimensions!
Are you interested in exploring 7 new Minecraft dimensions, in the spirit of popular game series MYST? The Mystcraft Dat...
Cross Evolution
Lets players evolve across races with an evolution map for Tensura Reincarnated.
Boss Dps Tracker
A lightweight mod that tracks player damage to bosses.