FOnline Development > Tools

Status checker tools

(1/1)

Ghosthack:
Here's two tools I've created for retrieving the uptime and number of active players of a remote FOnline server.

One is written in bash and the other for Node.js. There's also an unfinished FASM version, but it's not bundled.

[Download] [Github]

Example usage

--- Code: ---./ping.sh play.fonline-reloaded.net 2238
--- End code ---

Result:

--- Code: ---Players: 36
Uptime: 103831 seconds

--- End code ---


--- Code: ---node ping.js play.fonline-reloaded.net 2238
--- End code ---
Result:

--- Code: ---Connected to play.fonline-reloaded.net:2238
Players: 8
Uptime: 6 days, 8 hours, 5 minutes

--- End code ---

Navigation

[0] Message Index

Go to full version