send console output to player

Discussion in 'Plugin Development' started by Roaelker, Jul 20, 2020.

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

    Roaelker

    Hello,
    I'm working on a plugin for a and I want the plugin to send me the console output as soon as there is a new message in the console. I did some research and didnt really find what i was looking for. Since i have no idea if there is an event for console output, i'm asking here.
    Is there any way for me to get only the newest line in the console and forward it to a specific player?

    I will be happy if you throw it in the form of a full code.
     
  2. Offline

    KarimAKL

    @Roaelker I believe you can use a log4j filter to get this.

    That's spoonfeeding. Read up on it instead.
     
Thread Status:
Not open for further replies.

Share This Page