[MISC] ServerStatus v0.2 - HL1 Query protocol support [766]

Discussion in 'Inactive/Unsupported Plugins' started by hackziner, May 15, 2011.

  1. Offline


    ServerStatus - HL1 Query protocol support
    Version: v0.2
    Tested with build 766.

    Implement the HL1/HL2 (steam) server status query protocol. The plugin automaticaly use your default server port +1.

    Basicly, it allows you to query the status of your server with all the tools that support HL1 query protocol (LGSL, qstats, ... ). It might be usefull if you want to display the status on a website without rewriting a module.

    You can test we a simple tool:

    The one of the UFB server give:

    The _PORT_ is your server port +1. (If your server listen on 25565 you should set 25566)

    • Answer to HL1/2 (steam) Server Status Protocol
    Download ServerStatus (link to the plugin thread)
    Download ServerStatus (jar direct link to v0.2)

    Version 0.2
    • Add support for player list query
    Version 0.1
    • First Release
    Got a problem, want to give a feedback ?
    post everywhere we can get your message, here, on our forum, send us an email,,, :)
  2. Offline


    Warning: Failed to connect to socket on _IP_:_PORT_ in /home/web/stats/minecraft/PQ/halflife.php on line 545

    Warning: Failed to connect to socket on _IP_:_PORT_ in /home/web/stats/minecraft/PQ/halflife.php on line 545

    Warning: Failed to connect to socket on _IP_:_PORT_ in /home/web/stats/minecraft/PQ/halflife.php on line 545

    among other scrambled code when I click that link
  3. Offline


    So this'll work with HLSW? If so, how well?
  4. Offline


    Just read what is written!
    _IP_:_PORT_ - oh my God, what is that? 0_o
  5. Offline


    doh :p
  6. Offline


    You are supposed to replace _IP_ by your server ip and _PORT_ by your server port +1.
    (have a look to the picture below the link, it has the UFB server ip: http://ufbteam.com/stats/minecraft/

    Yes, It will work with hlsw (but just the status, not the rcon access...)

    It might be a good idea to add the rcon support (I'll have a look to the protocol)
  7. Offline


    This plugin is great, please update it. <3
  8. Offline


    Yeah I need to be able to choose the port. +1 won't work since that port is assigned to another server that I have.

    Anybody have any idea on editing the .jar?
  9. Offline


    Hey, can someone please be intelligent and actually check that it works in Steam in the first place???
    When I told Steam to give me the stats, it told me "You do not have this 3rd party mod installed"
    Whats the point of this if you can't even view it in Steam? Maybe you could edit it so that it would have the "Game" field empty?
    You can use this template if you have Steam installed:
    steam://connect/[Server IP Here]:[Port +1]
  10. Offline


    I'll add a function to change the port

    You can join the game using steam, but you can show the server in your favorites for exemple.

    The point of the plugin isn't to use it with steam, but with lgsl or whatever software that can query a hl1 server to display your server status next to your other server status
  11. Offline


    Is it possible to post the source for this? It seems the bulk of the code is hosted on ufbteam.com as the Jar plugin just waits for a query by the website and replies with the data.
  12. Offline


    this is realy awesome only how can that picture bigger ?
  13. Offline


    What software are you using to generate your test image? Got any suggestions for something on linux?
  14. Offline


    hey! you have not been updateing :(

    If you want ill do it for you?
  15. Offline


    Im get this error, on stopt the server:

    2011-09-02 16:35:47 [SEVERE] null
    java.net.SocketException: Socket closed
        at java.net.PlainDatagramSocketImpl.receive0(Native Method)
        at java.net.PlainDatagramSocketImpl.receive(Unknown Source)
        at java.net.DatagramSocket.receive(Unknown Source)
        at hackziner.serverstatus.run(serverstatus.java:53)
        at java.lang.Thread.run(Unknown Source)
    2011-09-02 16:35:47 [SEVERE] null
    java.net.SocketException: Socket is closed
        at java.net.DatagramSocket.send(Unknown Source)
        at hackziner.serverstatus.run(serverstatus.java:107)
        at java.lang.Thread.run(Unknown Source)
  16. Offline


Share This Page