Inactive [MECH] MobRepellent v0.7.2 - Build a structure that stops mobs from spawning in an area [1.2.3-R0.2]

Discussion in 'Inactive/Unsupported Plugins' started by WillPall, Aug 27, 2011.

  1. Offline


    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.


    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

    Default: OP-only
    Allows use of /mrlist command

    Default: OP-only
    Allows use of /mrreload command

    Default: OP-only
    Allows use of /mrremove command

    Default: OP-only
    Allows use of /mrremoveall command

    Default: all players
    Allows player to create a repeller

    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

    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.
    columb, mps1969 and FuturaEX like this.
  2. Offline


    Yep. That was the exact problem I had a long time ago. Bukkit has a bug in one of their functions that works incorrectly if the chunk is loaded and then unloaded.

    I've put adding a whilelist option on my to-do list. For now, I think magma cubes are "LavaSlime", and pig zombies are "PigZombie", but spider jockeys are weird. I think stopping spiders from spawning will stop spider jockeys, but I'm not sure.

    I am working on the plugin though. I'm trying to get all the bug fixes worked out and release them all at once. No reason for you guys to have to keep updating the plugin every few days.

    Ach! 1.2.5 is out. Haven't had a chance to test, but I'm going out on a limb and saying that the current version of MobRepellent should work fine. Let me know of any issues. I'll be testing this soon when I get back to a machine that has a CB server installed.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 19, 2016
  3. Offline


    Hey, I built a repeller, but It doesn't seem to be working. I got a confirmation chat message, but monsters still spawning.
  4. Offline


    Where are the persmissions being held? i cannot find them anywhere :(

    What do i do to prevent anyone but owners from using this command?? ive tried using group manager to disable them but it tells me that they dont have access to the permission.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 19, 2016
  5. Offline


    Why do i get a spam in my Console?
  6. Offline


    I'm having some trouble on my server - mob repellers worked great for me so far but for the past couple of days they seem to be completely not working - at all... Is it possible to have TOO many repellers in a world? I recenty installed multiverse and tested a gold repeller in my new world i created and it is working flawlessly whereas diamond repellers placed on my main server world seem to be performing about 1 quarter of what they usually do when they're working fine..

    Is anyone else having a problem? Nothing is wrong with my config as it's working fine on my private server and in a second world on my main server.. I did recently update to the latest RB for craftbukkit - but as i said before it has been a couple of days so even before I update they were still malfunctioning .. no errors in the logs to post .. =/
  7. awesome plugin! just 1 minor problem.. cant change repeller block ID's, everytime i reload server after i changed ID's config file resets. im using 1.2.5 r4
  8. Offline


    I'm still here, and working on your issues. I've recently moved to a different state in the US, so it's been a bit hectic. The plan is to fix the major bugs (the ones you guys have been posting about), and I'm also currently working on the complete rewrite, which is coming along nicely. I'll keep you guys up-to-date. Hang in there. If anyone else wants to work on the plugin, the GitHub project is open and I'd be happy to do any merges.
  9. Offline


    Update to 1.3 pleaseee :D
  10. Offline


    Just updated my server and this plugin seems to be working fine with 1.3.1 R1.0.
  11. Offline


    I got to say thanks to the creator of this plugin because the version works perfectly on the 1.3.1 and i am glad to see that, since a lot of other plugins are bugging.

    I got some new ideas maybe you should do for the 1.3.1, like using the emerald as a new tower type maybe bigger than the diamond or just between gold and diamond i don't know.

    Anyway your plugin is great dude, Thanks.
  12. Offline


    Could you not make it fire? Do you think you could just have a glowstone lamp light up or something?
    I use alot of mobrepellers, and all the fire would crash my tiny little server
  13. Offline


    I'm running on Bukkit 1.3.1 R2.0 and if I make ignore_below: true then all the repellers don't work at all.
    Also when I change the config.yml and then use /mrreload the config is resetted to the state before the change was made. The only way to change settings is shutting down the server, change config and start server again. This is really annoying.
    Please update the plugin and fix these issues.
  14. Offline


    Hey, any idea when you'll be updating this? Minecraft went to 1.4.4 and now the plugin doesn't work with the current bukkit version... Me sad....
  15. Offline


    Yeah 1.4.4 broke mob repellent. Would love to have this plugin updated. :)
  16. Offline


    Indeed, I relied on them to keep creepers out of my cities...
  17. Offline


    Too bad it broke, love the plugin!
  18. Offline


    Not sure if Will is even still keeping up to date on this :/
  19. Offline


    Oh, I hope so. This is the NUMBER ONE plugin that I HAVE TO HAVE on our server. Without it, playing as we intend is very difficult.
  20. Offline


    Beta 1.4.5 bukkit build broke this plugin. I love this plugin, but the author haven't been online since June. I would like to see anyone else updated it. Good thing it's a open source plugin, so anyone else can update it.
  21. Offline


Share This Page