[MERGED][MECH] MobControl merged with CrowdControl

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

  1. Offline

    WinSock

  2. Offline

    Xioteer

    Hi, I installed the plugin correctly and since then I get this..

    Code:
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:232)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:317)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:104)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
    at net.minecraft.server.NetworkManager.a(SourceFile:232)
    at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:589)
    at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:610)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:171)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:77)
    at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:184)
    at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:193)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:55)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:74)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:175)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:425)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:135)
    at com.bukkit.WinSock.MobControl.MobControlPlugin.onEnable(MobControlPlugin.java:192)
    at org.bukkit.plugin.SimplePluginManager.registerEvent(SimplePluginManager.java:231)
    at org.bukkit.plugin.RegisteredListener.(RegisteredListener.java:28)
    at org.bukkit.plugin.java.JavaPluginLoader.createExecutor(JavaPluginLoader.java:412)
    java.lang.IllegalArgumentException: Event CREATURE_SPAWN is not supported
    SEVERE: Event CREATURE_SPAWN is not supported (Is it up to date?)
    Feb 20, 2011 4:19:48 AM org.bukkit.craftbukkit.CraftServer loadPlugins
    I think I'm up to date with craftbukkit. What can this mean?

    It installed the directory in plugins directory at first start.
    Spawn Monsters ist TRUE

    All I want is to make spiders and Creepers burn in daylight :)
     
  3. Offline

    WinSock

    This line
    Code:
    SEVERE: Event CREATURE_SPAWN is not supported (Is it up to date?)
    
    tells me that you have to update craft bukkit at this link:
    http://bamboo.lukegb.com/browse/BUK...raftBukkit-JAR/craftbukkit-0.0.1-SNAPSHOT.jar
     
  4. Offline

    mbbk1992

    When i launch the server it says v. 1.3.
     
  5. Offline

    WinSock

    Opps thats just a cosmetic issue, i forgot to update the plugin.yml :p You can re-download if you want now.
     
  6. Offline

    mbbk1992

    Well the aggressive nature for PigZombie's does not seem to work. I am running the latest 360 build and it does not report any errors while loading.
     
  7. Offline

    Beatkidz

    So can i make Giants spawn naturally and define the spawn rate? same with Ghast, zombie pigman, and possible the Mob named "Monster" which was a aggressive humanoid mob in Hmod?
     
  8. Offline

    turtlelink2

    Can I get a link to the previous versions? my bukkit is slightly outdated and updating it breaks ALOT of things and your change from 1.3 to 1.4 doesnt work for my outdated version
     
  9. Offline

    enkryptor

    No multiworld support?
     
  10. Offline

    Phase

    https://github.com/winsock/MobControl/issues#issue/4
    Am I correct in thinking that will allow you to set an area where that mobtype will spawn? If so, that's great, because that's what I came here to suggest.

    To expand on it though, I also want to disable all monster spawns (not necessarily the daytime mobs like pigs, chickens, etc) except in certain areas that would be denoted by some sort of cuboid-like tool or possibly setting coordinates in the config file.

    Great plugin regardless!
     
    maveriik likes this.
  11. Offline

    Kane

    @WinSock oh neat I did not know there was 2 plugins like this now :).

    I was wondering with your system would it help reduce lag? For example set to 40 or less for mob spawns and reduce the spawn population. Maybe 60+ for farm animals and fun things like that. Maybe disable skeletons 100%.

    Though it sounds like multiworld might not be supported yet? Plans on this?
     
  12. Offline

    Xioteer


    Big Thanks so far

    With this snapshot I get this now:

    Code:
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:217)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:118)
    at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:166)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:179)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:55)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:74)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:187)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:426)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:140)
    at com.bukkit.WinSock.MobControl.MobControlPlugin.onEnable(MobControlPlugin.java:200)
    java.lang.NoSuchFieldError: ENTITY_DAMAGEDBY_ENTITY
    SEVERE: ENTITY_DAMAGEDBY_ENTITY (Is it up to date?)

    Last time this happened to someone else, you said they changed an event..
    Did it happen again?
     
  13. Offline

    oliverw92

  14. Offline

    ShoTro

    It appears the bukkit guys are adding in a lot of code checking tools into the server now... a few other plugins are now dying altogether. Others are just getting called out for using poor coding standards.

    Anyone else having problems after updating bukkit, it seems like it is more or less we need to wait until the bukkit team sorts this out.
     
  15. Offline

    WinSock

    Ok i changed my namespace, thanks for the heads up.
    --- merged: Feb 20, 2011 3:43 PM ---
    It should be multiworld compatible. I check all world's for mobs and stuff.
    --- merged: Feb 20, 2011 3:45 PM ---
    Not yet, i have to make my own monster spawning code before i can change stuff like that. Right now the SpawnChance node only limits mobs that were already chosen to spawn.
    --- merged: Feb 20, 2011 4:06 PM ---
    It works fine for me this is a log of me running it using build 360
    Code:
    2011-02-20 09:53:31 [INFO] Starting minecraft server version Beta 1.2_01
    2011-02-20 09:53:31 [INFO] Loading properties
    2011-02-20 09:53:31 [INFO] Starting Minecraft server on *:25565
    2011-02-20 09:53:31 [INFO] This server is running Craftbukkit version git-Bukkit
    -"e6f7e98"-b{$bamboo.buildNumber}bmb (MC: 1.2_01)
    2011-02-20 09:53:31 [INFO] Preparing level "world"
    2011-02-20 09:53:31 [INFO] Preparing start region
    2011-02-20 09:53:32 [WARNING] Using the stupidly long constructor com.bukkit.Win
    Sock.MobControl.MobControlPlugin(PluginLoader, Server, PluginDescriptionFile, Fi
    le, File, ClassLoader) is no longer recommended. Go nag the plugin author of Mob
    Control to remove it! (Nothing is broken, we just like to keep code clean.)
    2011-02-20 09:53:32 [INFO] [MobControl] Version 1.3 is enabled!
    2011-02-20 09:53:32 [INFO] Done! For help, type "help" or "?"
    2011-02-20 10:04:11 [INFO] 138 recipes
    2011-02-20 10:04:11 [INFO] andrewq2 [/127.0.0.1:49627] logged in with entity id
    183
    2011-02-20 10:04:11 [INFO] Player count: 1
    2011-02-20 10:04:31 [INFO] andrewq2 lost connection: disconnect.quitting
    
    --- merged: Feb 20, 2011 4:07 PM ---
    It might reduce lag depending on your server specs. But don't think you will get a huge speed boost.
     
  16. Offline

    acegiak

    does/can this work for giants?
     
  17. Offline

    Xioteer

    Ok, works for me now!

    I just deleted the plugin and let the new bukkitversion load it..
    Guess the earlier version installed it wrong!

    Thanks for your help!
    It's a great Plugin!
     
  18. Offline

    turtlelink2

    @WinSock I asked earlier but can you make a link to your previous version (v1.3)? my bukkits dated and updating it breaks alot of things
     
  19. Offline

    WinSock

  20. Offline

    ShoTro

    Just wanted to do passive zombies and set the burn to false, they still burn. Creepers burn, huge plus and the passive fix for the explosions work too, but sadly I think this is a bug. v1.4
     
  21. Offline

    WinSock

    Wait can you re word that i can't tell what the bug is.
     
  22. Offline

    ShoTro

    zombies still catch fire when burn=false

    Edit: also torches catch creatures on fire during day hours
     
  23. Offline

    daze

    Hi, thanks for this plugin. I was thinking about starting something like this these days. I especially need the SpawnHeight. Unfortunately this does not work here as expected. I configured zombies, spiders, sekeletons and creepers to spawn below level 54. But they even spawn at level 70 and above.

    Code:
            ZOMBIE:
                SpawnChance: 100
                Enabled: true
                SpawnHeight: 54
                Night:
                    Nature: Aggressive
                Day:
                    Burn: true
                    Nature: Aggressive
    
     
  24. Offline

    WinSock

    Hmm ill quickly fix that
    --- merged: Feb 20, 2011 10:45 PM ---
    I'll quickly test that.
    --- merged: Feb 20, 2011 11:11 PM ---
    v1.5 released
     
  25. Offline

    daze

    Mobs are still spawning above level 54 in my config. But i see you did not address that in your latest release.
     
  26. Offline

    WinSock

    Ya, sorry the burning was a more pressing matter to me. And i couldn't see why that was happening i'm taking a closer look at that problem now.
     
  27. Offline

    daze

    if i can debug anything for you let me know. spawn-monsters has to be true in server.properties, right?

    Edit: This seems to be wrong in canSpawn()

    Code:
    if (spawnLoc.getBlockY() > spawnHeight) {
        if (spawnChance(precent)) {
            return true;
        } else {
            return false;
        }
    } else {
        return false;
    }
    
    if SpawnHeight should act like it is the max height you shoud use less than or maybe less or equal than:

    spawnLoc.getBlockY() < spawnHeight

    If it is intended to be the minimum height, maybe something like MinSpawnHeight and MaxSpawnHeight should fit all needs? We just want to spawn agressive mobs below sealevel.
     
  28. Offline

    WinSock

    Ya i'll take your suggestion and rename and add a node. Thanks for helping me debug it :p
     
  29. Offline

    daze

    Your're welcome :D
     
  30. Offline

    dubby

    So I've tried to change Zombie Pigmen to be aggressive by default. It seems to work when I spawn one manually in my normal world, however when I travel to the Nether, the ones generated there are normal. Safe to assume your plugin doesn't support multi-world? I've read something about how the additional worlds don't take into account the monster or animal spawning values set in the properties file. Is this a similar issue?
     
  31. Offline

    WinSock

    I have set it up to support multi-world i thought. I will do some more testing though.
     

Share This Page