[INACTIVE][MECH/ADMIN] Mobiile the Mob Entidex v1.1 - Control Mob Spawn [860]

Discussion in 'Inactive/Unsupported Plugins' started by Nijikokun, Mar 9, 2011.

  1. Offline

    Nijikokun

    Mobiile v1.1.2
    irc://irc.esper.net/#iconomy - Donate ?

    Download The Latest Mobiile (Latest RB Build)

    [​IMG]

    Tired of mobs, animals and monsters, overrunning your towns, farms, or just your worlds in general? Mobiile, the Entidex for bukkit is your solution.

    Prevent mobs from spawning in specific areas based on a radius solution; If a mob tries to spawn outside of its designated areas, it simply won't spawn. Give a percentage to lessen the amount of mob spawns inside of the designated areas, mix areas for unique mob spawning types, finally create a specific area in your world where only specific mobs spawn.

    Deserts can now finally just consist of just skeletons, Snow? No problem, only let sheep spawn there.

    How? /mobi allow [mob-name] [radius] [%]

    It will then save an entry of the area that you are standing in, and only let monsters that try to spawn there, well spawn. It also supports multiple worlds, so don't worry. Go on another world and add entries there, entries won't mix between worlds so you don't have to worry about a entry affecting another world.

    Commands:
    Show Spoiler
    /mobi or /mobi help - Shows help
    /mobi pos1 (reset) - Set your first position
    /mobi pos2 (reset) - Set your second position (cubes)
    /mobi list - Lists entries in the Entidex, and gives entry id's for update / remove / goto
    /mobi goto [id] - Go to the location of spawn
    /mobi allow [mob-name] [radius] [%] - Add an entry, leave % off for 100% as default.
    /mobi update [id] [mob-name] [radius] [%] - Same as add, just updates an entry.
    /mobi remove [id] - Remove an entry

    How to effectively use mobiile
    Radius Entries (open)
    First find an empty area and type: /mobi pos1
    [​IMG]

    Figure out what mob you want to spawn, what radius (how large of a circle), and what %.
    I'm going to let Cows spawn (since it's day) in a radius of 20 (Pretty decent for a small area), at 100% (high spawn rate)
    So I would type: /mobi allow cow 20 (Since we are using 100% we don't need to declare a percentage, the default is 100)
    [​IMG]

    And now, cows will spawn in that area.
    [​IMG]

    Note Negative circles (Deny) are made the same way, except you just type: /mobi deny instead of allow.
    Cuboid Entries (open)
    First find an empty area, or an area that you wish for a mob to only spawn in.
    Find the two corners of the cube area, just as in WorldEdit, point a, and point g.
    First Position Type: /mobi pos1 (Always type first, and don't worry typing it multiple times won't mess anything up)
    Second Position Type: /mobi pos2 (If you accidentally mess up you can now either type it again or add reset to the command to remove it.)
    [​IMG]

    Figure out what mob you want to spawn, what radius (how large of a circle), and what %.
    I'm going to let Pigs spawn (since it's day) inside the cube, at 20% (medium spawn rate, and to show you how to do this)
    So I would type: /mobi allow pig 0 20 (Since we are using cuboid and not radius we set radius to 0, if you aren't doing a percentage you just type /mobi allow pig and thats it.)
    [​IMG]

    And now, pigs will spawn in that area.
    [​IMG]

    Note Negative cuboids (Deny) are made the same way, except you just type: /mobi deny instead of allow.

    Permission Nodes:
    Show Spoiler
    mobiile.help
    mobiile.list
    mobiile.positioning
    mobiile.positioning.cube
    mobiile.goto
    mobiile.admin.add
    mobiile.admin.update
    mobiile.admin.remove

    Changelog:
    Show Spoiler

    • 1.1.2
      • Added wolves / monsters
    • 1.1
      • Added Negative circles/cubes (Deny)
      • Positioning commands (remembers positions after adding, remember to reset!)
      • Added Cuboid style, seams easily with radius.
      • Better Entry management internally for faster checks.
    • 1.0.2
      • Changed getMobType to getCreatureType
    • 1.0.1
      • Fixed Permissions issues.
      • Fixed issues where not entries exist. Now just shows in-game error.
    • 1.0
      • Initial Release.
     
    oleg, Wakko and thecoolwolf like this.
  2. Offline

    Tealk

    can you add a setting to set up how many mobs spawn?
     
  3. Offline

    Mukrakiish

    Do you mean not a percentage but a fixed number of them to spawn @ specified percentage (to define how many at a time) until that number is met and then they don't spawn anymore for the day/night?

    @chernobyl360:

    An idea from your mention for a config if Nijk would be up for this, perhaps be able to chose where your intended mob spawn will spawn via block height either from bottom or using sea-level as your base and then you could decide say, "pig, cow" 64-128 so they would spawn anywhere above ground but restrict say sheep to be "mountain goats" so they would be say 86-128 and only spawn from 86 or higher up on mountain tops.

    The same could be said for say...you want a really nasty creeper/spider mix in the darkest depths of only 30-0 and then switch up other ranges 128-30 (which would be sky to level 30 underground) as generic global zombie/creeper/spider/skellie levels. That way you could have very interesting control over the whole world. Be amazing for adventure maps or themed maps.

    Been busy with homework but if I get a chance I'll try to figure out what the %'s would be for a generic spawn rate across the global map so you can have "default spawn values" across the map so that if you wanted concentrated area's (or if Nijk includes exclusion area's) then you can set them wherever you like without worrying about botching your map.
     
  4. Offline

    steezo

    What happens if you have overlapping zones? Which zone takes precedence?

    The reason I ask is we want to set slimes to 0% across the entire map, disallow ALL mobs in our cities, but keep the normal rate of mob spawning across the rest of the map. Is this currently possible?
     
  5. Offline

    trivials

    Squids and slime spawn :(

    IT will be nice if i can more mobs for an area with the same spawn rate :)

    More modifcation will be nice.
     
  6. Offline

    Nijikokun

    I might make it possible to negate specific areas / heights in future releases, its just algorithms need to be worked out before releasing it.

    It only controls the mobs from spawning in areas, there are other mob plugins that cause mobs to spawn more or less and it will work with those perfectly fine, or atleast it should.

    whichever one comes first currently, which Is why I was talking about creating the opposite type of zones where it negates them from spawning in areas.

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

    DryRoastedLemon

    This looks like a really nice plugin! If you're going to add in polygonal mode, please keep in the radius mode. I personally just find radius zones to be much better in terms of workflow :) It's less tedious and annoying :D
     
  8. Offline

    Monkah

    Plugin is broken, getting this error:
    [INFO] Monkah_Boy [/HIDDENIP] logged in with entity id 183
    2011-03-22 16:14:05 [INFO] Loaded world: Legion
    2011-03-22 16:14:05 [INFO] Persistence: Create a plugins/Persistence/permissions.yml to use internal permissions
    2011-03-22 16:16:06 [INFO] Reddeh [/174.97.146.253:49762] logged in with entity id 31462
    2011-03-22 16:16:10 [INFO] <Monkah_Boy> I see no ghasts
    2011-03-22 16:16:18 [SEVERE] java.net.SocketException: Connection reset
    2011-03-22 16:16:18 [SEVERE] at java.net.SocketInputStream.read(SocketInputStream.java:168)
    2011-03-22 16:16:18 [SEVERE] at java.net.SocketInputStream.read(SocketInputStream.java:182)
    2011-03-22 16:16:18 [SEVERE] at java.io.FilterInputStream.read(FilterInputStream.java:66)
    2011-03-22 16:16:18 [SEVERE] at net.minecraft.server.Packet.b(SourceFile:113)
    2011-03-22 16:16:18 [SEVERE] at net.minecraft.server.NetworkManager.f(SourceFile:155)
    2011-03-22 16:16:18 [SEVERE] at net.minecraft.server.NetworkManager.c(SourceFile:9)
    2011-03-22 16:16:18 [SEVERE] at net.minecraft.server.NetworkReaderThread.run(SourceFile:62)
    2011-03-22 16:16:18 [INFO] Reddeh lost connection: disconnect.genericReason
     
  9. Offline

    Monkah

    Are you going to update with a fix or is it an error on my end?
     
  10. Offline

    Zonkcraft

    I like the idea of the plugin. I would prefer a reverse that allowed normal spawning on the world and you only setup the zones where it can't spawn. My current problem is my server wants to explore the nether but Ghasts numbering in the 30-40s near the spawn are just blowing up the world before we can explore it. I would love to push them 300 blocks away from spawn.
     
  11. Offline

    Nijikokun

    Released new mobiile, for those running previous versions it will error out the first run
    it's re-writing your data.

    Enjoy!
     
  12. Offline

    Legolas75893

    I PM'd you about this, but could you add the entity "Monster" to the list of mobs?
     
  13. Offline

    Mukrakiish

    Thaaaank you Niji! Oh that is so nice to see! Your the best =D
     
  14. Offline

    JDD

    Question: Does this mod overwrite default spawns when first loaded. I.E. If I load this mod do I now have to repopulate all spawns by hand? My intentional use of this mod at the moment is mainly to negate mob spawns in area's as well as setting up a few specialty spawn points (pigzombies) in certain areas. Not to mention the fact that I simply prefer to use Niji's mods. However if it would mean having to redo the entirety of the worlds spawns that is a task I'm not quite willing to undertake atm.
     
  15. Offline

    Legolas75893

    Please? It's urgent.
     
  16. Offline

    opiumskittles

    Hi, I'm running bukkit version 544. I made sure to download the right version of Mobiile. Unfortunately, things don't seem to work right. Here's what I did:

    I selected a cuboid around the two cities on my sever. I told it not to spawn any of the monsters (Spiders, Skeletons, Creepers, and Zombies) but left the entire world alone. Well, after I used worldedit to butcher everything, nothing seemed to spawn anywhere.

    Then I decided to put a monster spawner down in my city to see if it would spawn a monster. It spawned a pig. Only the pig was invulnerable and could not be hit.

    Does the plugin actually disable all spawns to start with?
     
  17. Offline

    Techcuron

    When I set an area on a world 2 on my server to only spawn zombies for a Zombie stronghold map, but it denied all other mobs to spawn in my original world 1.
     
  18. Offline

    HandsUpFreak

    Yes, the same problem here.
    The Plugin block all standard spawns...
     
  19. Offline

    Sylentdrake

    This is fantastic.
    I installed this plugin to create no-monster zones around buildings and a newbie area. Works great, but it would be nice if it was possible to set the world-wide settings to something other than no-monsters. Or create entries that control all the monsters or animals at once.
    To get around this, I created normal rate allow zones for all mobs with a radius of 10,000.
    Then I made deny zones for all monsters where I needed to.
    Seems to be working just fine.
     
  20. Offline

    Mukrakiish

    What was your percentages for your default normal rate? I've been meaning to do that and never had time to fiddle to find the proper rate.
     
  21. Offline

    Sylentdrake

    Oh I didn't actually think about it, I just set them to 100%.
     
  22. Offline

    Mukrakiish

    Hmmm...on the old version I used 100% in a small radius and it boosted the amount spawning to insane amounts. I didn't try 100% @ a huge radius.

    Interesting...I was originally using this plugin as a way to artificially boost mob spawn rates. (I thought that's what 100% was for actually)
     
  23. Offline

    Nijikokun

    Updated to 602 - 612( and newer)

    Added wolf / monster. If the name wolf doesn't work post a message and let me know.

    Yes, it denies mob spawning always.

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

    ironman

    nice plugin, works fine even though i get this error in the console when someone logs in using
    latest reccomended, CB build #612
    Code:
    17:30:21 [SEVERE] Could not pass event CREATURE_SPAWN to Mobiile
    java.lang.NullPointerException
            at omg.nijiko.isa.pokemon.Mobiile$EListener.onCreatureSpawn(Mobiile.j
    :162)
            at org.bukkit.plugin.java.JavaPluginLoader$44.execute(JavaPluginLoade
    ava:432)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.
    a:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManage
    ava:255)
            at org.bukkit.craftbukkit.event.CraftEventFactory.callCreatureSpawnEv
    (CraftEventFactory.java:228)
            at net.minecraft.server.World.a(World.java:724)
            at net.minecraft.server.ServerConfigurationManager.a(ServerConfigurat
    Manager.java:94)
            at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:87)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:27)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:87)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    
     
  25. Offline

    Nijikokun

    Re-download
     
  26. Offline

    JDD

    Still was hoping to get an answer on this Nijikokun. Will this plugin disable all default spawns when I install it? If so is there a way to reset the entire world spawn?
     
  27. Offline

    Michael Murphy

    This plugins interferes with the default spawning system. If you'd like you can just remove this plugin, and it will be back to normal.
     
  28. Offline

    JDD

    That's what I figured. I'm still yet to find a very solid spawn control plugin :/ Thank you Michael
     
  29. Offline

    wildshoetwt

    does this allow you to increase mob spawn?
     
  30. Offline

    MrAllthat

    Ok here are things this plugin needs to be an *essential* plugin on my server:
    A config file is necessary.
    default world spawn settings for each animal organized by world (multiworld)
    This could be as follows:
    world:
    pig: 10
    sheep: 10
    cow: 10
    world1:
    pig: 10
    sheep: 10
    cow: 10
    etc...
    There needs to be a subzone setup that makes it so subzone settings override their parent zone settings.
    setup in this order or priority
    child -> parent -> world setting
    just have it saved as world.zone1.subzone adding more periods with names as you add more subzones (who would really need more than a couple subzones?)
    The point of this is so that my world spawns animals with default spawn rates except inside cities. Then inside the city I can have a farm that has higher than normal spawn rates for my farmer to gather pork, leather, wool etc.

    It ruins the economy when people have no need to buy products from the farmer since there are animals in their front yards already.

    Anyway I appreciate where you are in this plugin right now and I like the way it works so far minus the canceling of default world spawns. I hope my suggestions help you develop your plugin to perfection.
     
  31. Offline

    omnirusted

    If this plugin could be modified to INCREASE mob spawns as well, I know a lot of people who would be very happy. You can so far set the percentage to 100%, but if you set it to 110% or anything above 100% it says "invalid percentage" or something. It don't work. If you can do it, please PLEASE make it so that you can set the mob percentage to higher. You're our only hope!
     

Share This Page