Package io.papermc.paper.configuration
Interface ServerConfiguration
public interface ServerConfiguration
Represents the configuration settings for a server.
This interface doesn't aim to cover every possible server configuration option but focuses on selected critical settings and behaviors.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets whether the server is in online mode.
-
Method Details
-
isProxyOnlineMode
boolean isProxyOnlineMode()Gets whether the server is in online mode.This method returns true if:
- The server is in
online mode
, - Velocity is enabled and configured to be in online mode, or
- BungeeCord is enabled and configured to be in online mode.
- Returns:
- whether the server is in online mode or behind a proxy configured for online mode
- The server is in
-