properties
Bedrock properties component.
- bedrock_server_manager.core.server.properties.validate_property_value(request: ValidatePropertyValueRequest) ValidatePropertyValueResponse
Validates a specific server property value before it gets applied.
- class bedrock_server_manager.core.server.properties.ServerProperties(server: BedrockServer)
Properties operations for one Bedrock server.
- async get_server_properties() Dict[str, str]
Reads the
server.propertiesfile asynchronously and returns its contents.
- async set_server_property(property_key: str, property_value: Any) None
Updates a specific property in
server.propertiesasynchronously.
- async get_server_property(property_key: str, default: Any | None = None) Any | None
Reads a specific property asynchronously.