paths

class bedrock_server_manager.core.server.paths.ServerPaths(server_name: str, base_dir: str, app_config_dir: str, os_type: str)
property bedrock_executable_name: str

str: The platform-specific name of the Bedrock server executable. Returns “bedrock_server.exe” on Windows, “bedrock_server” otherwise.

property bedrock_executable_path: str

str: The full, absolute path to this server’s Bedrock executable. Constructed by joining self.server_dir and self.bedrock_executable_name.

property server_log_dir: str

str: The absolute path to this server instance’s dedicated log directory. This is <app_config_dir>/logs/servers/<server_name>/.

property server_log_path: str

str: The expected absolute path to the server’s main output log file. Resolves the most recent <server_name>_*.log (or server_output.log) in <app_config_dir>/logs/servers/<server_name>/.

property server_properties_path: str

str: The absolute path to this server’s server.properties file.

property allowlist_json_path: str

str: The absolute path to this server’s allowlist.json file.

property permissions_json_path: str

str: The absolute path to this server’s permissions.json file.

property server_config_dir: str

str: The absolute path to this server instance’s dedicated runtime/configuration subdirectory. This is <app_config_dir>/runtime/servers/<server_name>/, and is intended to store server-specific runtime and PID files. The directory itself is not created by this property.