Interface QueryServerEvent.Full

    • Method Detail

      • gameId

        java.lang.String gameId()
        Gets the GameId to respond with.

        This is currently hardcoded to MINECRAFT.

        Returns:
        The GameId to respond with.
      • version

        java.lang.String version()
        Gets the version to respond with.

        By default, this is the server's Minecraft version (e.g 1.8.1).

        Returns:
        The version to respond with
      • setVersion

        void setVersion​(java.lang.String version)
        Sets the version to respond with.

        If setting the string causes the message to go over the maximum size, the message will be automatically truncated.

        Parameters:
        version - The version to respond with
      • plugins

        java.lang.String plugins()
        Gets the list of plugins to respond with.
        Returns:
        The list of plugins to respond with
      • setPlugins

        void setPlugins​(java.lang.String plugins)
        Sets the list of plugins to respond with.

        If setting the string causes the message to go over the maximum size, the message will be automatically truncated.

        Parameters:
        plugins - The list of plugins to respond with
      • customValuesMap

        java.util.Map<java.lang.String,​java.lang.String> customValuesMap()
        Gets the map of custom keys and values to respond with.

        If settings any of the keys or values causes the message to go over the maximum size, the message will be automatically truncated.

        Returns:
        The map of custom keys and values to respond with
      • players

        java.util.List<java.lang.String> players()
        Gets the list of player names to respond with.
        Returns:
        The list of player names to respond with