public static final class GS4QueryEvent.QueryResponse.Builder extends Object
GS4QueryEvent.QueryResponse
objects.@NotNull public @NotNull GS4QueryEvent.QueryResponse.Builder motd(@NotNull @NotNull String motd)
@NotNull public @NotNull GS4QueryEvent.QueryResponse.Builder gameVersion(@NotNull @NotNull String gameVersion)
@NotNull public @NotNull GS4QueryEvent.QueryResponse.Builder currentPlayers(int currentPlayers)
@NotNull public @NotNull GS4QueryEvent.QueryResponse.Builder maxPlayers(int maxPlayers)
@NotNull public @NotNull GS4QueryEvent.QueryResponse.Builder hostname(@NotNull @NotNull String hostname)
@NotNull public @NotNull GS4QueryEvent.QueryResponse.Builder port(int port)
@NotNull public @NotNull GS4QueryEvent.QueryResponse.Builder players(@NotNull @NotNull Collection<String> players)
@NotNull public @NotNull GS4QueryEvent.QueryResponse.Builder players(@NotNull String... players)
@NotNull public @NotNull GS4QueryEvent.QueryResponse.Builder clearPlayers()
@NotNull public @NotNull GS4QueryEvent.QueryResponse.Builder serverVersion(@NotNull @NotNull String serverVersion)
@NotNull public @NotNull GS4QueryEvent.QueryResponse.Builder plugins(@NotNull @NotNull Collection<GS4QueryEvent.QueryResponse.PluginInformation> plugins)
@NotNull public @NotNull GS4QueryEvent.QueryResponse.Builder plugins(@NotNull GS4QueryEvent.QueryResponse.PluginInformation... plugins)
@NotNull public @NotNull GS4QueryEvent.QueryResponse.Builder clearPlugins()
@NotNull public @NotNull GS4QueryEvent.QueryResponse build()
GS4QueryEvent.QueryResponse
with supplied dataCopyright © 2021. All rights reserved.