Checks the connections of servers listed within a text file.
THIS PROJECT IS NOW READ-ONLY. Please look to use something like Icinga2 as this project is severly dated and will never receive updates.
Head on over to the releases tab (when I make a release) and download the recent .jar and follow the Usage section on how to use the .jar file.
Run the jar file with java -jar serverconnectionchecker-<RECENT-VERSION>.jar
. Of course, replacing with the recent version number (if it's something like "4.2-SNAPSHOT" then put "serverconnectionchecker-4.2-SNAPSHOT.jar")
This will run the jar file and create a text file, upon first run, asking for IPs and Ports (IP:PORT) to search. After this, if that text file is empty, it will redo the first-time launch.
If you want to use a custom text file (which follows the format of IP:PORT) then proceed to do java -jar serverconnectionchecker <RECENT-VERSION>.jar --file="<Insert File Name Here>.txt"
. This should try find that file and read the values within it.
So far, this can only check for local ports. I will look into trying to make it compatable for global IPs and not what is on the server upon which this is hosted on (Lines can only look like "localhost:25565" or "127.0.0.1:22" or "0.0.0.0:34197". Any other IPs entered will cause an error).
You can use this to check for any server with a port: Minecraft servers, Factorio servers, Space Engineers servers and, again, any other server that has a port!
If you want to check for Minecraft servers from port 25565 to 25570, do:
0.0.0.0:25565
0.0.0.0:25566
0.0.0.0:25567
0.0.0.0:25568
0.0.0.0:25569
0.0.0.0:25570
This should help you get an idea of how to change the files for the jar file!
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.