Class GS4QueryEvent
java.lang.Object
org.bukkit.event.Event
com.destroystokyo.paper.event.server.GS4QueryEvent
This event is fired if server is getting queried over GS4 Query protocol.
Adapted from Velocity's ProxyQueryEvent
Adapted from Velocity's ProxyQueryEvent
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic enumThe type of queryNested classes/interfaces inherited from class Event
Event.Result -
Constructor Summary
ConstructorsConstructorDescriptionGS4QueryEvent(GS4QueryEvent.QueryType queryType, InetAddress querierAddress, GS4QueryEvent.QueryResponse response) -
Method Summary
Modifier and TypeMethodDescriptionstatic HandlerListGet querier addressGet query typeGet query responsevoidsetResponse(GS4QueryEvent.QueryResponse response) Set query responseMethods inherited from class Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
GS4QueryEvent
@Internal public GS4QueryEvent(GS4QueryEvent.QueryType queryType, InetAddress querierAddress, GS4QueryEvent.QueryResponse response)
-
-
Method Details
-
getQueryType
-
getQuerierAddress
-
getResponse
-
setResponse
Set query response- Parameters:
response- query response
-
getHandlers
- Specified by:
getHandlersin classEvent
-
getHandlerList
-