[FIX/ADMN/MECH] EntitySuppressor v3.0- Limit Mobs, Reduce Lag! [1.4.7-R1.0]

Discussion in 'Archived: Plugin Releases' started by Fishrock123, Oct 3, 2011.

  1. Offline



    Moved to BukkitDev

    Downloads [CB 1.2.5-R1.0]

    strontkever and FlamingArmor like this.
  2. Offline


    Huh? Did you try setting "DefaultMaximum" to something higher?
    FlamingArmor likes this.
  3. Offline


    ok now its ok !!!! :)

    Perfect . Thank you for help !
    i have in nolagg set useSpawnLimits: false
    and in EntitySuppressor Config.
    DefaultMaximum: 94

    damm , somehow it hangs. 5 players now have 11 monsters and 67 animals in the night

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


    Is your limit set to ~80 and are you staying in one area?
    FlamingArmor likes this.
  5. Offline


    my config
    DefaultMaximum: 94
    limitSquid: true
      null_example_peace_world: true
      null_example_world_nether: false
      null_example_chaos_world: 82
    SpawnFlagsCheckInterval: 200
    yes the other players are in the same area
  6. Offline


    This is actually the expected behaviour; ES currently only alters the spawning of monsters and does not despawn them to move them closer.

    You are at the bottom end of your maximum; 5+11+67=83; 94/8=82; if there are less than 82 (dMax-(dMax/8)) (8 is the default, use checkDifference to change it.), it will spawn more. Though, those will not necessarily be closer to you than any of the rest. It should act more normal if you tend to cover more distance.

    v2.0 Will remove monsters and try to spawn closer ones; no ETA on it though.
    FlamingArmor likes this.
  7. Offline


    ok thx
  8. Offline


    Just wondering if any closer to a new version?
  9. Offline



    It would help if you'd point out anything dissatisfactory about the current version..
    FlamingArmor likes this.
  10. Please explain what these settings do.
    I want to set a mob limit per world. but um what's a peace world and a chaos world :confused:
  11. Offline


    Whatever you want them to be; put the name of your world(s) there and what option you want.

    (Number for limit, false for no limit, true or 0 for no monters (and squid if you have that on))

    If you have a better way of setting up the config I'd gladly listen to it, I think the current one is kind of messy.

    And.... v2.0 Coming when I get some time to implement per-player maximums.
    EDIT: I should probably prevent it from interfering with the enderdragon.
    FlamingArmor likes this.
  12. Offline


    Hello, wanted to let you know I've been using ES 1.4 with CB 1337 and the config file gets rewritten to default everytime the server restarts. Not sure if this is a bug or something I'm doing. No errors pop up the config changes just don't stay.

    Thanks for this plugin!

  13. Offline


    Oh good gosh! Why the heck did nobody tell me before?!

    Yes, I encountered this while testing 2.0 on someone's server. I had no clue it dated back to 1.4 because it doesn't do it on my computer for some reason.

    ....Will push an update sometime tonight or tomorrow.
    FlamingArmor and Skiggitus like this.
  14. Offline


    AWESOME! thank you very much for the quick response. This plugin will help alot.

  15. Offline


    Well, Thats what I had in mind, anyways. I've changed a ton and I don't want to push 2.0 yet, and I dunno how to work it with github to push it without replacing the new code with old code and stuff. Bleh. (Note to self: Use a separate project for big updates.)

    ... No eta. :(
    FlamingArmor likes this.
  16. I've been looking around for a plugin that will limit squid spawns to a lower amount but does not remove them completely and does not limit any other mobs.

    Is it possible to do that with this plugin?
    If so, would you possibly take the time to throw me some config advice?
    I'm going to download the plugin and begin a local test, but anything you could do to speed the process up would be appreciated.

    Thank you for providing this plugin.

    By the way, I do have a a multi world server controlled with MultiVerse V2 so I will only be looking to limit squids in the one survival world.
  17. Offline


    I wonder what @bergerkiller would think of this compared to NoLagg.
  18. Offline


    #1 Don't use this plugin until I fix the above problem.
    #2. Your wishes will be granted in v2.0

    I'm not sure what he thinks, but I suggest running all of NoLagg except the mob-limiting parts and use the upcoming ES v2.0 instead for those.

    Additionally, his main priority is chunk efficiency, mine is limiting entities while keeping vanilla gameplay.
    FlamingArmor likes this.
  19. Offline


    Yup aggreed, if you need something advanced for mob limiting, use a plugin that is dedicated to do that.
  20. This is great news! Thank you for the prompt reply.

    I tried using SquidLimiter and it worked well at the start. As I tested it though, it seemed to keep a reference of the total squids that had been spawned since /reload and once the limit had been hit, even if it had despawned them all due to distance from player, it REFUSED to spawn any more.
    Confused me quite a bit but there didn't appear to be a way to get it to work. It wasn't listed as a 1.0.1 compatible version but Multiplay gave me the option to use it so I figured it would still work well.

    I guess I'm back to looking while I await your V2 update.

    Good luck with everything,
    Fishrock123 likes this.
  21. Offline


    I need some larger-scale testing of v2.0. Do any of you have a server than has 10+ people on it?
  22. Offline


    I have a server I could test it on, it actually just went up so we have lots of people coming and going, I'm really interested to see if this plugin will help with our ram usage. Every time we remove mobs the memory clears out great. But once 5+ people join and there's 300 entities the memory starts getting full. I'd be glad to test for you, if you don't think it will cause errors. Are you looking for bug testing or performance testing? Anyway just PM me or reply to this post. Be glad to help

    Thanks Skig
  23. Offline


    It should not cause errors.

    It is for testing if the system works as intended. I will pm you links to the files.
  24. Ok, it looks like there aren't that many people who wish to help test this.

    I would be happy to help with testing but my server only has eight slots and it is never at full capacity.
    I know you wanted a larger scale than this so I understand if you feel it might be a waste of time.

    I do want this plugin to succeed though so I was wondering if I might be able to help with 'quality control'. I'm pretty good at testing/breaking things but just as good at providing relevant information that assists with finding the fault and fixing it.

    I would want to test for errors in a test server before letting it 'go live' but if that's ok with you and you are happy to get some extra aid with this, throw me a PM or just reply here.

    Keep it up dude.
  25. Offline


    I see that. :(

    I already test the hooplas out of pretty much ever line of code I make...

    It's stable, and it seems to work.
    I just need some proper data on if it actually works dynamically as intended on a large-scale. :/
  26. Well I'm still desperately in need of a plugin that doesn't kill squids completely but does prevent to many of them spawning.

    This plugin looks like the most promising possibility.
    All the other ones either don't do what they claim (due to bad coding or just being re-tagged as working with the latest release without being tweeked/fully tested) or they actively target every squid and kill them all.
    This leaves me having to choose between crippling R.A.M usage or telling my users to give up on the idea of any dying that involves squid ink.

    Would I be able to use the plugin in it's current state? Or more specifically, would you give permission and file links?

    Thank you for the prompt replies by the way. Nice to see a Dev that is on the ball!
  27. Offline


    Well, since no-one of any larger sort of scale seems to be willing to test this, I'll try crunch the final config and documentation out before Christmas..
  28. Offline


    Updated to v2.0!!!

    Pretty much a complete overhaul of the plugin with much more extensive features.

    Oh, and Merry Christmas to everyone! ^_^
  29. Offline


    Not sure if you still need someone to test this.

    I run a server with 100 slots, and it always has 70-100 people on most of the time.
    Im still using 1.4 at the moment, but i wanted to ask a question. Is there a way to have specific limits for monsters and animals.
    ie, its currently set to 400 , but i wanted to know if i could limit animals to say 125, and 275 for monsters?

    EDIT - nevermind, just read your 2.0 update lol

    Aww i tried 2.0 and im getting the following error

    2011-12-28 05:04:38 [SEVERE] Error occurred while enabling EntitySuppressor v2.0 (1L3) (Is it up to date?): null
    at Fishrock123.EntitySuppressor.ESConfig.load(ESConfig.java:106)
    at Fishrock123.EntitySuppressor.EntitySuppressor.initialize(EntitySuppressor.java:53)
    at Fishrock123.EntitySuppressor.EntitySuppressor.onEnable(EntitySuppressor.java:42)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:188)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:968)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:186)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:169)
    at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:348)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:335)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:165)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
  30. Offline


    Last edited by a moderator: May 20, 2016
  31. Offline



    i5 2500k
    16gb ram
    Running on Debian
    Java 1.7

    Ill try the new version.

    Still getting an error :(

    [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'es' in plugin EntitySuppressor v2.0.1 TEST (1L5)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:165)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:378)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:757)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:722)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    Caused by: java.lang.NullPointerException
    at Fishrock123.EntitySuppressor.EntitySuppressor.onCommand(EntitySuppressor.java:108)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)

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

Share This Page