Commit Graph

58 Commits

Author SHA1 Message Date
Kevin Yap
bb2f0cec8e Changed MinecraftServer methods to use for loops 2014-09-25 17:26:18 -07:00
Nathan Adams
537bf06ebd Release 2.0 release-2.0 2014-09-26 01:26:02 +02:00
Nathan Adams
7bcbbc7409 Added a MinecraftServer.lookup method, converts a string to host/port (including SRV lookup)
This closes #12
2014-09-26 01:06:29 +02:00
Nathan Adams
18af499c62 Always make sure we have even the optional attributes of PingResponse 2014-09-26 00:02:02 +02:00
Nathan Adams
a8d9c482e7 Retest retries of server.status 2014-09-25 23:56:55 +02:00
Nathan Adams
a6ade86fad API changes to server (closes #14) 2014-09-25 23:53:48 +02:00
Dinner Bone
bfe75cb290 Merge pull request #13 from urda/modernized-readme-fixup
Fixup some README issues
2014-09-17 11:25:57 +02:00
Peter Urda
f07be86a20 Use 'format' instead of % 2014-09-16 13:15:45 -07:00
Peter Urda
e7ac2f24f6 Fix bad query example 2014-09-16 13:14:35 -07:00
Peter Urda
7d3c926a3a Use 'format' instead of % 2014-09-16 13:10:08 -07:00
Peter Urda
d0d7e01850 This status call was wrong, in produced a tuple instead.
Honestly, ping should be wrapped up into the same variable!
2014-09-16 13:07:34 -07:00
Peter Urda
43caf72a59 query.query_server() doesn't work, fixed README 2014-09-16 12:44:12 -07:00
Peter Urda
9d4c54f6e8 Switch "installation" to bash 2014-09-16 12:43:03 -07:00
Peter Urda
947d1802cd Cleanup intro section 2014-09-16 12:42:34 -07:00
Peter Urda
ed792b4642 Set usage to python block 2014-09-16 12:40:31 -07:00
Nathan Adams
4c4239e6f8 Set default timeout to 3 2014-09-11 17:45:35 +02:00
Nathan Adams
1aff32d549 Result of ping.players.sample should be Player objects, not dicts. 2014-09-10 21:37:15 +02:00
Nathan Adams
3c0646367c We should write challenge as an int not uint 2014-09-10 21:34:23 +02:00
Nathan Adams
5c4d7fb35e Default charset is actually ISO-8859-1, not ascii. 2014-09-10 21:34:08 +02:00
Nathan Adams
5f51ee3c1d We'll also need the .protocol package! 2014-09-07 13:40:14 +02:00
Nathan Adams
7b3f9b4dd2 Fixed up setup.py to point to the correct (new) package 2014-09-07 13:35:58 +02:00
Nathan Adams
8c1f3ba50d Updated setup.py with new classifiers 2014-09-07 02:51:20 +02:00
Nathan Adams
1b17c1f702 Updated readme 2014-09-07 02:35:02 +02:00
Nathan Adams
9340ab47c1 Implemented retries on server.ping/query_server 2014-09-07 01:15:42 +02:00
Nathan Adams
08c368be12 Expose query through server.query_server() 2014-09-07 00:59:29 +02:00
Nathan Adams
4e52670370 Removed unused imports 2014-09-07 00:25:04 +02:00
Nathan Adams
1b8ebaf500 Don't get plugins using map() 2014-09-07 00:21:14 +02:00
Nathan Adams
0474c1d68d Parse Query responses into their own object 2014-09-07 00:17:08 +02:00
Nathan Adams
3de920b406 Removed __init__ files from tests. 2014-09-07 00:16:48 +02:00
Nathan Adams
c12836b011 Pack the ID byte when sending Query packets 2014-09-06 21:28:45 +02:00
Nathan Adams
3757cbe876 Fixed order of connection.write decoding 2014-09-06 21:22:35 +02:00
Nathan Adams
c6ba6778f6 Added support for Query 2014-09-06 21:19:24 +02:00
Nathan Adams
e1568b1950 Moved pinger's test file into the correct folder 2014-09-06 18:11:42 +02:00
Nathan Adams
631176be02 Added some more test cases 2014-09-05 17:49:33 +02:00
Nathan Adams
064ca652a4 Support favicon 2014-09-05 13:21:15 +02:00
Nathan Adams
c606609443 Fixing up travis once more. 2014-09-05 12:36:18 +02:00
Nathan Adams
94264f22ea Decode status results into their own object for accessibility & validation 2014-09-05 12:33:18 +02:00
Nathan Adams
cf920b312b Drop support for <=2.6 2014-09-05 00:06:15 +02:00
Nathan Adams
db2d357623 Proper py3 support! 2014-09-05 00:03:46 +02:00
Nathan Adams
e82a44f580 Use bytearray more efficiently, better python 3.1 support 2014-09-04 23:21:52 +02:00
Nathan Adams
060e52118f Include mock for travis 2014-09-04 22:41:22 +02:00
Nathan Adams
f07976fbec Added initial work for server pinging. Normal pings work, Query NYI. 2014-09-04 22:25:21 +02:00
Nathan Adams
34d0154f7a Removed everything; we're starting from scratch. 2014-09-02 17:28:59 +02:00
Nathan Adams
7c36615ea8 Perhaps fixed travis! 2014-09-02 17:26:36 +02:00
Nathan Adams
1efb667c9d Added travis support 2014-09-02 17:24:37 +02:00
Nathan Adams
6b6a565915 Changed some things around to submit to pypi - release 1.0 release-1.0 2014-09-02 16:39:45 +02:00
Dinner Bone
d0cc578002 Merge pull request #9 from urda/fix_documentation
The documentation example is wrong
2014-01-28 01:01:01 -08:00
Dinner Bone
fa4a15355b Merge pull request #2 from nramsbottom/master
Fixed missing socket import.
2014-01-28 01:00:42 -08:00
Dinner Bone
d39c7d892e Merge pull request #8 from urda/gitignore
Adding ignore file to project, ignores pyc, pyo, pyd
2014-01-28 01:00:12 -08:00
Peter Urda
684f2da6bd The documentation example is wrong
Should be `minecraft_query` not status_query given the current repo.
2014-01-27 16:31:29 -08:00