How to send player all console logs

Discussion in 'Plugin Development' started by william9518, Jan 20, 2013.

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

    william9518

    title :D i want to be able to send logs from the console to the player.
     
  2. Offline

    gomeow

    Why would you do that? That would just be spamming the player. Don't do that.

    ...

    Have you noticed which sub forum you're in?

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

    william9518

    For server admins that want to see any errors etc
     
  4. Offline

    gomeow

    So spam them with hundreds of messages? Server admins can just look at the logs themselves
     
  5. Offline

    william9518

    Your not helping!
    EDIT: and of course they will get a toggle command which I already made. I just need a way to get the log from the console.
     
  6. Offline

    gomeow

    I'm trying to dissuade you from doing this, as it is a bad idea
     
  7. Offline

    william9518

    read my EDIT.
    and its for ADMINS, not OWNERS! owners sure can look on the frickin console, but in a rented 24/7 server, admins wont have perms!
     
  8. Offline

    gomeow

    But why concern admins with server errors? Most won't be able to do anything with a stack trace
     
  9. Offline

    william9518

    OMG...... Some will... at least they can REPORT the stupid error! If you're not gonna help me with this, stop posting here!
     
  10. Offline

    ZachBora

    It'd be better off if you checked if you read the server.log to check for recent errors and tell the admin there are some error and he should ask someone to check... maybe
     
  11. Offline

    william9518

    :'(
     
  12. Offline

    ZeusAllMighty11 Retired Staff

    If you REALLY want to spam the hell out of the player... Look into 'BufferedReader'
     
    tommycake50 and iWareWolf like this.
  13. Offline

    brinaq

    Sorry, I'm on tapatalk. It lists all recent items...
    It was also around 1 am..
     
  14. Offline

    ferrybig

    william, register a handler on the logger that send its toward a players that registered on list, dont forgot to check if you talking inside the main server thread
     
  15. Offline

    william9518

    Yes... Plugin developement! im making a plugin so admins can see logs!@
     
  16. Offline

    tommycake50

    or scanner which can be easier.
    pass the scanner a bufferedinputstream(if it exists)
     
Thread Status:
Not open for further replies.

Share This Page