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


    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.

    • 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:
        - 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:
        - 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.

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


    +1 to the previous post on the R5/R6 compatibility. Looks like minecraft 1.2 has forced bukkit to change the way configurations are loaded.. a patch to 1.0 would greatly appreciated. This is a very useful plugin. Thank you very much for quickly putting this together.
    Pim1234 likes this.
  3. Offline


    Please update :)
  4. Offline


    Update pls
  5. Offline


    please update, if i see another system overloaded im gonna shoot someone lol :p
  6. Offline


    in bukkit.yml set warn-on-overload to false
  7. Offline


    i found another plugin that does the same thing, lets u block other things too, obushutthehellup is what its called
  8. Offline


    Seriously? 3 word fix guys.


    Attached Files:

    DaEgo likes this.
  9. Offline


  10. Offline


    I have 2 questions. First of all, is there a way inwhich you might be able to filter the messages sent out by Console Filter itself? Secondly, does anyone know how to remove the messages from the console that are entered before Console Filter is loaded? Eg. Starting Minecraft server version 1.1, Loading Properties, This server is running Craft Bukkit version etc.

    Also, would you be able to give an estimation on the release time of the comming update and whether or not it will include suffix detection, Eg. Minecraft.WorldGuard as well as Minecraft

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


    Updated to version 1.1.0:
    • Now works with the latest version(s) of CraftBukkit.
    Some plugins use different loggers, which is how ConsoleFilter detects and modifies the text. An update will be out in the next few days which allows you to specify a filter name for each filter to fix the issue of some text not being affected.
  12. Offline


    If someone could help me with this spam that worldedit and worldguard keeps putting on my server log that sould be nice, I've tried copy and pasting the message into the config folder and i tried putting the type as both string and regex, but it does'nt seem to work. Here's the spam that I've been getting:
    [SEVERE] Could not pass event PlayerMoveEvent to WorldGuard
    at org.bukkit.plugin.RegisteredListener.callEvent
    at org.bukkit.plugin.SimplePluginManager.callEvent
    at net.minecraft.server.NetServerHandler.a
    at net.minecraft.server.Packet10Flying.handle
    at net.minecraft.server.NetworkManager.b
    at net.minecraft.server.NetServerHandler.a
    at net.minecraft.server.NetworkListenThread.a
    at net.minecraft.server.MinecraftServer.w
    Caused by: java.lang.NoSuchMethodError: org.bukkit.entity.Player.getVehicleLorg/bukkit/entity/Vehicle;
    at com.sk89q.worldguard.bukkit.WorldGuardPlayerListener$PlayerMoveHandler.onPlayerMove
    at sun.reflect.NativeMethodAccessorImpl.invoke0
    at sun.reflect.NativeMethodAccessorImpl.invoke
    at sun.reflect.DelegatingMethodAccessorImpl.invoke
    at java.lang.reflect.Method.invoke
    ... 10 more?
  13. Offline


    It's failing to filter those messages because WorldEdit and WorldGuard use their own Logger to display information rather than the default logger that they should be using. I plan to push out an update sometime this weekend that'll allow a logger name for each filter to be specified.
  14. Offline


    Ok, thanks a lot, other than that the plugin works pretty fine. It's just that message I can't seem to get rid of.
  15. how do I fix this? because it obvious doesn't work because the :

    - type: regex
    value: Error.lang.RuntimeExeption: Permissions amager is not accessable.
    replace: Error
    level: SEVERE
  16. Offline


  17. [quote uid=90595748 name="Phedg1" post=1166863]Make it a string, not a regex. You're using regex wrong. If you want to learn, read this site[/quote]

    not working...
    : is a end of a line
    Error.lang.RuntimeExeption: = error because end of line
    Error.lang.RuntimeExeption = not filtering because the words doesn't match 100%

    can u please take a look, and fix the problem(s)

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


    please do an update :'((
  19. Offline


    Well now I think you get i'm happy.
    Thanks you so much for this plugin I love it! It does a fantastic job, before my log was spammed with some blockbreakevent (I run tekkit) and it was unreadable. Now it's just ahhhhh... Such relief. I love you! (no homo) lol
  20. Offline


    does this still work with the latest 1.2.5 and will there be one for 1.3 as well?
    does this support {playername} values?
    is it possible for it to hide certain parts of a line without hiding the whole thing?

    all questions I need to know
  21. Offline


    still works fine with 1.3.1....
  22. Offline


    would removing the overloaded message stop my server from resetting? or would it just stop it from appearing in the console and still reset? im trying to fix my crash problem so i stop getting kicked from my server
  23. THANK YOU!!!!!!!
    I am running a Tekkit server, and the "Connection reset" spam was very annoying and inconvenient! This plugin has saved me!

    Oh wait...
    Oh well...

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


    This plugin does not recognize: *
    Show Spoiler

    19:15:25 [SEVERE] Cannot load plugins\ConsoleFilter\config.yml
    org.bukkit.configuration.InvalidConfigurationException: while scanning an alias
    in "<string>", line 9, column 10:
    value: **** SERVER IS RUNNING IN OFFLIN ...
    expected alphabetic or numeric character, but found but found *
    in "<string>", line 9, column 11:
    value: **** SERVER IS RUNNING IN OFFLINE ...

    at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlCo
    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguratio
    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguratio
    at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(Yam
    at com.cypherx.consolefilter.ConsoleFilter.loadConfiguration(ConsoleFilt
    at com.cypherx.consolefilter.ConsoleFilter.onEnable(
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(
    at net.minecraft.server.MinecraftServer.i(
    at net.minecraft.server.MinecraftServer.d(
    at net.minecraft.server.MinecraftServer.a(
    at net.minecraft.server.DedicatedServer.init(
    Caused by: while scanning an alias
    in "<string>", line 9, column 10:
    value: **** SERVER IS RUNNING IN OFFLIN ...
    expected alphabetic or numeric character, but found but found *
    in "<string>", line 9, column 11:
    value: **** SERVER IS RUNNING IN OFFLINE ...

    at org.yaml.snakeyaml.scanner.ScannerImpl.scanAnchor(
    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchAlias(
    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.ja
    at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(
    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingValue.produce(P
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(
    at org.yaml.snakeyaml.composer.Composer.composeNode(
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(
    at org.yaml.snakeyaml.composer.Composer.composeNode(
    at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.jav
    at org.yaml.snakeyaml.composer.Composer.composeNode(
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(
    at org.yaml.snakeyaml.composer.Composer.composeNode(
    at org.yaml.snakeyaml.composer.Composer.composeDocument(
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(

    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
    at org.yaml.snakeyaml.Yaml.loadFromReader(
    at org.yaml.snakeyaml.Yaml.load(
    at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlCo
    ... 18 more
    19:15:25 [INFO] [ConsoleFilter] Loaded 2 filters!
    19:15:25 [INFO] [ConsoleFilter] v1.1.0 Enabled!
    19:15:25 [INFO] Server permissions file permissions.yml is empty, ignoring it
    19:15:26 [INFO] Done (2,622s)!

    For some reason i can't change any of these:
    Show Spoiler

    195 recipes
    27 achievements
    19:36:33 [INFO] Starting minecraft server version 1.3.2
    19:36:33 [INFO] Loading properties
    19:36:33 [INFO] Default game type: SURVIVAL
    19:36:33 [INFO] Generating keypair
    19:36:33 [INFO] Starting Minecraft server on *:25565
    19:36:33 [WARNING] The server will make no attempt to authenticate usernames. Be
    19:36:33 [WARNING] While this makes the game possible to play without internet a
    ccess, it also opens up the ability for hackers to connect with any username the
    y choose.
    19:36:33 [WARNING] To change this, set "online-mode" to "true" in the
    perties file.
    19:36:33 [INFO] This server is running CraftBukkit version git-Bukkit-1.3.2-R1.0
    -b2377jnks (MC: 1.3.2) (Implementing API version 1.3.2-R1.0)
  25. Offline


    It doesn't even work :C
    I tried to add things but it would just correct it self to the original
    - 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
  26. How did you remove the blockbreakevent in config.yml?
  27. Offline


    Same here. Can't add rules/modify existing because every time the plugin loads it just overwrites the config.yml with the defaults. Makes this a bit useless...

    on craftbukkit 1.4.5
  28. Offline


    Why isn't this on bukkit dev? why is there no documentation? it appears to be working.

    It would be a great plugin but it leaves me generally lost without the documentation, having to flip thru other messages in an attempt to understand how to use it.

    Instead of forcing people to flip thru & run google searches for answers couldn't the dev be a bit more responsible an provide a clear how to use? the first post has nothing on this.
  29. Offline


    If your not maintaining any more could you post the source for this?
  30. Offline


    No longer working - anyone wish to continue this or make a quick fix?
  31. Offline


    hi this is the best plugin

Share This Page