public interface BedrockListener
The listener that handles connections from Minecraft:
Bedrock Edition.
-
Method Summary
Gets the address used for listening for Bedrock
connections from.
int
Gets the port used for listening for Bedrock
connections from.
Gets the primary MOTD shown to Bedrock players if a ping passthrough setting is not enabled.
Gets the secondary MOTD shown to Bedrock players if a ping passthrough setting is not enabled.
Gets the server name that is sent to Bedrock clients.
-
Method Details
-
address
Gets the address used for listening for Bedrock
connections from.
- Returns:
- the listening address
-
port
int port()
Gets the port used for listening for Bedrock
connections from.
- Returns:
- the listening port
-
primaryMotd
Gets the primary MOTD shown to Bedrock players if a ping passthrough setting is not enabled.
This is the first line that will be displayed.
- Returns:
- the primary MOTD shown to Bedrock players.
-
secondaryMotd
Gets the secondary MOTD shown to Bedrock players if a ping passthrough setting is not enabled.
This is the second line that will be displayed.
- Returns:
- the secondary MOTD shown to Bedrock players.
-
serverName
Gets the server name that is sent to Bedrock clients.
- Returns:
- the server sent to Bedrock clients