AntiMobSpawn
AntiMobSpawn
The Pest Controlling Plugin
The essential pest control plugin and general creature manager. With per world setting, control over which blocks creatures are allowed to spawn on, what types of spawns are to be stopped and which creatures are to be stopped from spawning (along with so much more (see below)) this plugin is perfect for those big servers where the aesthetics of the world are ruined by the huge quantity of torches required to keep the creeper from spoiling the beauty of your world.
Features
- Ultimate Creature Control
- Per world settings
- Control what blocks mobs can't spawn on
- Control which mobs can spawn
- Control how mobs can spawn
- Configurable spawn height limit
- Configurable spawn time period
- Safe zones where mobs can't spawn
- Unsafe zones where mobs can spawn
- Tab complete support for commands
- Dynamically generated configuration file
- Permissions for all the commands
Installation
Simply drop the downloaded jar file into your plugins folder (or equivalent). To prevent an error, create an ebeans.properties file in the same folder as your server jar. When the server is first run with the plugin installed, the config.yml file and the plugin database will be installed in the plugin folder. For details on the configuration file, click here
Command
There is many commands for configuring this plugin, most of them related to the zones. Please see here for details
Permissions
There are permissions for each command used by this plugin. Please see here for details
Todo
- Firewall like spawn rules (E.g Block spawner spawns of Creepers on all blocks on world1)
Change Log
Version 5.0
- Updated to MC 1.7.X
Version 4.01
- Updated to MC 1.5.2 (Bukkit Beta)
Version 4.0
- Updated to MC 1.4.7
- Added zone support
- Added height limit support
- Added time limit suppprt
- Added support for all new creatures (as of MC 1.4.7), including Zombie Villagers
- Added support for all new spawn reasons (as of MC 1.4.7)
Version 3.0
- Switched to using config.yml
- Types of spawns affected
- Command to reload config.yml
Version 2.0
- The properties file has been completely changed. Options are clearly labelled and the formatting will work with Notepad
- MultiWorld support!
- Ability to choose which creatures are affected
Version 1.1
- Added support for multiple blocks to be selected in the properties file (by default, 0 and 18 are in the file, but for some reason, notepad does not add the line separator, so when editing the file, please use a different text editor as notepad displays it all as one big line of numbers, that if replicated, won't work)(if this is confusing, please ask and I will try to explain it better )
Version 1.0
- Released AntiMobSpawn plugin
Wonderful plugin!
Would you fix this?:
Thanks!
Hi it is working good in 1.11.2, although I get some errors:
[14:28:18] [Server thread/INFO]: [AntiMobSpawn] Enabling AntiMobSpawn v5.0
[14:28:18] [Server thread/ERROR]: Error occurred while enabling AntiMobSpawn v5.0 (Is it up to date?)
java.lang.NoSuchFieldError: BED
at uk.samlex.ams.config.WorldConfig.<clinit>(WorldConfig.java:34) ~[?:?]
at uk.samlex.ams.config.ConfigStore.<init>(ConfigStore.java:51) ~[?:?]
at uk.samlex.ams.AntiMobSpawn.onEnable(AntiMobSpawn.java:66) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:271) ~[custom.jar:git-Spigot-7d78b81-70bc70b]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337) [custom.jar:git-Spigot-7d78b81-70bc70b]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [custom.jar:git-Spigot-7d78b81-70bc70b]
at org.bukkit.craftbukkit.v1_11_R1.CraftServer.enablePlugin(CraftServer.java:375) [custom.jar:git-Spigot-7d78b81-70bc70b]
at org.bukkit.craftbukkit.v1_11_R1.CraftServer.enablePlugins(CraftServer.java:325) [custom.jar:git-Spigot-7d78b81-70bc70b]
at net.minecraft.server.v1_11_R1.MinecraftServer.t(MinecraftServer.java:419) [custom.jar:git-Spigot-7d78b81-70bc70b]
at net.minecraft.server.v1_11_R1.MinecraftServer.l(MinecraftServer.java:380) [custom.jar:git-Spigot-7d78b81-70bc70b]
at net.minecraft.server.v1_11_R1.MinecraftServer.a(MinecraftServer.java:335) [custom.jar:git-Spigot-7d78b81-70bc70b]
at net.minecraft.server.v1_11_R1.DedicatedServer.init(DedicatedServer.java:272) [custom.jar:git-Spigot-7d78b81-70bc70b]
at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:542) [custom.jar:git-Spigot-7d78b81-70bc70b]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_60]
It is working in 1.11.
will it work on 1.11
@Kazathur92
no I don't know what is it, but it is still working perfect for my spigot 1.10 server.
@resoluciones
Hi! do you know whats the ebeans.properties file thing supposed to be? is it just a regular file? I created one in the same folder as my jar but its still gives me the error.. someone help me please xD
plugin working perfect in 1.9.2
Are you able to make it so spawners can only spawn in mobs/??
Ive set a zone but how do I make it into a safe zone
yes it works fine perfectly I left in all the falses - I just like clean config files that's all :-)
I also turned off nether portal spawning (of pig zombies) that also works - spawners still working fine though :-)
Not sure I've seen anything else as configurable of this - totally in charge of those mobs now
@jaz000
Yes, I think that should work but you will probably need to try it out to be sure. To answer your questions: 1) No, but the plugin may auto-generate the missing ones 2) Unfortunately not at the moment but I have thought of a way to implement this which should be in the next update.
Cool - this sounds more powerful that it first appears - I will have a play and see what I can do. Would this example below stop natural spawns of familiar friends? Q1: do I need to include all the 'false's it will ignore match on? Q2: can I include multiple block reasons - e.g. a 2nd block for the same world that block cows from spawner_eggs? - or am I limited to 1 block set per world?
world: world mode: global safe time start: 0 safe time end: 24000 global: height limit mode: above height limit: 0 all block types: true all spawn reasons: false spawn reason: natural: true all creatures: false creature: cave_spider: true creeper: true enderman: true skeleton: true slime: true spider: true zombie: true
@jaz000
Yes, this can provide that. Infact it is that sort of thing this was designed for. The spawn reason, creature type and block are check one after another, not individually. The config file is also from the point of view of what the plugin shoud try to block. So for your setup, on the world you wanted this, you could have all blocks as true, every spawn reason apart from spawner and egg as true and all the hostile mobs as true. Then (assuming other restriction such as time and height were alright) the plugin would block every hostile mob spawn apart from those caused by spawners and eggs. I hope the clears this up for you.
If I disable spawnreason natural - will passive mobs (pigs cows) also no longer spawn.
Looking for a way to block hostile mobs except from eggs and spawners but I don't think this can?
Hey I am trying this Plugin out, but i have an issue. No matter how i set my zone Name, P1,P2 monsters still spawn inside that area?
I created a zone with, /ams create ZoneOne then i added point one with /ams set ZoneOne p1, and walked over 40 blocks and did it again, /ams set ZoneOne p2. It says created, but they still spawn?
Or do i need to add something to "Essentials" or "WorldGuard"?
And the updated one, i just downloaded no matter where i place the "ebeans.properties" file it gets an error, is it compatible with Bukkit? Just wondering because it's in the same folder 3 above my "server.properties" file.
Thanks, TheGeekyDead
Has now been updated to 1.7.X.
Awaiting approvalAvailable for download now!@Sam_Lex
i appreciate that. Thanks for the quick reply and honest answer! =).
@Flamez44
I would like to say yes, but I have been promising a new version for far too long. Life just keeps getting in the way :|. In the next couple of weeks I have my University exams, so I doubt I will be able to work on this in this time, but the last one is the end of May, so theoretically I should be able to get an update out around the start of July.
Any update to 1.7.9 in the near future?
@GamingMania
Sorry for the long delay between updates, I am hoping to get this updated within the next week or so, but I am pretty busy at the moment having just started university