Server
Public interface in Bedriox\Api.
Bedriox\Api\Server
interfaceBedriox\Api
Public methods
getUptimeSeconds(): intReturns the number of whole seconds since this server process began starting.
getPerformance(): Bedriox\Api\ServerPerformanceReturns a point-in-time health snapshot without exposing internal monitoring objects.
broadcastMessage(string|Bedriox\Api\TranslatableMessage $message): intTyped public method.
getWorldManager(): Bedriox\Api\World\WorldManagerTyped public method.
getWhitelist(): Bedriox\Api\Whitelist\WhitelistTyped public method.
getOnlinePlayers(): arrayTyped public method.
getPlayerByUuid(string $uuid): ?Bedriox\Api\Player\PlayerTyped public method.
getPlayerByName(string $name): ?Bedriox\Api\Player\PlayerTyped public method.
