Log player commands?

Discussion in 'BungeeCord Plugin Help' started by Cherlox, May 2, 2017.

  1. Hey,
    I wish to log the commands & chat of players in my server.
    Is there a plugin which will let me do it?


    (I have a MySQL database)
  2. Specifically BungeeCord?
    Doesn't Spigot produce logs (logs/latest.log) that shows player commands and chat?
  3. But I want a command, for example /log (player) and it will show me it all in game.
  4. Ohh. You could store all the commands/chat in a file, though that might get pretty intensive on larger servers.
  5. Die Commands weden auch in den Server Logs gespeichert ^^
  6. Thanks, but I want something I can look in game.
  7. the ChatEvent provides a isCommand() method. You can then just log commands to a file/store them in some kind of collection.