[MERGED][MECH] MobControl merged with CrowdControl

Discussion in 'Inactive/Unsupported Plugins' started by WinSock, Feb 18, 2011.

  1. Offline

    WinSock

  2. Offline

    Legolas75893

    Who got dibz?
     
  3. Offline

    CptBonex

    We need an update on this. I would gladly do it but I do not know if I have time for it. Isthere much to do?
     
  4. Offline

    Afforess

    TonyMcDanza and Livewire like this.
  5. Offline

    Livewire

    !! THANK YOU SIR!
     
  6. Offline

    Afforess

    Actually just found a minor NPE bug, and re-uploaded. Might want to grab a fresh copy.
     
  7. Offline

    Livewire

    Done; hadn't had a chance to reboot and start working with it anyways :)
     
  8. Offline

    blainicus

    I have two requests and one question:

    Question: Does this support bukkit version 556?

    Request: Add control for despawn time. As it is now, mobs despawn in about 10 minutes, which pretty much blocks any form of evolving world play (where it actually matters if you clear mobs in an area). In many cases hardcore servers using this plugin will also dislike the fact that the monsters cannot build up over a few days and then be "culled" by players.

    Request: Add a minimal readme to your new github page. Many large minecraft server hosts will not accept plugins unless they have some up to date documentation and version number pages.
     
  9. Offline

    Smallie07

    Can we get an update for build 617 please? (the latest recommended build)
    I used to use a similar plugin called Friendly but i cant seem to find it and it broke after minecraft 1.4 update.
     
  10. Offline

    Afforess

  11. Offline

    Azrooh

    Hey, I'm getting spammed with this (with the updated version by Afforess):

    Show Spoiler
    com.WinSock.MobControl.Listeners.MobControlEntityListener.onEntityTarget(MobControlEntityListener.java:148)
    at org.bukkit.plugin.java.JavaPluginLoader$43.execute(JavaPluginLoader.java:429)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
    at net.minecraft.server.EntityCreature.c_(EntityCreature.java:54)
    at net.minecraft.server.EntityLiving.r(EntityLiving.java:653)
    at net.minecraft.server.EntityMonster.r(EntityMonster.java:30)
    at net.minecraft.server.EntityZombie.r(EntityZombie.java:34)
    at net.minecraft.server.EntityLiving.f_(EntityLiving.java:231)
    at net.minecraft.server.EntityMonster.f_(EntityMonster.java:34)
    at net.minecraft.server.World.a(World.java:983)
    at net.minecraft.server.WorldServer.a(WorldServer.java:52)
    at net.minecraft.server.World.f(World.java:965)
    at net.minecraft.server.World.e(World.java:942)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:365)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    2011-04-01 20:09:14 [SEVERE] Could not pass event ENTITY_TARGET to MobControl
    java.lang.NullPointerException
    at java.util.ArrayList.<init>(Unknown Source)
    at com.WinSock.MobControl.Listeners.MobControlEntityListener.onEntityTarget(MobControlEntityListener.java:148)
    at org.bukkit.plugin.java.JavaPluginLoader$43.execute(JavaPluginLoader.java:429)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
    at net.minecraft.server.EntityCreature.c_(EntityCreature.java:54)
    at net.minecraft.server.EntityLiving.r(EntityLiving.java:653)
    at net.minecraft.server.EntityMonster.r(EntityMonster.java:30)
    at net.minecraft.server.EntityZombie.r(EntityZombie.java:34)
    at net.minecraft.server.EntityLiving.f_(EntityLiving.java:231)
    at net.minecraft.server.EntityMonster.f_(EntityMonster.java:34)
    at net.minecraft.server.World.a(World.java:983)
    at net.minecraft.server.WorldServer.a(WorldServer.java:52)
    at net.minecraft.server.World.f(World.java:965)
    at net.minecraft.server.World.e(World.java:942)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:365)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    2011-04-01 20:09:15 [SEVERE] Could not pass event ENTITY_TARGET to MobControl
    java.lang.NullPointerException
    at java.util.ArrayList.<init>(Unknown Source)
    at com.WinSock.MobControl.Listeners.MobControlEntityListener.onEntityTarget(MobControlEntityListener.java:148)
    at org.bukkit.plugin.java.JavaPluginLoader$43.execute(JavaPluginLoader.java:429)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
    at net.minecraft.server.EntityCreature.c_(EntityCreature.java:54)
    at net.minecraft.server.EntityLiving.r(EntityLiving.java:653)
    at net.minecraft.server.EntityMonster.r(EntityMonster.java:30)
    at net.minecraft.server.EntityZombie.r(EntityZombie.java:34)
    at net.minecraft.server.EntityLiving.f_(EntityLiving.java:231)
    at net.minecraft.server.EntityMonster.f_(EntityMonster.java:34)
    at net.minecraft.server.World.a(World.java:983)
    at net.minecraft.server.WorldServer.a(WorldServer.java:52)
    at net.minecraft.server.World.f(World.java:965)
    at net.minecraft.server.World.e(World.java:942)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:365)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    2011-04-01 20:09:15 [SEVERE] Could not pass event ENTITY_TARGET to MobControl
    java.lang.NullPointerException
    at java.util.ArrayList.<init>(Unknown Source)
    at com.WinSock.MobControl.Listeners.MobControlEntityListener.onEntityTarget(MobControlEntityListener.java:148)
    at org.bukkit.plugin.java.JavaPluginLoader$43.execute(JavaPluginLoader.java:429)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
    at net.minecraft.server.EntityCreature.c_(EntityCreature.java:54)
    at net.minecraft.server.EntityLiving.r(EntityLiving.java:653)
    at net.minecraft.server.EntityMonster.r(EntityMonster.java:30)
    at net.minecraft.server.EntityZombie.r(EntityZombie.java:34)
    at net.minecraft.server.EntityLiving.f_(EntityLiving.java:231)
    at net.minecraft.server.EntityMonster.f_(EntityMonster.java:34)
    at net.minecraft.server.World.a(World.java:983)
    at net.minecraft.server.WorldServer.a(WorldServer.java:52)
    at net.minecraft.server.World.f(World.java:965)
    at net.minecraft.server.World.e(World.java:942)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:365)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    2011-04-01 20:09:15 [SEVERE] Could not pass event ENTITY_TARGET to MobControl
    java.lang.NullPointerException
    at java.util.ArrayList.<init>(Unknown Source)
    at com.WinSock.MobControl.Listeners.MobControlEntityListener.onEntityTarget(MobControlEntityListener.java:148)
    at org.bukkit.plugin.java.JavaPluginLoader$43.execute(JavaPluginLoader.java:429)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
    at net.minecraft.server.EntityCreature.c_(EntityCreature.java:54)
    at net.minecraft.server.EntityLiving.r(EntityLiving.java:653)
    at net.minecraft.server.EntityMonster.r(EntityMonster.java:30)
    at net.minecraft.server.EntityZombie.r(EntityZombie.java:34)
    at net.minecraft.server.EntityLiving.f_(EntityLiving.java:231)
    at net.minecraft.server.EntityMonster.f_(EntityMonster.java:34)
    at net.minecraft.server.World.a(World.java:983)
    at net.minecraft.server.WorldServer.a(WorldServer.java:52)
    at net.minecraft.server.World.f(World.java:965)
    at net.minecraft.server.World.e(World.java:942)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:365)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)


    Any idea what's wrong?
     
  12. Offline

    sintri

    ^That happened prior to the updates anyways. Afforess's fix anything at all or is it just porting to the current version? Last I checked this mod either didn't work or worked in very limited function with some severe crashing issues.

    On a side note, saw someone did something about controlling spawns with detection of manmade blocks but don't recall the name, anyone know?
    Found it, nvm.
     
  13. Offline

    blainicus

    Sintri, can you link that other plugin?
     
  14. Offline

    sintri

    http://forums.bukkit.org/threads/me...eep-monsters-out-of-civilized-areas-531.8206/

    Far as I know, not working for 561+ least not as of this exact moment. Also slightly different method of control for those who are looking for height/light level limiters. Anyways I'd be interested in a working version of either or both.

    Forgot about mobiile, though that's sorta an specific area deny, and a radius at that rather than polygons.
     
  15. Offline

    computerquip

    You, sir, deserve some juicy pork.
    Here: [meat]

    BUGS FOUND:

    * Anything that isn't a Zombie or Skeleton can't catch fire via the ENTITY_COMBUST event. This applies to MobControl big time.

    * [SEVERE] Could not pass event ENTITY_TARGET to MobControl
    Code:
    2011-04-02 02:47:32 [SEVERE] Could not pass event ENTITY_TARGET to MobControl
    java.lang.NullPointerException
            at java.util.ArrayList.<init>(ArrayList.java:131)
            at com.WinSock.MobControl.Listeners.MobControlEntityListener.onEntityTarget(MobControlEntityListener.java:148)
            at org.bukkit.plugin.java.JavaPluginLoader$43.execute(JavaPluginLoader.java:429)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
            at net.minecraft.server.EntityCreature.c_(EntityCreature.java:54)
            at net.minecraft.server.EntityLiving.r(EntityLiving.java:653)
            at net.minecraft.server.EntityMonster.r(EntityMonster.java:30)
            at net.minecraft.server.EntityZombie.r(EntityZombie.java:34)
            at net.minecraft.server.EntityLiving.f_(EntityLiving.java:231)
            at net.minecraft.server.EntityMonster.f_(EntityMonster.java:34)
            at net.minecraft.server.World.a(World.java:983)
            at net.minecraft.server.WorldServer.a(WorldServer.java:52)
            at net.minecraft.server.World.f(World.java:965)
            at net.minecraft.server.World.e(World.java:942)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:365)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    2011-04-02 02:58:14 [SEVERE] Could not pass event ENTITY_TARGET to MobControl
    java.lang.NullPointerException
            at com.WinSock.MobControl.Listeners.MobControlEntityListener.onEntityTarget(MobControlEntityListener.java:251)
            at org.bukkit.plugin.java.JavaPluginLoader$43.execute(JavaPluginLoader.java:429)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
            at net.minecraft.server.EntityCreature.c_(EntityCreature.java:36)
            at net.minecraft.server.EntityLiving.r(EntityLiving.java:653)
            at net.minecraft.server.EntityMonster.r(EntityMonster.java:30)
            at net.minecraft.server.EntityLiving.f_(EntityLiving.java:231)
            at net.minecraft.server.EntityMonster.f_(EntityMonster.java:34)
            at net.minecraft.server.World.a(World.java:983)
            at net.minecraft.server.WorldServer.a(WorldServer.java:52)
            at net.minecraft.server.World.f(World.java:965)
            at net.minecraft.server.World.e(World.java:942)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:365)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    
    Seems like an null object is returned when you search for objects in attacked.

    * This build only works with the quick fix to help plugin compatibility with 561 - 602. Needs to be updated to the new changes.
     
  16. Offline

    Afforess

    Here's an updated copy (reports as 1.9.1). Winsock (not me) has updated the mod in his Git repo, and I've simply compiled the latest changes. It fixes a bunch of exception reports, but there are still a few left.

    http://dl.dropbox.com/u/49805/MobControl.jar
     
  17. Offline

    sintri

    might be just me, but creepers still spawn despite both max light at 1 and max height settings at 64.

    Though it no longer crashes porting to the nethers, which at least is something I suppose.

    edit: placed it in the wrong folder at first, at any rate still the same. Though did get a 2011-04-02 04:52:52 [SEVERE] Could not pass event CREATURE_SPAWN to MobControl
    java.lang.NullPointerException. The first of which disconnected me.
     
  18. Offline

    computerquip

    Seems like bukkit has a limitation to control only Skeleton and Zombie.
    Quote from documentation on Event.Type ENTITY_COMBUST: "Called when a Skeleton or Zombie catch fire due to the sun"

    Last post for the night, seems that if you set fireTicks, the entity will catch fire. This is used in net/minecraft/server/EntitySkeleton.java in r(); However, I'm not sure when you should set the ticks exactly though and you might need to do some calculation to make sure they're not in the shade or something. Grabbing the block at the location of the entity would let you check the light level but I'm not sure how to grab the source of the light. For instance, how do we know if the sun or a torch is hitting the entity?

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

    derchris

    I get the following error:

    Code:
    11:23:40 [SEVERE] Could not pass event CREATURE_SPAWN to MobControl
    java.lang.NullPointerException
            at com.WinSock.MobControl.MobControlPlugin.getNumberOfCreatures(MobControlPlugin.java:158)
            at com.WinSock.MobControl.MobControlPlugin.canSpawn(MobControlPlugin.java:210)
            at com.WinSock.MobControl.Listeners.MobControlEntityListener.onCreatureSpawn(MobControlEntityListener.java:317)
            at org.bukkit.plugin.java.JavaPluginLoader$44.execute(JavaPluginLoader.java:435)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
            at org.bukkit.craftbukkit.event.CraftEventFactory.callCreatureSpawnEvent(CraftEventFactory.java:228)
            at net.minecraft.server.World.a(World.java:724)
            at net.minecraft.server.SpawnerCreature.a(SourceFile:148)
            at net.minecraft.server.World.h(World.java:1384)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:359)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    
    With this error, not a single Mob is being created, just animals.
    All I would like to do is make Mob Neutral, so they only attack when you attack.
     
  20. Offline

    Senzuri

    Getting the same error. #612
     
  21. Offline

    Sage

    can someone send me a sample text file? Mine looks crazy, and I don't really know what to edit. it seems to have the same options in like 7 places
     
  22. Offline

    Olof Larsson

    Awesome plugin! This one seems to be the only one out there and it is really a must have plugin :)

    I just compiled version 1.9 from you git repo.
    One thing confuses me and it is related to multiworld support.

    I have two worlds called "world" and "netherworld". "world" is a normal world (not nether). "netherworld" is a nether world (suprise!) :p :D

    Taking a look at the default config: Under each mob in the config there is the node "Environment" which seems to be able to be set to NORMAL or NETHER. Now WHY is that node there?? This config should be for "world" only right? And it will either be for type NORMAL or NETHER worlds...

    The config file is also quiet long :p A suggestion: have default values that is extended by the config.
    You could also take a look at permissions 2.5.5. There is the option node "copies" and using that node you can use the config from another world. Could be useful. I will have almost same config for all worlds :)

    Another sugestion: Github has a downloads feature! Use that instead of dropbox:
    https://github.com/winsock/MobControl/downloads

    That system will even track download count for you :)
     
    Legolas75893 and KoryuObihiro like this.
  23. Offline

    KoryuObihiro

    @Olof I agree with pretty much all your suggestions. :p Liked for good measure.
     
  24. Offline

    Euron

    Try using a YAML editor. It'll make more sense.
     
  25. Offline

    Survivorman

    Guessing this is still broken? I'm sure this plugin is exactly what I need. I shouldn't be getting 1000's of mobs killed with one use of /butcher. :p

    Thank you WinSock, hope this gets updated soon!
     
  26. Offline

    Imamoose

    notepad++ is sick
    standard gedit setup to do highlights coloring and tabs to spaces is the linux equiv for me
     
  27. Offline

    Aatu

    19:45:08 [INFO] [MobControl] Loaded settings!
    19:45:08 [SEVERE] ENTITY_DAMAGED loading MobControl v1.8.02 (Is it up to date?)
    java.lang.NoSuchFieldError: ENTITY_DAMAGED
    at com.WinSock.MobControl.MobControlPlugin.onEnable(MobControlPlugin.jav
    a:356)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:514)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:216)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:94)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:72)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    19:45:08 [INFO] Done (0.283s)! For help, type "help" or "?"

    i get these errors and it wont work...

    i use notepad++ and it didn't work, something weird, im not sure. i used gedit on ubuntu but changed back to windows

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

    CptBonex

    Try opening the file whit "word" then save and reopen whit notepad. that will do the trick.

    I have a question. What does "SpawnRoom"? and why not add a minimum and a maximum limit on how many of each mob that may exist.

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

    RomaClanServer

    Can't wait for this to update, trying to set up custom raid bosses on my server.
     
  30. Offline

    wildshoetwt

    12:08:11 [SEVERE] Could not pass event CREATURE_SPAWN to MobControl
    java.lang.NullPointerException
    at com.WinSock.MobControl.MobControlPlugin.getNumberOfCreatures(MobControlPlugin.java:171)
    at com.WinSock.MobControl.MobControlPlugin.canSpawn(MobControlPlugin.java:222)
    at com.WinSock.MobControl.Listeners.MobControlEntityListener.onCreatureSpawn(MobControlEntityListener.java:317)
    at org.bukkit.plugin.java.JavaPluginLoader$44.execute(JavaPluginLoader.java:435)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callCreatureSpawnEvent(CraftEventFactory.java:228)
    at net.minecraft.server.World.a(World.java:724)
    at net.minecraft.server.SpawnerCreature.a(SourceFile:148)
    at net.minecraft.server.World.h(World.java:1384)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:359)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
     
  31. Offline

    Teleseil

    Can you update this plugin ? Its's look great but doesn't work on Bukkit 612 ;(
     

Share This Page