Dylan K. Taylor
fbd04b0fe7
Bump to 1.2.7
2017-12-14 18:56:32 +00:00
Dylan K. Taylor
67a09a9b16
Bump versions for 1.2.6
...
No changes. Mojang sucks.
2017-12-06 18:12:45 +00:00
Dylan K. Taylor
2cb81b5f8d
NetworkInventoryAction: Allow returning null to ignore weird transactions
...
Revert "Return null on unmatched inventory action and log details"
This reverts commit fd7fb10223f7373919701008970e7e87abc2654e.
2017-11-29 12:44:41 +00:00
Dylan K. Taylor
f477cfa1bf
Fixed a mistake in AvailableCommandsPacket
2017-11-25 11:15:20 +00:00
Dylan K. Taylor
580b30b768
update versions
2017-11-22 13:51:40 +00:00
Dylan K. Taylor
88ad43971a
constant visibility
2017-11-21 16:50:27 +00:00
Dylan K. Taylor
1fd9994056
Merge branch 'master' into mcpe-1.2.5
2017-11-21 16:48:18 +00:00
Dylan K. Taylor
74b074753f
Bulk addition of constant visibilities
...
thanks PhpStorm inspections plugin for annoying the shit out of me until
I did this.
2017-11-21 14:44:10 +00:00
Dylan K. Taylor
373f085436
Fixed a usage of get(true)
2017-11-20 09:50:52 +00:00
Dylan K. Taylor
dd8a772d43
Removed handler for PlayerHotbarPacket
...
this thing is useless now, and the equipment stuff can be done with MobEquipmentPacket anyway.
2017-11-18 16:03:18 +00:00
Dylan K. Taylor
6facd8b50f
Provide a way for plugins such as Specter to bypass chain verification
2017-11-18 12:44:18 +00:00
Dylan K. Taylor
73cd195e76
Merge branch 'master' into mcpe-1.2.5
2017-11-14 20:06:00 +00:00
Dylan K. Taylor
0d2b171c2c
Remove RakLib and SPL submodules, start using Composer
2017-11-14 19:37:58 +00:00
Dylan K. Taylor
784ecef805
Remove unnecessary count()
2017-11-08 19:44:10 +00:00
Dylan K. Taylor
41f363d0c1
Added encode for AvailableCommandsPacket, bring back command lists (no arguments yet)
2017-11-08 11:52:06 +00:00
Dylan K. Taylor
3ca9e6ae98
Merge branch 'master' into mcpe-1.2.5
2017-11-06 14:35:10 +00:00
Dylan K. Taylor
fd0b07a0aa
Added API to allow getting player latency
2017-11-06 14:33:27 +00:00
Dylan K. Taylor
4437b67178
added some EntityEventPacket constants
2017-11-05 12:41:39 +00:00
Dylan K. Taylor
6ccb494f8d
added API to get player language code
...
sadly this isn't particularly useful without something like the intl
extension to translate the language codes to ISO-632-1 codes like the
ones PocketMine-MP uses. However, this will do for now.
2017-11-04 15:50:00 +00:00
Dylan K. Taylor
d663887f9c
Merge branch 'master' into mcpe-1.2.5
2017-11-03 16:43:34 -04:00
Dylan K. Taylor
8ae663425f
try...catch attempt to decode connection request in incompatible logins
...
to allow protocol version hacking without it being so damn inconvenient
2017-11-03 18:46:40 +00:00
Dylan K. Taylor
b51ec9e606
rough work for CommandOutputPacket, no idea if it works
2017-11-01 20:12:13 +00:00
Dylan K. Taylor
8d07f833fc
updated CommandRequestPacket
2017-11-01 20:11:31 +00:00
Dylan K. Taylor
dea2942062
bump to 141
2017-11-01 16:14:12 +00:00
Dylan K. Taylor
dcdea6a1f4
Merge branch 'master' into mcpe-1.2.5
2017-10-31 21:52:16 +00:00
Dylan K. Taylor
caf9eaa2da
rename field in EntityPickRequestPacket
2017-10-31 12:25:20 +00:00
Dylan K. Taylor
6db5596b00
Added Jukebox window type ID
2017-10-30 18:37:42 +00:00
Dylan K. Taylor
883898682f
Merge remote-tracking branch 'origin/master' into mcpe-1.2.5
2017-10-26 15:34:56 -04:00
Dylan K. Taylor
bd2cb85861
changed type of EntityLink unknown field and added a constructor
2017-10-25 18:50:07 +01:00
Dylan K. Taylor
0072af95cb
Bump version to 1.2.5.12 and protocol changes
2017-10-23 20:04:47 +01:00
Dylan K. Taylor
bc7ba3b3c1
Found field of ShowProfilePacket
2017-10-21 14:53:49 +01:00
Dylan K. Taylor
f14b7cbf78
Renamed BlockEventPacket fields
2017-10-16 19:55:42 +01:00
Dylan K. Taylor
4981931c4a
Remove reliability hacks for RakLib
...
bug was fixed in 691a7be66b
2017-10-11 10:59:27 +01:00
Dylan K. Taylor
2a5d954c67
fixed yaw/headyaw field order
...
I wish they'd stop changing this shit... this is the third or fourth time now?
2017-10-10 22:45:30 +01:00
Dylan K. Taylor
287f08cbd1
Changed confusing MovePlayerPacket field name to be consistent with other packets
2017-10-10 21:56:17 +01:00
Dylan K. Taylor
eccc7bf7b3
Moved EntityLink to its own type
2017-10-09 19:15:53 +01:00
Dylan K. Taylor
ae76ac82c8
Removed unnecessary delegate packet handlers
...
let's keep all the TODOs in one place
2017-10-09 09:44:22 +01:00
Sandertv
81dee2f9fc
Adding writable and written books. ( #1397 )
...
* Adding writable and written books.
* Added a PlayerEditBookEvent.
* Changed BookEditPacket field names.
2017-10-08 11:49:57 +01:00
Dylan K. Taylor
f6875705a1
Found fields of PhotoTransferPacket
...
now if we could only get portfolios...
2017-10-08 11:25:27 +01:00
Dylan K. Taylor
76117e7fa0
Get XUID from LoginPacket after authentication, add Player->getXuid()
2017-10-02 18:51:51 +01:00
Dylan K. Taylor
088a44ea3a
Fixed bug reading pubkey from LoginPacket
...
this isn't part of extraData
2017-10-02 18:05:50 +01:00
Dylan K. Taylor
e6cecabf3f
New skin API, add support for custom capes & custom geometry ( #1416 )
...
* Added support for changing skins ingame, custom capes & geometry
* Use PlayerSkinPacket for setting Human skin instead of PlayerList hack
2017-09-29 14:09:00 +01:00
Dylan K. Taylor
86b76bfcab
Fixed trying to get pubkey that doesn't exist in VerifyLoginTask
...
bug was exposed by previous commit
2017-09-28 18:14:53 +01:00
Dylan K. Taylor
d0bf0ff083
Imports cleanup
2017-09-28 10:51:05 +01:00
Dylan K. Taylor
bae42dc0d9
Fixed incorrect field names in PlayerSkinPacket
2017-09-27 17:55:04 +01:00
Dylan K. Taylor
7a77bb0402
Login verification: guilty until proven innocent
...
assume it's invalid until we've verified everything
2017-09-27 10:29:01 +01:00
Dylan K. Taylor
e64076ec81
Disconnect 1.1 clients properly (HACK!)
2017-09-26 10:01:32 +01:00
Dylan K. Taylor
ccbdb77618
Cleaned up LoginPacket handling, don't nuke the buffer
2017-09-26 09:49:35 +01:00
Dylan K. Taylor
03d3e595d6
Implement JWT signature verification and Xbox Live checks, close #315
...
This can be enabled or disabled using the "online-mode" directive in
server.properties.
NOTE: For safety reasons it is enabled by default, since many naive server owners currently believe that authentication is not needed because "the client is forced to sign-in".
Newsflash for readers: the forced authentication is easily bypassed using a LAN proxy.
Un-authenticated LAN connections will still work fine if the online mode is disabled.
Added the following API methods:
- Server->getOnlineMode() : bool
- Server->requiresAuthentication() : bool
- Player->isAuthenticated() : bool
JWT verification is rather expensive, so it is done in an AsyncTask. Make sure you don't hog your worker threads.
2017-09-25 12:30:58 +01:00
Dylan K. Taylor
3c02a6a8ed
Fixed eating sounds
2017-09-24 21:18:08 +01:00