Help with logging to remote file.

Discussion in 'Plugin Development' started by TehCoderHD, Oct 16, 2016.

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

    TehCoderHD

    Hey Bukkit,

    I've recently been working on a plugin that I have spent hours and hours on - but I want to know a few things about the servers using it.

    I basically want to log the server ip's of all the servers using my plugin to a file on a database/external computer, so I can go and check out what they are using it for and thank them for using it.

    I can't quite get my head around sockets/networking or if thats even relavent to this.

    I want to figure out how I can log to a .txt file or similar on another system

    -Traineeee

    edit: Before some of you say 'google it' I already have XD ( https://gyazo.com/2483e6065dffe570fe4ee9d620aa1fb6 )
     
  2. Online

    timtower Administrator Administrator Moderator

    @TehCoderHD Try mcstats.
    Thanking them for using it is overkill in my opinion, you might mess up their server by sending random messages
     
  3. Offline

    TehCoderHD

    Its not just for thanking them & MCStats uses unique server ids, not ip addresses..
     
  4. Online

    timtower Administrator Administrator Moderator

    @TehCoderHD Then for what else is it?
    And why do you need the IP then?
     
  5. Offline

    TehCoderHD

    I want the IP a)to thank them and b)to see how they are using it and it is also so I can keep track on how many servers are using it.

    I know MCLeaks has b) but I still want to see for myself.
     
  6. Online

    timtower Administrator Administrator Moderator

    @TehCoderHD It is highly questionable what you are trying to do here.
    And don't log to files, open a connection to a webserver, let that handle everything.
     
Thread Status:
Not open for further replies.

Share This Page