mirror of
https://github.com/Dinnerbone/mcstatus.git
synced 2026-04-06 03:51:23 +08:00
Changed some things around to submit to pypi - release 1.0
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
MinecraftQuery
|
||||
======
|
||||
|
||||
With 1.9 came a shiny new tool to allow native status querying in vanilla Minecraft servers.
|
||||
With Minecraft (old-beta-release-)1.9 came a shiny new tool to allow native status querying in vanilla Minecraft servers.
|
||||
This is a simple class designed to aid in retrieving any data from the servers.
|
||||
|
||||
See it in action: [http://dinnerbone.com/minecraft/tools/status/](http://dinnerbone.com/minecraft/tools/status/)
|
||||
@@ -19,8 +19,4 @@ Usage
|
||||
print "The server has %d players" % (basic_status['numplayers'])
|
||||
|
||||
full_info = query.get_rules()
|
||||
print "The server is on the map '%s'" % (full_info['map'])
|
||||
|
||||
Rights
|
||||
-----------
|
||||
Fully open. Go wild.
|
||||
print "The server is on the map '%s'" % (full_info['map'])
|
||||
Reference in New Issue
Block a user