Mineuniverse
Log in Register
Plugins

MobToggle

Turn monsters and animals on and off while the server is running.
by 1000_1110
Download Claim this project
11,732 downloads
0 likes
Updated Jun 30, 2026
0 hypes
Admin Tools Mechanics

MobToggle - simple Mob control:

Version: v1.2

By request:

MobToggle is a simple plugin that allows you to turn monsters and animals on and off using simple commands. It is permissions compatible, and allows you to control both monsters and animals separately. It supports multiworld, and will only modify the world you are standing in when you use it.

When you turn Monsters off, it automatically kills all monsters on the map, and reports how many of them were killed.

However, it will NOT prevent mobs from spawning by unnatural means, such as other plugins. I have done some testing and it seems to be working fine, but please do report any problems and I will try to fix them quickly.

The commands are:

  • /montoggle - turns monsters on/off
  • /anitoggle - turns animals on/off
  • /mobtoggle - turns monsters AND animals on/off.

A note about /mobtoggle: it switches both of these independently of the state the other is in. This means that, for example, if monsters are off and animals are on, using /mobtoggle will turn monsters on and animals off!

the permissions are as follows:

  • MobToggle.MonToggle - allows /montoggle
  • MobToggle.AniToggle - allows /anitoggle
  • MobToggle.MobToggle - allows /mobtoggle
  • MobToggle.* - allows all of the above.

Each of these are given to OPs by default.

Features:

Allows you to turn monsters on/off Allows you to turn animals on/off Still allows other mob spawning plugins to function When Monsters are off, health regenerates. Persistence (settings optionally carry through reboot, see below)

About Persistence ATTENTION: TURNS OUT I BROKE THIS! HOPE TO HAVE IT BACK SOON!

Persistence is now available for MobToggle. What that means is that when you stop the server it will save the state of each world, and attempt to restore those settings when you next boot up. It will always save the settings, but will not load them unless you change persistence: false in config.yml to persistence: true. This file will only exist after you run the server at least once. The setting is off by default because it conflicts with other plugins that attempt to manage the same settings, such as multiverse. Mobtoggle still operates fine with these plugins (to my knowledge) when persistence is kept off.

You can also change the saved spawn settings in the file manually, if you want. Settings are stored as [worldname]: [setting]. Simply alter the entry for the world in question to use the new setting. Valid options are:

  • monsters
  • animals
  • both
  • neither

The file should not be case-sensitive and technically only reads the first character, so it should be fairly difficult to break. In the event that it does read an invalid setting, however, it will simply default to "both".

Mobtoggle V1.2.2
MC CB 1.2.4-R1.0
Release 2012-03-31 Get
MobToggle V1.2.1
MC CB 1.2.3-R0.2
Release 2012-03-29 Get
MobToggle V1.2
MC CB 1.2.3-R0.2
Release 2012-03-16 Get
V1.1
MC CB 1.1-R6
Release 2011-09-22 Get
v 1.0
MC CB 1185
Release 2011-08-29 Get

More from 1000_1110

AFKbox
6,006

You Might Also Like

AdBolt Advertising Network
Make money from your Minecraft server by running ads!
9,992
Mineload
Mineload
9,978
BeastTP
BeastTP v1.0 - Teleportation Made Easy! -[Permissions][1317]
9,966
RegionManager
generate regions with just one command!
9,950
TimeKeeper
Keep the Server-Playtime per Day
9,948
SimpleAdmin
simple way to ban/kick unwanted players from your server
9,945