[INACTIVE][ADMIN] ObuShutTheHellUp v0.3 - No more server can't keep up messages - [860]

Discussion in 'Inactive/Unsupported Plugins' started by OBudista, May 11, 2011.

  1. Offline

    OBudista

    ObuShutTheHellUp

    Version: v0.3
    Download Jar



    DO WHATEVER YOU FEEL LIKE WITH IT
    Older versions:
    v0.2, v0.1

    Tested for:
    • Bukkit: 860
    ObuShutTheHellUp is a plugin that suppresses the [WARNING] Can't keep up! Did the system time change, or is the server overloaded?log message, preventing it from flooding your console/log and hiding important stuff.

    As from v0.2 you are now able to filter any other log message you want by configuring the plugin.

    Known Incompatibilities:
    • SimpleSave: If you have SimpleSave installed in your plugin folder, OnuShutTheHellUp is likely to stop working. To fix this you just have to enable the timed fix functionality.
    Instalation:
    • Place obuShutTheHellUp.jar in your plugins/ directory.
    • (Optional) Alter /plugins/ObuShutTheHellUp/filters.yml to change filters. (file automatically created on the first run).
    Filter Configuration:
    • type
      • 'string' - log entry is filtered if this value is contained in the message's text.
      • 'regex' - log entry is filtered if the message's text matches at least once in the regular expression.
    • value
      • the value to be compared (either by string comparison or by regular expression)
    • level
      • log entry if filtered if the log level is matched.
      • 'ANY' will match any level.
    Example:
    Code:
    {
     
      activateTimer: false,
      timerDelay: 5,
      timerPeriod: 0,
        filters: [
            { type: 'string', value: 'overloaded?', level: 'WARNING' },
            { type: 'regex',  value: 'Done \([0-9]{1}\,{1}[0-9]{1,3}s{1}\)', level: 'ANY'}
        ]
    }
    Troubleshooting:
    1. Getting java.util.regex.Pattern's errors mostly means your regular expression is not well formated. You can find out what is the error in this website. If it is good, please verify it again on this one that actually uses the same library.
    2. If above is ok or if you don't use regular expressions chances are your yml is not well formated. Use this to check it for errors: Online Parser
    Known bugs:
    • None
    Todo:
    • Waiting for user feedback.
    Changelog:

    version 0.3:
    • Solves incompatibilities with other plugins just as SimpleSave.
    version 0.2:
    • Allows for filter addition/edition
    Version 0.1:
    • First release
     

    Attached Files:

  2. Offline

    oxguy3

    This plugin is awesome! While I don't mind those "Can't keep up!" messages as I scarcely get them, this message is extremely helpful since I am running my server with GameCP. Every time GameCP reloads the console (which is every 7-ish seconds when you have it opened), it causes the console to report "[INFO] /<server ip>:<port> lost connection". I used this plugin to block all strings containing "/<server ip>:".

    Great work OBudista!
     
    OBudista likes this.
  3. Offline

    NeonJ

    Oh cool, I could use this to stop GeoCache from spamming my console. I like the 'Can't Keep Up!' messages because they tell me when my server's actually overloaded, but GeoCache just SPAMS. D:<
     
  4. Offline

    Riolu

    Thanks. It's working :)
     
  5. Offline

    OBudista

    Just to let everyone know that this plugin is working for bukkit 860
     
  6. Offline

    DaddyCool64

    on CB 953 it works too.
     
    OBudista likes this.
  7. Offline

    maystorm

    Confirmed. :)
     
    OBudista likes this.
  8. Offline

    nanashiRei

    I love you, only thing i would love to see even more is a /obu reload or something ^^ reload the entire server is quite annoying :p
     
  9. Offline

    Rsccman

    fix this with simplesave
     
  10. Offline

    KiloWhiskey

    @OBudista Hey man, I'd love to see this brought back to life now that I'm having a new problem. Since CB1000 (or whatever version fixed console colors) I'm getting some odd stuff in my server.log due to various name colors. I'm wondering if there's any way for this to remove portions of lines.
    Code:
    2011-07-20 08:04:41 [INFO] Lithium: oh ok 
    2011-07-20 08:04:42 [INFO] Lithium: ? 
    2011-07-20 08:04:42 [INFO] $ Shimmey: I'm feeling nice 
    2011-07-20 08:04:32 [INFO] Lithium: thats 54 
    2011-07-20 08:04:28 [INFO] * Frenzy has a creeper rave party *
    2011-07-20 08:04:18 [INFO] Lithium: thats ok 
    2011-07-20 08:04:11 [INFO] $ Shimmey: I can throw the iron one at a time :p 
    2011-07-20 08:04:01 [INFO] $ Shimmey: *feels silly* 
    2011-07-20 08:03:59 [INFO] Lithium: thats weird 
    2011-07-20 08:03:52 [INFO] $ Shimmey: won't let me select stuff 
    What I'm hoping to remove would be the  and all variants of it. It seems to go from 30-39 and every line is ended in  so if there's any way to have that excluded from my logs with your plugin I'd <3 you forever.
     
  11. Offline

    OBudista

  12. Offline

    Rsccman

  13. Offline

    Nitnelave

    I think @KiloWhiskey wants to remove only the  part, not the whole line containing it. I know he can use a regex find and replace in the log file, but it's about the same for the rest of the features of this plugin. I think it would be a cool feature, to just be able to remove some part of a message.
     
  14. Offline

    sfxworks

    Update for build 1k?
     
  15. Offline

    sirjayjayec123

    can you help me i can't figure out how to make a filter for this

    01:06:22 [SEVERE] java.lang.NoSuchFieldException: perm
    01:06:22 [SEVERE] at java.lang.Class.getDeclaredField(Unknown Source)
    01:06:22 [SEVERE] at org.getspout.spout.player.SpoutCraftPlayer.<init>(Spo
    utCraftPlayer.java:89)
    01:06:22 [SEVERE] at org.getspout.spout.player.SpoutCraftPlayer.updateBukk
    itEntity(SpoutCraftPlayer.java:606)
    01:06:22 [SEVERE] at org.getspout.spout.player.SpoutCraftPlayer.getPlayer(
    SpoutCraftPlayer.java:638)
    01:06:22 [SEVERE] at org.getspout.spout.SpoutPlayerListener.updatePlayerEv
    ent(SpoutPlayerListener.java:117)
    01:06:22 [SEVERE] at org.getspout.spout.SpoutPlayerListener.onPlayerTelepo
    rt(SpoutPlayerListener.java:38)
    01:06:22 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader$8.execute(Jav
    aPluginLoader.java:293)
    01:06:22 [SEVERE] at org.bukkit.plugin.RegisteredListener.callEvent(Regist
    eredListener.java:58)
    01:06:22 [SEVERE] at org.bukkit.plugin.SimplePluginManager.callEvent(Simpl
    ePluginManager.java:321)
    01:06:22 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:373)
    01:06:22 [SEVERE] at org.getspout.spout.player.SpoutCraftPlayer.updateNetS
    erverHandler(SpoutCraftPlayer.java:585)
    01:06:22 [SEVERE] at org.getspout.spout.SpoutPlayerListener.onPlayerJoin(S
    poutPlayerListener.java:28)
    01:06:22 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(Jav
    aPluginLoader.java:244)
    01:06:22 [SEVERE] at org.bukkit.plugin.RegisteredListener.callEvent(Regist
    eredListener.java:58)
    01:06:22 [SEVERE] at org.bukkit.plugin.SimplePluginManager.callEvent(Simpl
    ePluginManager.java:321)
    01:06:22 [SEVERE] at net.minecraft.server.ServerConfigurationManager.c(Ser
    verConfigurationManager.java:124)
    01:06:22 [SEVERE] at net.minecraft.server.NetLoginHandler.b(NetLoginHandle
    r.java:97)
    01:06:22 [SEVERE] at net.minecraft.server.NetLoginHandler.a(NetLoginHandle
    r.java:74)
    01:06:22 [SEVERE] at net.minecraft.server.Packet1Login.a(SourceFile:43)
    01:06:22 [SEVERE] at net.minecraft.server.NetworkManager.b(NetworkManager.
    java:226)
    01:06:22 [SEVERE] at net.minecraft.server.NetLoginHandler.a(NetLoginHandle
    r.java:40)
    01:06:22 [SEVERE] at net.minecraft.server.NetworkListenThread.a(SourceFile
    :91)
    01:06:22 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServe
    r.java:451)
    01:06:22 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:361)
    01:06:22 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:422)
     
  16. Offline

    The_Guest

    Great plugin Ob, I've been looking for something like this for a while now.

    Also this works with [1000] because it does not use hooks like normal plugins.
     
  17. Offline

    Po1ntBlank

    Confirmed. Thanks :)
     
  18. Offline

    BarelyMissed

    Can anyone confirm this working on 1060?
     
  19. Confirmed, or 1060 would've kicked the bukkit for me already.
     
  20. This has stopped working for me on recent CBs, can anyone confirm?
     
  21. Offline

    Shalobee

    yep stopped working for me too :/ too bad this hasn't been updated since RB 860. Anyone out there that can fix this?
     
  22. Seems Bukkit made it difficult/impossible, not sure tho :/
     
  23. Offline

    Koltrast

    Works for me on 1185.
     
  24. Offline

    Psychos

    I confirm.
     
  25. Either the server is behaving itself or this plugin works on 1185 :)
     
  26. Offline

    Bradley Hilton

    Can confirm that :)
     
  27. Offline

    TheBeast808

    This plugin is broken, but for some reason v0.2 works.

    Nevermind, it isn't working at all right now. I would love to see this working.

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

    red7up

    OH MY FRIKKING FINALLY, THANK GOD THIS PLUGIN EXISTS, I WOULD SOOOOOOOO DONATE!!!!! if i had a paypal:( anyway mate, awesome plugin, by the way, this works with bukkit 1337 so you can update it's status, for the third time tytytyyyyy!!!!!!!!
     
  29. I have a hard time believing you are 17.
     
    EarlyLegend likes this.
  30. Offline

    Jackoo

    Specifically what are the errors or consequences of running both SimpleSave and this plugin? And will the same errors occur if i'm running a similar plugin called "Serversave"?

    Thank you
     
  31. Offline

    Nathan C

    Awesome!
     

Share This Page