A Minecraft server status checker
Project description
MineStat
MineStat is a Minecraft server status checker.
Python example
To use the PyPI package: pip install minestat
import minestat
ms = minestat.MineStat('minecraft.frag.land', 25565)
print('Minecraft server status of %s on port %d:' % (ms.address, ms.port))
if ms.online:
print('Server is online running version %s with %s out of %s players.' % (ms.version, ms.current_players, ms.max_players))
print('Message of the day: %s' % ms.motd)
print('Latency: %sms' % ms.latency)
print('Connected using protocol: %s' % ms.slp_protocol)
else:
print('Server is offline!')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
minestat-2.1.1.tar.gz
(6.2 kB
view hashes)
Built Distribution
minestat-2.1.1-py3-none-any.whl
(18.8 kB
view hashes)