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.
Retrieves the status of specified OTServ as a hash reference. If $port is omitted, the default 7171 is assumed.
$port
http://github.com/athreef/Net-OTServ
Game::Tibia::Packet
https://github.com/opentibia/server
Ahmad Fatoum <athreef@cpan.org>, http://a3f.at
<athreef@cpan.org>
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.
To install Net::OTServ, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::OTServ
CPAN shell
perl -MCPAN -e shell install Net::OTServ
For more information on module installation, please visit the detailed CPAN module installation guide.