Modify (Bukkit) log message before it's logged?

Discussion in 'Plugin Development' started by RastaLulz, Apr 26, 2014.

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

    RastaLulz

    Is it possible to modify a log message before it's logged/sent to the console? I ask this because I have a command that allows users to register on my forums via a plugin (in-game), so that their account represents their legitimate Minecraft account. The issue with this is that when they use "/register <email> <password>" is that their forum password is logged in plain text (via "issued server command"), which is obviously a very bad thing if anyone were to get a hold of the logs, and is just very bad practice in general.
     
  2. Offline

    BillyGalbreath

    I made Pl3xConsoleFilter which does what you're looking for. Source is open.
     
Thread Status:
Not open for further replies.

Share This Page