Net::OTServ - Retrieve status information about Open Tibia Servers
use Net::OTServ;
my $status = Net::OTServ::status("127.0.0.1", 7171);
print "We got $status->{players}{online} players online!\n"
Open Tibia servers offer a XML interface to query online count, client version and other information.
- status($ip [, $port])
-
Retrieves the status of specified OTServ as a hash reference. If
$port
is omitted, the default 7171 is assumed.
http://github.com/athreef/Net-OTServ
https://github.com/opentibia/server
Ahmad Fatoum <[email protected]>
, http://a3f.at
Copyright (C) 2017 Ahmad Fatoum
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.