[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

    Opterongeek

    My server's about string:
    19:29:35 [INFO] This server is running Craftbukkit version git-Bukkit-1.8.1-R
    1-g696ba64-b1479jnks (MC: 1.0.0)
    Works fine. Love that the messages aren't showing up now.
     
  3. Offline

    oxguy3

    This plugin shouldn't be marked inactive. It still works just fine; it hasn't been updated in a while because it doesn't need to be updated.
     
  4. They get marked inactive if their stated RB is 3 or more behind the current one.
     
  5. Offline

    oxguy3

    Yeah, I know, but it's misleading. I wish it could be based on whether or not the plugin still works.
     
  6. Everything is switching over to BukkitDev (slowly); so it shouldn't bother you too much longer.
     
  7. Offline

    mmob18

    Hi, will this work with the newest RB for 1.0.0?
    Thanks,
    mmob18
     
  8. Works for me.
     
  9. Offline

    mmob18

    Thanks, I haven't gotten any of those messages so far!
     
  10. Offline

    Pythros

    Could anyone help to point out how to stop these errors http://pastebin.com/jtT7Yhgp? I have this installed and configured it as such:
    Code:
        filters: [
            { type: 'string', value: 'overloaded?', level: 'WARNING' }, 
            { type: 'string', value: 'Attempted', level: 'INFO' }
        ]
    }  
    If done it both as a string and as a regex and neither seem to work. Thanks!
     
  11. Offline

    OBudista

    Hey,

    I'm no longer giving support on this, but try enabling activateTimer = true, timerDelay = 30 and timerPeriod = 30 and see if there is any change.

    It will check if there is some plugin having a incompatibility with this plugin and report it to you in the log.

    If there is an incompatibility then you need to figure out what to do. Depending on the plugin that is conflicting with this one you might need to dro one of them, or try just keeping both with this setup.

    Alternatively, if you want to save CPU you can bring timerPeriod to zero, it will stop the periodic check and run it only once (timerDelay seconds after the plugin finished loading).
     
  12. Offline

    OBudista

    Also, since I've read stuff is being migrated to a new bukkit, and since I'm no longer supporting this, I'm releasing the source code.

    Whoever wants to continue it, under whatever name (I mostly don't care) is free to do so.

    Have fun
     

    Attached Files:

  13. Offline

    Pythros

    Hmm... although no messages came up, I remember I had WG to suppress the "overloaded?" message. Once I disabled that in WG, it would seem then that this plugin started to kick in and suppress messages!
     
  14. Offline

    DreamPhreak

    Works perfectly, thanks.
    (CB: 1.1-R6 - Build: 2036)
     

Share This Page