Add extended PaperServerListPingEvent

Add a new event that extends the original ServerListPingEvent
and allows full control of the response sent to the client.
This commit is contained in:
Minecrell
2017-10-11 15:55:38 +02:00
parent bb5e4dd0eb
commit 2eaa723e96
4 changed files with 522 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
package com.destroystokyo.paper.network;
import com.destroystokyo.paper.event.server.PaperServerListPingEvent;
/**
* Represents a client requesting the current status from the server (e.g. from
* the server list).
*
* @see PaperServerListPingEvent
*/
public interface StatusClient extends NetworkClient {
}