Server
endstone.Server
¶
Represents a server implementation.
max_players
property
writable
¶
max_players: int
The maximum amount of players which can login to this server.
minecraft_version
property
¶
minecraft_version: str
Gets the Minecraft version that this server is running.
plugin_manager
property
¶
plugin_manager: PluginManager
Gets the plugin manager for interfacing with plugins.
broadcast
¶
Broadcasts the specified message to every user with the given permission name.
broadcast_message
¶
broadcast_message(message: str) -> None
Broadcasts the specified message to every user with permission endstone.broadcast.user
dispatch_command
¶
dispatch_command(
sender: CommandSender, command: str
) -> bool
Dispatches a command on this server, and executes it if found.
get_player
¶
Gets the player with the exact given name, case insensitive.
Gets the player with the given UUID.