[MERGED][MECH] MobControl merged with CrowdControl

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

  1. Offline

    WinSock

  2. Offline

    PepijnPro

    *fingers crossed*
     
  3. Offline

    KoryuObihiro

    LOL, it might be awhile...I don't intend on abandoning the effort. I've just got finals coming up and I'm feeling the squeeze of 16 credits of sheer math and physics. :p Looking through this code, it seems like most of the code should work - I just don't fully understand what's broken yet.

    HOWEVER. After that, I intend to at least get my hands dirty. I'm rather anxious to have a plugin like this myself. If anybody wants to pitch in, though, I wouldn't be so snooty as to deny them the privilege.
     
  4. Offline

    Pontus Lantz

    Looking forward to it. This would be an awsome plugin to have to the RPG server that I host.
     
  5. Offline

    Geoff Winans

    What is the syntax of the per-world configuration?

    I've been up an down this thread and can't find an example.
     
  6. Offline

    slickytail

    for me it doesent work. it sasy Java.error [SEVERE] ENTITY DAMAHED and then some other random blah blah blah
     
  7. Offline

    Legolas75893

    @slickytail

    It's not updated. It uses old hooks, which were updated to make code cleaner.
     
  8. Offline

    Juze

    Please update to latest RB for releases.
     
  9. Offline

    Phaedrus

    I hope this gets updated soon. I'm really wanted a complete mob control plugin to be able to control the difficulty of the game.
     
  10. Offline

    RacerX

    So do you plan to add the "Monster" mob to the list? And can you create a follow nature so animal within a certain distance will follow you harmlessly? THAT would be awesome.
     
  11. Offline

    KoryuObihiro

    @RacerX o_o You DO know this plugin is broken right now, right?
     
  12. Offline

    Legolas75893

    He was talking to you.
     
  13. Offline

    KoryuObihiro

    Oh. XD My bad. Anyway, as of right now I'm still trying to figure out what, exactly, has been broken. I've updated the events, insofar as I can tell, so all I'm doing (when I have the time) is rooting through the code and tracing any errors the console spits at me while I test my builds of MobControl. Right now, I'm just trying to get it to work as it was originally intended. :p But...alright, I'll jot that down for later, when that bridge can be crossed.
     
  14. Offline

    Legolas75893

    Yay<3
     
  15. Offline

    ayan4m1

    I have compiled a copy of 1.9.0 from git and tested it with CB 677. It loads up fine (no event errors)... I haven't rigorously tested it but everything seems to be working.

    Please try out this 1.9 build of MobControl with a recent server version and report your success or failure. Of course, bear in mind that I am not liable for breaking your server, and that I am not using this plugin on my production server at the moment. That all said...

    Download MobControl 1.9.0 - JAR File
     
  16. Offline

    spock0001

    Using craftbukkit 677, and 1.9.0 mobcontrol, i now get spammed with errors. Note other plugins I use on our server are bmobs, minecartmania, fishpeople, lockette and flight. Can't live without your plugin!!! Its the last word in server lag. :)

    17:27:25 [SEVERE] Could not pass event CREATURE_SPAWN to MobControl
    java.lang.NullPointerException
    at com.WinSock.MobControl.MobControlPlugin.getNumberOfCreatures(MobContr
    olPlugin.java:164)
    at com.WinSock.MobControl.MobControlPlugin.canSpawn(MobControlPlugin.jav
    a:216)
    at com.WinSock.MobControl.Listeners.MobControlEntityListener.onCreatureS
    pawn(MobControlEntityListener.java:317)
    at org.bukkit.plugin.java.JavaPluginLoader$48.execute(JavaPluginLoader.j
    ava:494)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava: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)
     
  17. Offline

    m0jumb0

    Trying it on my server, getting a lot of these exceptions:

    Code:
    10:33:53 [SEVERE] Could not pass event ENTITY_TARGET to MobControl
    java.lang.NullPointerException
            at com.WinSock.MobControl.Listeners.MobControlEntityListener.onEntityTarget(MobControlEntityListener.java:264)
            at org.bukkit.plugin.java.JavaPluginLoader$46.execute(JavaPluginLoader.java:482)
            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)
    10:34:00 [SEVERE] Could not pass event CREATURE_SPAWN to MobControl
    java.lang.NullPointerException
            at com.WinSock.MobControl.MobControlPlugin.getNumberOfCreatures(MobControlPlugin.java:164)
            at com.WinSock.MobControl.MobControlPlugin.canSpawn(MobControlPlugin.java:216)
            at com.WinSock.MobControl.Listeners.MobControlEntityListener.onCreatureSpawn(MobControlEntityListener.java:317)
            at org.bukkit.plugin.java.JavaPluginLoader$48.execute(JavaPluginLoader.java:494)
            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)
    
    server info:
    Code:
    10:29:14 [INFO] Starting minecraft server version Beta 1.4
    10:29:14 [INFO] Loading properties
    10:29:14 [INFO] Starting Minecraft server on *:25565
    10:29:14 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-649-g55e3e26-b673jnks (MC: 1.4)
    10:29:14 [INFO] Preparing level "world"
    10:29:14 [INFO] Preparing start region
    10:29:14 [INFO] 144 recipes
    10:29:15 [INFO] Preparing spawn area: 44%
    10:29:16 [INFO] MapMarkers version 0.3.2 enabled
    10:29:16 [INFO] [MobControl] Loaded settings!
    10:29:16 [INFO] [MobControl] Version 1.9.0 is enabled!
    10:29:16 [INFO] Loaded 13 configs
    10:29:16 [INFO] Loaded 0 shops
    10:29:16 [INFO] TradeCraft version 0.92AE is enabled!
    
     
  18. Offline

    blainicus

    For those of you needing to increase difficulty, there are some feasible options now. These are criticalhits and damagecontrol.
     
  19. Offline

    RomaClanServer

    Damage control works great for me for increased difficulty. Still looking forward to this.
     
  20. Offline

    m0jumb0

    Main thing I need it for is eliminating slimes. They're spawning too much and not letting other monsters spawn. I'd also like the list population command from CrowdControl if we're talking about wish lists :)
     
  21. Offline

    Legolas75893


    Use bMobs for slimes.
     
  22. Offline

    ayan4m1

    I'm running the copy of MobControl that I posted earlier with craftbukkit 677 (tested with 684 as well) and I can't reproduce your issue. I would try disabling bmobs, fishpeople, and/or flight to see if they might be causing the problem. I am using minecart mania and lockette on my server, and they do not seem to conflict with MobControl.

    However, I am also kinda confused as to why my compile of that JAR worked fine for me, when it seems like no one else can get it working... it just seems to work for me for no good reason.

    Also, just to be clear... I am not affiliated with this plugin in any way. For reference, my server startup looks like the following:

    Code:
    2011-04-19 17:02:43 [INFO] Starting minecraft server version Beta 1.4
    2011-04-19 17:02:43 [INFO] Loading properties
    2011-04-19 17:02:43 [INFO] Starting Minecraft server on *:40002
    2011-04-19 17:02:43 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-659-gc210f22-b684jnks (MC: 1.4)
    2011-04-19 17:02:43 [INFO] Preparing level "world"
    2011-04-19 17:02:43 [INFO] Preparing start region
    2011-04-19 17:02:43 [INFO] 144 recipes
    2011-04-19 17:02:44 [INFO] [Permissions] (Phoenix) was Initialized.
    2011-04-19 17:02:44 [INFO] properTime reading from config at /usr/local/minecraft/plugins/properTime/properTime.conf
    2011-04-19 17:02:44 [INFO] properTime 1.8.8 initialized
    2011-04-19 17:02:44 [INFO] WorldEdit 4.3 enabled.
    2011-04-19 17:02:44 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-04-19 17:02:44 [INFO] iChat (v2.2.3) enabled
    2011-04-19 17:02:44 [INFO] [MobControl] Loaded settings!
    2011-04-19 17:02:44 [INFO] [MobControl] Version 1.9.0 is enabled!
    2011-04-19 17:02:44 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-04-19 17:02:44 [INFO] WorldGuard: (world) Single session is enforced.
    2011-04-19 17:02:44 [INFO] WorldGuard: (world) TNT ignition is PERMITTED.
    2011-04-19 17:02:44 [INFO] WorldGuard: (world) Lighters are PERMITTED.
    2011-04-19 17:02:44 [INFO] WorldGuard: (world) Lava fire is blocked.
    2011-04-19 17:02:44 [INFO] WorldGuard: (world) Fire spread is UNRESTRICTED.
    2011-04-19 17:02:44 [INFO] WorldGuard: Loaded configuration for world 'world"
    2011-04-19 17:02:44 [INFO] WorldGuard 5.0-alpha9 enabled.
    2011-04-19 17:02:44 [INFO] [Minecart Mania] Debug mode switched to NORMAL
    2011-04-19 17:02:44 [INFO] [Minecart Mania] MinecartManiaCore version 1.09c is enabled!
    2011-04-19 17:02:44 [INFO] [MultiVerse] Permissions Found
    2011-04-19 17:02:44 [INFO] [MultiVerse] - Version 1.6.2 Enabled
    2011-04-19 17:02:44 [INFO] [MultiVerse] Loading World & Settings - 'world' - NORMAL
    2011-04-19 17:02:44 [INFO] [MultiVerse] 1 - World(s) loaded.
    2011-04-19 17:02:44 [INFO] [MultiVerse] Loading Portals
    2011-04-19 17:02:44 [INFO] [MultiVerse] 0 - Portal(s) loaded.
    2011-04-19 17:02:44 [SEVERE] Nag author: 'Rigby' of 'MultiVerse' about the following: onPluginEnable has been replaced with a new signature, (PluginEnableEvent)
    2011-04-19 17:02:44 [INFO] [Minecart Mania] MinecartManiaAdminControls version 1.09 is enabled!
    2011-04-19 17:02:44 [INFO] Lockette version 1.3.4 is being enabled!  Yay!
    2011-04-19 17:02:44 [INFO] Lockette: Detected craftbukkit build [684] ok.
    2011-04-19 17:02:44 [INFO] [Permissions] version [2.7] (Phoenix)  loaded
    2011-04-19 17:02:44 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-04-19 17:02:44 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-04-19 17:02:44 [INFO] [iChat] Found Permissions (v2.7)
    2011-04-19 17:02:44 [INFO] Lockette: Linked to Permissions plugin version 2.7
    2011-04-19 17:02:44 [INFO] Lockette: Ready to protect your containers.
    2011-04-19 17:02:44 [INFO] [Tele++] version [1.3.3] loaded
    2011-04-19 17:02:44 [INFO] [Minecart Mania] MinecartManiaSignCommands version 1.09b is enabled!
    2011-04-19 17:02:44 [INFO] Done (0.128s)! For help, type "help" or "?"
    
    Thanks for trying this out, I was hoping at least someone would have luck with it...

    Where are those exceptions in your server.log? Do they only occur when a user is connected and playing? It seems that the plugin at least loads correctly. Also, I didn't test with 673, so it's possible (though seemingly unlikely) that something changed in between 673 and 674.

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

    CptBonex

    When I deleted my old config file I got:
    04:35:47 [INFO] [MobControl] Loaded settings!
    04:35:47 [INFO] [MobControl] Version 1.9.0 is enabled!
    But as far as I tested the 'Nature:' & 'Burn:' option does not work for Cow´s.
     
  24. Offline

    spock0001

    Hi still getting flooded with error messages. I've been getting this since before 1.5.

    I start server using a batch file containing this:
    java -Xmx1408M -Xms1408M -jar craftbukkit-0.0.1-SNAPSHOT.jar nogui

    Did it with only mobcontrol running. After server start all is quiet, until you walk up to mobs - then server log jumps to life (I get 1 error a second roughly). But only while I'm near mobs. It might be worth mentioning that I lowered spawnrates on every creature by 0.1 in the config. I also added the 3 max lines:
    MobControl:
    world:
    MaxPassive: 100
    MaxNeutral: 50
    MaxHostile: 100

    Here's the log.

    2011-04-30 17:25:26 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-706-gf53e007-b740jnks (MC: 1.5_02)
    2011-04-30 17:25:34 [INFO] [MobControl] Loaded settings!
    2011-04-30 17:25:34 [INFO] [MobControl] Version 1.9.0 is enabled!
    ...
    ...
    ...
    2011-05-01 12:26:41 [SEVERE] Could not pass event CREATURE_SPAWN to MobControl
    java.lang.NullPointerException
    at com.WinSock.MobControl.MobControlPlugin.getNumberOfCreatures(MobControlPlugin.java:164)
    at com.WinSock.MobControl.MobControlPlugin.canSpawn(MobControlPlugin.java:216)
    at com.WinSock.MobControl.Listeners.MobControlEntityListener.onCreatureSpawn(MobControlEntityListener.java:317)
    at org.bukkit.plugin.java.JavaPluginLoader$51.execute(JavaPluginLoader.java:516)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callCreatureSpawnEvent(CraftEventFactory.java:228)
    at net.minecraft.server.World.addEntity(World.java:740)
    at net.minecraft.server.SpawnerCreature.spawnEntities(SourceFile:148)
    at net.minecraft.server.World.doTick(World.java:1444)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:361)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    ...
    ...
    Error repeats ad infinitum.
     
  25. Offline

    BlueRazor

    Could you post a form of all your plugins that you use on your server?
     
  26. Offline

    Legolas75893

  27. Offline

    Eric1212

    i got this error :
    03:27:35 [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.java:356)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:632)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:218)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
     
  28. Offline

    Sam Lucas

    Can anyone help me?

    Is there a plugin that stops Monsters & Animals from spawning naturally that doesn't stop me from spawning them myself using commands, so my world doesn't get spammed with animals and zombiew etc but i can still spawn them for recreational purposes?
     
  29. Offline

    Legolas75893

    /support ^.
     
  30. Offline

    Jabbic

    I also am getting this error
     
  31. Offline

    Chipmunk9998

    Guys, don't even try. The plugin is extremely outdated.
     

Share This Page