endstone.metrics.config
Classes
| Name | Description |
|---|---|
MetricsConfig | A simple config for bStats. |
classMetricsConfig
A simple config for bStats.
Methods
| Name | Description |
|---|---|
load_config | Reads the content of the config file. |
save_default_config | Creates a config file with the default content. |
setup_config | Creates the config file if it does not exist and read its content. |
Attributes
attrdid_exist_beforeproperty
did_exist_before: boolattrenabledproperty
enabled: boolattrlog_errors_enabledproperty
log_errors_enabled: boolattrlog_response_status_text_enabledproperty
log_response_status_text_enabled: boolattrlog_sent_data_enabledproperty
log_sent_data_enabled: boolattrserver_uuidproperty
server_uuid: UUIDmethload_config
load_config() -> NoneReads the content of the config file.
methsave_default_config
save_default_config() -> NoneCreates a config file with the default content.
methsetup_config
setup_config() -> NoneCreates the config file if it does not exist and read its content.