[Solutions] Disable the XP Orb lagfest, plz!

Discussion in 'Archived: Plugin Requests' started by Zothen, Sep 15, 2011.

  1. Offline

    Technius

    I'm working on another plugin based on the above! I just need to mess around some more...

    Anyways, it remove exp orbs on item drops. I have a download link below.



    Edit: Link fixed.
    <Edit by Moderator: Redacted mediafire url>
    [/url]
     
    Last edited by a moderator: Nov 12, 2016
  2. Offline

    dyrnwyn

    Link broken. It wants me to log in. Find another host?
     
  3. Offline

    Technius

    Sure. <Edit by Moderator: Redacted mediafire url>
     
    Last edited by a moderator: Nov 12, 2016
  4. Offline

    Moo Master

    You saved my life
     
  5. Offline

    MuisYa

    Haha, thanks alot!
    I lost most of my respect for Notch to, not for Jeb tough :3

    Nope, not multiworld capable.
    Want me to make it multiworld capable?

    Its 1 minut removal, thanks for the positive reactions :D

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

    idragon2000

    MuisYa, can you make the timer customizable on config? And If it was like 5 or 10 secs will that be bad for server?

    thanks
     
  7. Offline

    MuisYa

    @idragon2000 Well, it is possible. But you could better keep it on 1 minute.
    Since it will give alot of lagg, and i think 1 minut is oke? Thats why i also made it one minut,
     
  8. Offline

    angelofdev

  9. Offline

    idragon2000

    Well on my server, when 2-3 people go on raiding and start to kill lots of people, lots of lag comes from orbs. Sometimes goes so bad that i cant even type properly. After i /removeorbs all goes to normal.

    I think 30 secs should be optimal, but i might be wrong, as in causing the server to lag, not sure.
     
  10. Offline

    MuisYa

    Hmmm, i will add a config for changing time values later.
    And a message to the server Log that it removed orbs.
    Will start coding on that in a minute.
     
  11. Offline

    idragon2000

     
    Last edited by a moderator: Nov 12, 2016
  12. Offline

    MuisYa

    Are you using my plugin or?
    And what build are you using?
     
  13. Offline

    idragon2000


    IF technius succeed in blocking xp orbs to drop, it wont be needed.

    No i was just asking, so far i used ur plugin.

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

    MuisYa

    Lol what is it?
     
  15. Offline

    idragon2000

    See above a few posts:

     
    Last edited by a moderator: Nov 12, 2016
  16. Offline

    MuisYa

    Does it work? Someone tested it? It sounds good, better as mine.
    Can i check youre source btw @Technius
     
  17. Offline

    Em3rgency

    MuisYa I don't know how the time checking works in your plugin, but I think when I get a really bad orb drop, it slows down the server tick time, so the servers 1 minute lasts a lot longer than an actual minute. I have to go into the server and remove the orbs with the command.

    A way to set your own time would be nice ;)
     
  18. Offline

    in0de

    Code:
    org.bukkit.command.CommandException: Unhandled exception executing command 'removeorbs' in plugin OrbRemoval v2.0
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:41)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:349)
        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:499)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:478)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.command.ColouredConsoleSender cannot be cast to org.bukkit.entity.Player
        at me.muisya.orbremoval.CommandHandler.onCommand(CommandHandler.java:18)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39)
        ... 7 more
    Same here w/ CB 1147, PB
     
  19. Offline

    Em3rgency

    You get those errors when using the console to clear orbs. Do it in game, works fine.
     
  20. Offline

    McSpazzy

    If a command like that doesn't work from teh console, it's the sign of a lazy programmer =p
     
  21. Offline

    Switch0r

    This works great on CB#1147 with permissionsbukkit
    Thanks
     
  22. Offline

    in0de

    Oh, stupid silly me didn't think about it.

    btw, Is it possible to grab a dying event
    and trigger the shot?
     
  23. Offline

    Switch0r

    Can you add something like this:
    Sets the Exp. of the Player who's chat or Login to Zero
     
  24. Offline

    McSpazzy

    Just so people know, the orbs are dropped after the death event.

    ...oh dur. That would totally work.

    Give me 10 mins...maybe 20

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

    Em3rgency

    Spazzy you would be my hero. Though on my server I noticed that the orbs drop a bit AFTER death, so maybe add a customizable delay?

    Like someone dies wait for <isert delay> and remove orbs. That way each server could do it specifically to their needs.
     
  26. Offline

    McSpazzy

    yeh, thats what i was gonna do =D
     
  27. Offline

    Em3rgency

    Oh and obviously have a manual removeorbs command, just in case :p Make it work on the console, and I'll declare you my personal jesus ;D
     
  28. Offline

    fffizzz

    If you could, that would be awesome. I have 2 survival maps on my server (normal and harcore).
     
  29. Offline

    McSpazzy

    mine is coming... multiworld compatible, command and remove on mob death. 5-10 mins

    @Em3rgency @fffizzz @Switch0r @idragon2000 @in0de
    Orbthingy 0.2

    • Multiworld,
    • Command /removeorbs works from console or in game
    • Removes orbs approx 5 seconds after entity dies. Sometimes doesn't work...

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

    Em3rgency

    Permissions? Best option to allow it for anyone, as it can't break anything, just fix it.
     

Share This Page