sMobToggle - Toggle Mob Spawning
Tired of clunky, overcomplicated plugins just to stop a few Creepers from blowing up your builds? Looking for a lightweight and reliable way to manage exactly how and where mobs spawn on your server?
sMobToggle is your solution. It's a powerful, intuitive, and "smart" mob management plugin designed to give server administrators complete control without the headache. Whether you're running a peaceful creative server, a challenging survival world, or a complex minigame network, sMobToggle provides the tools you need in a simple package.
Why Choose sMobToggle?
- Lightweight & Reliable: Built to be efficient and stable, sMobToggle won't bog down your server.
- Intuitive Commands: A clean command structure with the handy /smt alias makes management fast and easy.
- Multi-Layered Control: Manage mobs globally, on a per-world basis, or even target specific mob types.
- Powerful Configuration: Set up all your rules directly in the easy-to-read config.yml and simply reload.
The "Smart Toggle" Feature
This is what sets sMobToggle apart. Instead of just blocking a mob entirely, you can control
how it spawns.
Want to disable natural Phantoms but keep them available via spawn eggs for an event? Want to turn off mob spawners for an XP-farm-free experience but keep natural nighttime monsters? With sMobToggle, you can!
You can toggle spawning from:
- NATURAL: Mobs spawning naturally in the world.
- SPAWNER: Mobs from a monster spawner block.
- SPAWN_EGG: Mobs created from a spawn egg.
- BREEDING: Animals created from breeding.
- REINFORCEMENT: Zombies that spawn as backup when another is attacked.
- And many more!
Commands
The main command is /smobtoggle with a convenient /smt alias.
- /smt reload - Reloads the configuration file from disk.
- /smt status [world] - Shows a clear summary of all active mob rules, globally or for a specific world.
- /smt clear <all|hostile|passive|mob_type> [world] [radius] - Instantly removes entities to reduce lag or manage your world. You can specify a world and even a radius from your position.
- /smt toggle <mob_type> [on|off] [world] - Quickly toggle a specific mob on or off. (Note: This command is best managed through the config file for permanent changes).
- /smt toggle-spawntype - The core command for toggling specific spawn reasons.
Permissions
- smobtoggle.admin.reload - Allows usage of the /smt reload command.
- smobtoggle.status - Allows usage of the /smt status command.
- smobtoggle.clear - Allows usage of the /smt clear command.
- smobtoggle.toggle.mob - Allows usage of the /smt toggle command.
- smobtoggle.toggle.spawntype - Allows usage of the /smt toggle-spawntype command.
Default Configuration (config.yml)
The plugin is powerful right out of the box. You can configure almost everything without ever touching a command.
Code (YAML):
# sMobToggle - Simple Mob Toggle Configuration v1.0
# This is a list of mobs that will be blocked from spawning EVERYWHERE,
# regardless of world or spawn reason.
global-disabled-mobs
:
- PHANTOM
- VEX
# This is a list of spawn reasons that will be blocked EVERYWHERE.
global-disabled-spawn-types
:
- REINFORCEMENT
# Per-world settings provide more granular control.
world-settings:
world_creative
:
# Disable all natural spawning and spawners in the 'world_creative' world.
disabled-spawn-types
:
- NATURAL
- SPAWNER
world_survival
:
# Protect builds by disabling specific mobs in the main survival world.
disabled-mobs
:
- CREEPER
# Settings for the /smt clear command.
clear-command
:
# Set to true to broadcast a message to all players when a clear command is used.
broadcast-message
: false
Installation
- Download the sMobToggle.jar file.
- Place the jar file into your server's /plugins folder.
- Restart or reload your server.
- Edit the generated config.yml in the /plugins/sMobToggle/ folder to your liking and run /smt reload.
Author: Spacexstudio
Discord: https://discord.gg/6Z2WtjShA2