Add extended PaperServerListPingEvent (#980)

* Drop original implementation for old player sample API

* Add extended PaperServerListPingEvent

Add a new event that extends the original ServerListPingEvent
and allows full control of the response sent to the client.

* Implement deprecated player sample API
This commit is contained in:
Minecrell
2018-03-23 04:19:59 +01:00
parent 855f21c54e
commit 5336a6b6bb
13 changed files with 819 additions and 81 deletions

View File

@@ -97,6 +97,7 @@ import PlayerConnectionUtils
import RegionFile
import RegistryBlockID
import RemoteControlListener
import ServerPing
import StructureBoundingBox
import StructurePiece
import StructureStart