Add automatic protocol version negotiation.

This commit is contained in:
joo committed 2016-03-07 02:40:25 +00:00
1 parent 3927400178
commit f178df5d8f
4 files changed
+119 -26

No files matched your search

+14 -1
View File
@@ -6,6 +6,19 @@ with a MineCraft server.
__version__ = "0.1.0"
SUPPORTED_PROTOCOL_VERSIONS = (
47, # Minecraft 1.8 - 1.8.9
47,
# 107, # Not yet.
)
SUPPORTED_MINECRAFT_VERSIONS = {
'1.8': 47,
'1.8.1': 47,
'1.8.2': 47,
'1.8.3': 47,
'1.8.4': 47,
'1.8.5': 47,
'1.8.6': 47,
'1.8.7': 47,
'1.8.8': 47,
# '1.9': 107, # Not yet.
}