Inactive [ADMN] ConsoleFilter v1.1.0 - Filter or modify any console message [1.1-R8 / 1.2.5-R1.0]

Discussion in 'Inactive/Unsupported Plugins' started by CypherX, Aug 17, 2011.

     
  1. Offline

    CypherX

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    ConsoleFilter v1.1.0 - CraftBukkit build: [1.1-R8 / 1.2.5-R1.0]
    Download v1.1.0

    Tired of your server console being spammed with unnecessary messages? Irritated by gigantic log files? ConsoleFilter allows for the filtering or modification of messages printed to the server console. Utilizing an easy to understand filter syntax, tasks such as simply blocking an entire message or using a regular expression for advanced replacement can all be done.

    To install, download the latest version and extract it into the /plugins/ directory. The config.yml file located in /plugins/ConsoleFilter/ is where filters are managed.

    Features
    • Ability to completely block or modify messages printed to the server console
    • Simple to use syntax
    • Supports string and regular expression values
    • Lightweight and efficient
    Filter Examples

    To completely filter out a message:
    Code:
    filter:
        - type: string
          value: Can't keep up! Did the system time change, or is the server overloaded?
          level: WARNING
    This will block all messages containing the text "Can't keep up! Did the system time change, or is the server overloaded?" with the WARNING level.

    To replace part of a message:
    Code:
    filter:
        - type: string
          value: version
          replace: v
          level: ALL
    This will result in all instances of the word "version" being replaced with "v".

    Regular expressions work the same way, just specify the type as regex instead of string and the value as your expression.

    Changelog
    • Version 1.1.0
      • Updated to work with the latest version of CraftBukkit.
    • Version 1.0
      • Initial release

    This post has been edited 3 times. It was last edited by CypherX Apr 25, 2012.
  2.  
  3. Offline

    morizuki

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    My server doesn't read ConsoleFilter.jar.. No error or something

    This post has been edited 1 time. It was last edited by morizuki Aug 18, 2011.
  4. Offline

    CypherX

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    What do you mean it doesn't read it? It either loads properly or there's an error. There's nothing in-between.
  5. Offline

    morizuki

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    oh there's an error now..

    Code:
    2011-08-19 16:35:53 [SEVERE] Error occurred while enabling ConsoleFilter v1.0 (Is it up to date?): java.util.ArrayList cannot be cast to java.lang.String
    java.lang.ClassCastException: java.util.ArrayList cannot be cast to java.lang.String
        at com.cypherx.consolefilter.ConsoleFilter.loadFilter(ConsoleFilter.java:71)
        at com.cypherx.consolefilter.ConsoleFilter.onEnable(ConsoleFilter.java:38)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:885)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:178)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:161)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:286)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:273)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:149)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
  6. Offline

    CypherX

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Something isn't set up right in the config.yml file. Did you modify it? If so, post your filters.
  7. Offline

    morizuki

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Code:
    filter:
        - type: string
          value: Can't keep up! Did the system time change, or is the server overloaded?
          level: WARNING
    
        - type: regex
          value: Could not pass event PLAYER_COMMAND_PREPROCESS to PvPplus
          level: SEVERE
          
        - type: regex
          value: [CustomDifficulty]
          level: INFO
          
        - type: regex
          value: Could not pass event PLAYER_QUIT to PermissionsBukkit
          level: SEVERE
          
        - type: regex
          value: Connection reset
          level: INFO
          
        - type: regex
          value: java.net.
          level: SEVERE
          
        - type: regex
          value: at java.
          level: SEVERE
          
        - type: regex
          value: at net.
          level: SEVERE
          
        - type: regex
          value: Could not pass event PLAYER_KICK to PermissionsBukkit
          level: SEVERE
  8. Offline

    CypherX

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Put single quotes around [CustomDifficulty]. Using brackets outside of quotes in .yml files tell it that the contents is a list.

    This post has been edited 1 time. It was last edited by CypherX Aug 20, 2011.
  9. Offline

    Typhome

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Thanks for this! I had serverlog which was over 10 MB causing full of spam warning. Now it doens't spam and that is very useful plugin!

    Works with #1000 bukkit ver.

    This post has been edited 1 time. It was last edited by Typhome Aug 20, 2011.
  10. Offline

    Boos

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    How i can block player chat in console, but dont block loged in message (that with players IP) at the same time? Also is it posible to block messages only from server.log, but not from console itself?
  11. Offline

    ChromeSkull

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I have a question one similar to the one above, is it possible to ignore messages regarding lost connections from a certain ip. unfortunately the port changes regularly so wouldnt be a fixed string. I just dont need to know a minecraft server listing site has disconnected and its spamming my console... i want them to connect just not be informed of it lol.
  12. Offline

    Typhome

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Will topic author update version? (1.8 for bukkit)

    // Works with #1149

    This post has been edited 3 times. It was last edited by Typhome Sep 19, 2011.
  13. Offline

    registered

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Works perfect with #1317
  14. Offline

    r3Fuze

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    You should put load: STARTUP in your plugin.yml. That way you can block messages from plugins starting up too.
  15. Offline

    Legionarius

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Stupid question probably. But anyone else concerned about the performance implications of too many console filters (especially regex based rules)?
  16. Offline

    CypherX

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hm, guess I forgot to watch this thread so I haven't seen any replies since my last response.

    Thanks for the tip, I'll change it when I do an update.

    I haven't tested it, but I doubt there would be a noticeable performance hit unless you have several hundred or more filters.
  17. Offline

    r3Fuze

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @CypherX Can you explain the difference between string and regex a bit more in depth, maybe with some examples. I dont quite get it.
  18. Offline

    CypherX

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I'll give it a try:

    String - Used when matching a static value/word/phrase that remains consistent each time it appears in the console. An example of such is the "Can't keep up! Did the system time change, or is the server overloaded?" warning.

    Regex - Used to match dynamic messages that can contain varying values/words/phrases. When creating a regex filter, rather than putting the string to look for in the value field, a regular expression pattern is used. I'm terrible with regular expressions so I can't really give an example.
  19. Offline

    Scandragon

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Can anyone give an example to the regex?
    I really can't figure that out.. Maybe I'm just stupid
  20. Offline

    Legionarius

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Say you have a plugin that sends multiple messages - something like BukkitInventoryTools, for example. I have a regex set up to ignore all in-game messages containing 'BukkitInventoryTools'. Using a hard string instead would mean that I would have to have like 30 filters for every message. Does that make sense?
  21. Offline

    Phedg1

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I'm LOVING your console filter plugin, but I have a few issues: Any line in the console that refers to a plugin whose name is not in [] cannot be altered (?) Such as the World Edit and World Guard Plugins, also, any line that ends in a period (.) won't get changed either... and SimpleSignEdit just won't co-operate across the board... Any suggestions? Here's my config.yml
    Code:
    filter:
        - type: string
          value: Can't keep up! Did the system time change, or is the server overloaded?
          level: WARNING
        - type: string
          value: For help, type "help" or "?"
          replace:
          level: INFO
    
        - type: regex
          value: ' - NORMAL'
          replace:
          level: INFO
    
        - type: regex
          value: ' - SKYLANDS'
          replace:
          level: INFO
    
        - type: regex
          value: ' - NETHER'
          replace:
          level: INFO
    
        - type: regex
          value: Seed
          level: INFO
    
        - type: string
          value: '[SetRankPB] Couldn'
          level: INFO
    
        - type: string
          value: '[SetRankPB] Restoring RAM...'
          level: INFO
    
        - type: regex
          value: Default game type
          level: INFO
    
        - type: regex
          value: 'null'
          level: INFO
    
        - type: regex
          value: Preparing level
          level: INFO
    
        - type: string
          value: '[ConsoleFilter] v1.0 Enabled!'
          replace: '[ConsoleFilter] Plugin Enabled!'
          level: INFO
    
        - type: string
          value: '[SuperpermBridge] Superperm/Permissions bridge enabled'
          replace: '[SuperpermBridge] Plugin Enabled!'
          level: INFO
    
        - type: string
          value: '[ColorSheep] Permissions enabled'
          replace: '[ColorSheep] Using Permissions Bukkit'
          level: INFO
    
        - type: string
          value: '[MakeEmSpawn] successfully loaded Permissions.'
          replace: '[MakeEmSpawn] Using Permissions Bukkit'
          level: INFO
    
        - type: string
          value: '[MakeEmSpawn] Loaded!'
          replace: '[MakeEmSpawn] Plugin Enabled!'
          level: INFO
    
        - type: string
          value: '[MotherNature] Using Permissions version 2.7.7 for permission handling'
          replace: '[MotherNature] Using Permissions Bukkit'
          level: INFO
    
        - type: string
          value: '[MakeEmSpawn] Loading...'
          level: INFO
    
        - type: string
          value: '[Multiverse-Core] - Version 2.1-b326 (API v7) Enabled - By Rigby, fernferret, lithium3141 and main--'
          replace: '[Multiverse-Core] Plugin Enabled!'
          level: INFO
    
        - type: string
          value: '[AllPay]'
          level: INFO
    
        - type: regex
          value: 'World & Settings - '
          replace: 'World '
          level: INFO
    
        - type: string
          value: ' - World(s)'
          replace: ' Worlds'
          level: INFO
    
        - type: string
          value: '[Multiverse-Portals] - Version 2.1-b295 Enabled - By Rigby and fernferret'
          replace: '[Multiverse-Portals] Plugin Enabled!'
          level: INFO
    
        - type: string
          value: ' - Portals(s)'
          replace: ' Portals'
          level: INFO
    
        - type: string
          value: '[SetRankPB] Enabling...'
          level: INFO
    
        - type: string
          value: '[SetRankPB] Enabled. Version 1.0'
          replace: '[SetRankPB] Plugin Enabled!'
          level: INFO
    
        - type: string
          value: '[iChat] Found PermissionsBukkit v1.2'
          replace: '[iChat] Using Permissions Bukkit'
          level: INFO
    
        - type: string
          value: 'iChat (v2.4.3) enabled'
          replace: '[iChat] Plugin Enabled!'
          level: INFO
    
        - type: string
          value: 'PermissionsBukkit v1.2 is now enabled'
          replace: '[PermissionsBukkit] Plugin Enabled!'
          level: INFO
    
        - type: string
          value: 'WorldEdit 4.7 enabled.'
          replace: '[WorldEdit] Plugin Enabled!'
          level: INFO
    
        - type: string
          value: 'WorlEdit: Using the Bukkit Permissions API.'
          replace: '[WorldEdit] Using Permissions Bukkit'
          level: INFO
    
        - type: string
          value: '[SimpleSignEdit] Check'
          level: INFO
    
        - type: string
          value: '[SimpleSignEdit]'
          level: INFO
    
        - type: string
          value: 'SimpleSignEdit'
          replace: cheeseeeee
          level: INFO
    
        - type: string
          value: 'WorldGuard: '
          replace: cheeseee
          level: INFO
    And here's what the console returned
    Code:
    2011-10-20 08:42:36 [INFO] Starting minecraft server version Beta 1.8.1
    2011-10-20 08:42:36 [INFO] Loading properties
    2011-10-20 08:42:36 [INFO] Starting Minecraft server on *:25565
    2011-10-20 08:42:36 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-1131-g86b7fa8-b1337jnks (MC: 1.8.1)
    2011-10-20 08:42:36 [INFO] [SuperpermBridge] Superperm/Permissions bridge initialized
    2011-10-20 08:42:36 [INFO] [ConsoleFilter] Loaded 35 filters!
    2011-10-20 08:42:36 [INFO] [ConsoleFilter] Plugin Enabled!
    2011-10-20 08:42:37 [INFO] [ColorSheep] version 0.5 is enabled.
    2011-10-20 08:42:37 [INFO] [ColorSheep] Permissions enabled.
    2011-10-20 08:42:37 [INFO] [SuperpermBridge] Plugin Enabled!
    2011-10-20 08:42:37 [INFO] [MakeEmSpawn] Using Permissions Bukkit
    2011-10-20 08:42:37 [INFO] [MakeEmSpawn] Plugin Enabled!
    2011-10-20 08:42:37 [INFO] [MotherNature] Using Permissions Bukkit
    2011-10-20 08:42:37 [INFO] [MotherNature] Plugin enabled! (version 1.3.2)
    2011-10-20 08:42:37 [INFO] [Multiverse-Core] Plugin Enabled!
    2011-10-20 08:42:37 [INFO] [Multiverse-Core] Loading World 'Castle'
    2011-10-20 08:42:38 [INFO] [Multiverse-Core] Loading World 'Island'
    2011-10-20 08:42:38 [INFO] [Multiverse-Core] Loading World 'Skylnd'
    2011-10-20 08:42:39 [INFO] [Multiverse-Core] Loading World 'Nether'
    2011-10-20 08:42:40 [INFO] [Multiverse-Core] Loading World 'Hardcr'
    2011-10-20 08:42:40 [INFO] [Multiverse-Core] 5 Worlds loaded.
    2011-10-20 08:42:40 [INFO] [Multiverse-Portals] Plugin Enabled!
    2011-10-20 08:42:41 [INFO] [Multiverse-Portals]  6 Portals loaded
    2011-10-20 08:42:41 [INFO] [SetRankPB] Plugin Enabled!
    2011-10-20 08:42:41 [INFO] SimpleSignEdit v1.8 enabled.
    2011-10-20 08:42:41 [INFO] [SimpleSignEdit] Checking for table...
    2011-10-20 08:42:41 [INFO] [SimpleSignEdit] Table found! (Error code was SQL:2003 SQLState: null; feel free to post this line on the forum as it may help me improve the plugin; however, this is not a bug)
    2011-10-20 08:42:41 [INFO] WorldEdit 4.7 enabled.
    2011-10-20 08:42:41 [INFO] WorldEdit: Using the Bukkit Permissions API.
    2011-10-20 08:42:41 [INFO] [Multiverse-Portals]  Found WorldEdit. Using it for selections.
    2011-10-20 08:42:41 [INFO] WorldGuard: Using the Bukkit Permissions API.
    2011-10-20 08:42:41 [SEVERE] WorldGuard: Unable to read default configuration: blacklist.txt
    2011-10-20 08:42:41 [WARNING] WorldGuard blacklist does not exist.
    2011-10-20 08:42:41 [INFO] WorldGuard: (Castle) Single session is enforced.
    2011-10-20 08:42:41 [INFO] WorldGuard: (Castle) TNT ignition is PERMITTED.
    2011-10-20 08:42:41 [INFO] WorldGuard: (Castle) Lighters are PERMITTED.
    2011-10-20 08:42:41 [INFO] WorldGuard: (Castle) Lava fire is blocked.
    2011-10-20 08:42:41 [INFO] WorldGuard: (Castle) Fire spread is UNRESTRICTED.
    2011-10-20 08:42:41 [INFO] WorldGuard: Loaded configuration for world 'Castle"
    2011-10-20 08:42:41 [SEVERE] WorldGuard: Unable to read default configuration: blacklist.txt
    2011-10-20 08:42:41 [WARNING] WorldGuard blacklist does not exist.
    2011-10-20 08:42:41 [INFO] WorldGuard: (Island) Single session is enforced.
    2011-10-20 08:42:41 [INFO] WorldGuard: (Island) TNT ignition is PERMITTED.
    2011-10-20 08:42:41 [INFO] WorldGuard: (Island) Lighters are PERMITTED.
    2011-10-20 08:42:41 [INFO] WorldGuard: (Island) Lava fire is blocked.
    2011-10-20 08:42:41 [INFO] WorldGuard: (Island) Fire spread is UNRESTRICTED.
    2011-10-20 08:42:41 [INFO] WorldGuard: Loaded configuration for world 'Island"
    2011-10-20 08:42:41 [SEVERE] WorldGuard: Unable to read default configuration: blacklist.txt
    2011-10-20 08:42:41 [WARNING] WorldGuard blacklist does not exist.
    2011-10-20 08:42:41 [INFO] WorldGuard: (Skylnd) Single session is enforced.
    2011-10-20 08:42:41 [INFO] WorldGuard: (Skylnd) TNT ignition is PERMITTED.
    2011-10-20 08:42:41 [INFO] WorldGuard: (Skylnd) Lighters are PERMITTED.
    2011-10-20 08:42:41 [INFO] WorldGuard: (Skylnd) Lava fire is blocked.
    2011-10-20 08:42:41 [INFO] WorldGuard: (Skylnd) Fire spread is UNRESTRICTED.
    2011-10-20 08:42:41 [INFO] WorldGuard: Loaded configuration for world 'Skylnd"
    2011-10-20 08:42:41 [SEVERE] WorldGuard: Unable to read default configuration: blacklist.txt
    2011-10-20 08:42:41 [WARNING] WorldGuard blacklist does not exist.
    2011-10-20 08:42:41 [INFO] WorldGuard: (Nether) Single session is enforced.
    2011-10-20 08:42:41 [INFO] WorldGuard: (Nether) TNT ignition is PERMITTED.
    2011-10-20 08:42:41 [INFO] WorldGuard: (Nether) Lighters are PERMITTED.
    2011-10-20 08:42:41 [INFO] WorldGuard: (Nether) Lava fire is blocked.
    2011-10-20 08:42:41 [INFO] WorldGuard: (Nether) Fire spread is UNRESTRICTED.
    2011-10-20 08:42:41 [INFO] WorldGuard: Loaded configuration for world 'Nether"
    2011-10-20 08:42:41 [SEVERE] WorldGuard: Unable to read default configuration: blacklist.txt
    2011-10-20 08:42:41 [WARNING] WorldGuard blacklist does not exist.
    2011-10-20 08:42:41 [INFO] WorldGuard: (Hardcr) Single session is enforced.
    2011-10-20 08:42:41 [INFO] WorldGuard: (Hardcr) TNT ignition is PERMITTED.
    2011-10-20 08:42:41 [INFO] WorldGuard: (Hardcr) Lighters are PERMITTED.
    2011-10-20 08:42:41 [INFO] WorldGuard: (Hardcr) Lava fire is blocked.
    2011-10-20 08:42:41 [INFO] WorldGuard: (Hardcr) Fire spread is UNRESTRICTED.
    2011-10-20 08:42:41 [INFO] WorldGuard: Loaded configuration for world 'Hardcr"
    2011-10-20 08:42:41 [INFO] WorldGuard: 0 regions loaded for 'Castle'
    2011-10-20 08:42:41 [INFO] WorldGuard: 0 regions loaded for 'Island'
    2011-10-20 08:42:41 [INFO] WorldGuard: 0 regions loaded for 'Skylnd'
    2011-10-20 08:42:41 [INFO] WorldGuard: 0 regions loaded for 'Nether'
    2011-10-20 08:42:41 [INFO] WorldGuard: 0 regions loaded for 'Hardcr'
    2011-10-20 08:42:41 [INFO] WorldGuard 5.3 enabled.
    2011-10-20 08:42:41 [INFO] [iChat] Using Permissions Bukkit
    2011-10-20 08:42:41 [INFO] [iChat] Plugin Enabled!
    2011-10-20 08:42:41 [INFO] [PermissionsBukkit] Plugin Enabled!
    2011-10-20 08:42:41 [INFO] Done (0.458s)!
    
    Any help would be greatly appreciated

    This post has been edited 3 times. It was last edited by Phedg1 Oct 19, 2011.
  22. Offline

    Scandragon

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Code:
        - type: regex
          value: 'Setting block at'
          level: INFO
    
        - type: regex
          value: 'Running original command'
          level: ALL
    
        - type: regex
          value: 'from a CommandSender'
          level: ALL
    The first one works even as a string, removing the entire line including the coordinates after that text
    But the others.. it seems there's no way to get rid of those
  23. Offline

    Legionarius

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Does level
    Does level 'ALL' even work? Also what on earth is CommandSender?
  24. Offline

    Legionarius

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    You cannot use brackets, it throws an unexpected end error. There is no need for them. Also use regexs instead of strings if you want to eliminate all messages from any given plugin.

    This post has been edited 1 time. It was last edited by Legionarius Oct 20, 2011.
  25. Offline

    Scandragon

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Well the example in OP uses ALL..

    edit: Just changed it to INFO which is what it says in the log.. Still shows up

    This post has been edited 1 time. It was last edited by Scandragon Oct 20, 2011.
  26. Offline

    Legionarius

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I see nothing special about those entries. I'm guessing you might have a white space issue in your config. That's about all there is left to try. I have 20+ rules, every single one works.
  27. Offline

    chuiby

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Great plugin, this is fucking awesome :)
  28. Offline

    Phedg1

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I was putting in the [] brackets so that in the future it was easier to see what plugin the message was from that was being filtered. I saw in another post that instead of writing

    This post has been edited 3 times. It was last edited by Phedg1 Oct 22, 2011.
  29. Offline

    CypherX

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @Scandragon @Phedg1 - Your problems seem to be caused by various plugins using different loggers than the one ConsoleFilter hooks into. For instance, the logger ConsoleFilter uses is "Minecraft", while WorldGuard uses "Minecraft.WorldGuard". I already have a good idea of a way to work around this, so I'll implement it and push out an update. Also, you're both using the regex type wrong and should be using string instead. For info about regular expressions (regex), see this site.

    By the way, brackets can be used in filters as long as the entire value is surrounded in quotes.

    This post has been edited 3 times. It was last edited by CypherX Oct 22, 2011.
  30. Offline

    Phedg1

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Thanks for the regex link, helped a load - One question though, if you are replacing, how can you maintain a value or string?
    Edit: ETA for the plugin logger fix?WorldGuard console spam is dring me CrAZy

    This post has been edited 1 time. It was last edited by Phedg1 Oct 27, 2011.
    AtomicCore9 likes this.
  31. Offline

    tinez

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hi!

    I tried to get CF working but it doesn't. It is loaded by the server at the init and i use the config.yml given by default. But the message
    "12:44:54 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?"
    continues in the console.
    I have no explaination... Here my plugins:
    PermissionsEx, ScheduledAnnouncer, WorldEdit, IHateExp, LogBlockQuestioner, ModTRS, MobDisguise, FalseBookCore, Lockette, MagicCarpet, xAuth, Permissions, FalseBookBlock, Essentials, ConsoleFilter, SkylandsPlugin, Server Port, SimpleSignEdit, EasyNoNotification, Spout, iConomy, Minequery, WorldGuard, ChatManager, dynmap, EssentialsSpawn, mcMMO, WorldBorder, Citizens, LogBlock, ChestShop, RandMan, VanishNoPacket.

    Any idea? This plugin is fundamental for me!

    Thanks.

    This post has been edited 2 times. It was last edited by tinez Oct 28, 2011.

Share This Page