Bedrock Process Manager Core Documentation

class bedrock_server_manager.BedrockProcessManager(app_context: AppContext)

Bases: object

Manages Bedrock server processes, including monitoring and restarting.

__init__(app_context: AppContext)

Initializes the BedrockProcessManager.

add_server(server: BedrockServer)

Adds a server to be managed by the process manager.

remove_server(server_name: str)

Removes a server from the process manager.

shutdown()

Signals the monitoring thread to shut down.

write_error_status(server_name: str)

Writes ‘ERROR’ to server config status.