MobRepellent v0.7.2
MobRepellent allows players to construct "repellers" that will prevent hostile mobs from spawning within a certain distance. This is useful for cities and other settlements where mass amounts of torches are not aesthetically pleasing and cannot guarantee that mobs won't spawn.
Get it!
Download v0.7.2 for CB-1.2.3-R0.2 - Source (github)
Download the sample config.yml file (place it in your plugins/MobRepellent directory)
How do I use MobRepellent?
Simply drag the MobRepellent plugin .jar file into your Bukkit /plugins directory. MobRepellent will automatically create all the necessary files.
Once the plugin is loaded, to create a repeller you'll need 7 iron, gold, or diamond blocks. First, using five blocks, construct a shape that looks like a plus sign (+) parallel with the ground. Next, place the remaining two blocks directly above the block in the center of the plus sign. See these:
How to Construct the Base

Completed Structure

After the repeller is constructed, no hostile mobs will spawn within a cuboid radius of the base of the repeller. For instance, if the radius is 50 blocks, it will repel in a 100x100x100 cube centered at the base of the repeller. Neutral mobs are not blocked by default, but this can be configured in the config.yml. MobRepellent does not affect mob spawners, hostile nor passive. To remove the repeller, simply remove one of the blocks that is part of the repeller.
Default repeller types and radii:
- Small - Iron block - 20 block radius
- Medium - Gold block - 30 block radius
- Large - Diamond block - 50 block radius
Console and Admin Commands
All console commands default to OP-only.
/mrlist - Lists all currently loaded repellers
/mrreload - Reloads the configuration file
/mrremove [repellerNumber] - Removes the selected number
as found in the list given by /mrlist. Does
not remove the repeller structure.
/mrremoveall - Removes all currently loaded repellers. Does
not remove the repeller structure.
Permissions
MobRepellent now contains support for Bukkit permissions. Using a plugin such as PermissionsBukkit will allow you to take full advantage of the new functionality.
mobrepellent.* - Access to all permissions
mobrepellent.list
Default: OP-only
Allows use of /mrlist command
mobrepellent.reload
Default: OP-only
Allows use of /mrreload command
mobrepellent.remove
Default: OP-only
Allows use of /mrremove command
mobrepellent.removeall
Default: OP-only
Allows use of /mrremoveall command
mobrepellent.create
Default: all players
Allows player to create a repeller
mobrepellent.destroy
Default: all players
Allows player to destroy a repeller
Configuring MobRepellent
You can configure MobRepellent to use almost any block type instead of the default blocks. You can also configure MobRepellent to use any radius to repel mobs, and select which mobs to repel and which to ignore.. On the first run of the plugin, MobRepellent will automatically create a config.yml file with the default values. See this sample config.yml file for more information.
Todo list
- Custom repeller shapes (admin defined structures)
- Possibly add visual cue that repeller is working. Possibly with the top block on fire (as suggested by @darklust ). This will be configurable and probably default to off.
- Possibly add configuration option to make repellers require fuel.
Known Issues
- TNT and creeper explosions can destroy repeller structures without destroying the actual repeller functionality
- Permissions allow players to "construct" an inactive repeller, but not destroy it
Changelog
Version 0.7.2
- Added configuration option to allow spawning below a repeller, regardless of its radius
Version 0.7.1
- Configuration files are now fully functional, although the format has changed (old format config files will automatically update to the new format). See the sample config.yml on GitHub for more info.
- Reloading config file while in-game is now fixed
- Damage values for blocks (e.g. orange wool) now works using '@' in the config file
- Many fixes to spawn-blocking (squid, villagers, golems, snowmen, spawner eggs, etc)
Version 0.7.0
- Basic functionality restored for CraftBukkit 1.2.3-R0.2 (#2060)
- Removed glowstone from restricted blocks, added mycelium, end stone
- Introduced small configuration file bugs (must stop server, edit file, restart server for changes to take effect)
- Introduced (re-introduced?) bug with squid being blocked from spawning, regardless of configuration options
For previous versions, see the README file.
Notify me of any bugs or suggestions you have. I'd like to make this as useful as possible.
Facts
- Date created
- Oct 04, 2011
- Categories
- Last update
- Mar 23, 2012
- Development stage
- Release
- Language
- enUS
- License
- Public Domain
- Curse link
- MobRepellent
- Downloads
- 6,224
- Recent files
- R: MobRepellent v0.7.2 for CB 1.2.3-R0.2 Mar 23, 2012
- R: MobRepellent v0.7.1 for CB 1.2.3-R0.2 Mar 20, 2012
- A: MobRepellent v0.7.0-DEV for CB 1.2.3-R0.2 Mar 17, 2012
- R: MobRepellent v0.6 for CB 1240 Oct 18, 2011
- Reply
- #64
BayingWolf149 May 02, 2013 at 20:36 UTC - 0 likesok, everyone check this out! It is to be the replacement for mobrepellent! I cannot update mobrepellent any more as its not my plugin and I do not want to debug the code anymore. This plugin is coded from scratch and does not use the mobrepellent source code. Click below to get a glimpse of whats coming.
MobSpawnControl - The MobRepellent Replacement
- Reply
- #63
BayingWolf149 Mar 26, 2013 at 22:47 UTC - 0 likes- Reply
- #62
BayingWolf149 Mar 15, 2013 at 17:03 UTC - 2 likesI just sent an email to WillPall to see if he is still planning on updating the plugin. May also send him the code from the fixes me and my friend have made if he needs to see them.
- Reply
- #60
BayingWolf149 Mar 03, 2013 at 04:38 UTC - 2 likesHere is the MobRepellent v0.8 as promised :)
http://adf.ly/KA2Hm
This update includes:
- built in config file "will create a detailed one for you now"
- fixes for the golems not spawning
- fixes for the unknown Ocelot mob
- works with mc 1.4.7+
- config.yml no longer clears itself randomly
- Reply
- #59
Icefang23 Feb 18, 2013 at 21:04 UTC - 0 likesplease update
- Reply
- #57
IndigoParadox Feb 12, 2013 at 07:44 UTC - 0 likes@BayingWolf149: Go
Config file is empty and when I paste the config example and reload it clears it once more.
Craftbukkit 1.4.7 beta
EDIT: I got it to load with /mrreload Next problem is - Ocelot is "unknown mob" Is this because repel_neutral is false? If so I think the list: should override it. But that's just a suggestion. Now that I have it working properly, great plugin. 5/5. Thanks for sharing.
- Reply
- #55
BayingWolf149 Jan 20, 2013 at 03:01 UTC - 0 likes@S0ulR3av3R: Go
All you have to have is the 0.8dev version :P
- Reply
- #54
Zierk Jan 15, 2013 at 22:34 UTC - 0 likesWorks great. Thanks for the contribution BayWolf.
- Reply
- #51
Six_shooter87 Jan 08, 2013 at 20:21 UTC - 0 likes@BayingWolf149: Go
I tried both to reload and restart my server, both don't make it able to open the jarfile, or at least seem to recognize it, I even just installed the latest dev-build, still no go :(
any tips?
- Reply
- #48
Six_shooter87 Jan 08, 2013 at 00:07 UTC - 0 likes@BayingWolf149: Go
does this one work, as opposed to the one Jaiph commented?
please PM me...