Block RCon messages

Discussion in 'Bukkit Help' started by Stumblinbear, Mar 17, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    Stumblinbear

    I recently finished a PHP script that utilizes Minecraft RCon. But, the messages that it spammed in the console was, to say the least, annoying. I am attempting to remove it via adding a filter to the logger, but everything I've tried has, ultimately, failed.
    Code:
    RConFilter filter = new RConFilter();
    Bukkit.getLogger().setFilter(filter);
    java.util.logging.Logger.getLogger("Minecraft").setFilter(filter);
    I then proceeded to rename the loggers to see if I was lucky enough to find the logger that was RCon. But, alas, I have had no luck. Can anyone help me out?
     
Thread Status:
Not open for further replies.

Share This Page