config.toml Reference
This is a complete reference for all of the available settings in the config.toml file as found in the MCMetrics plugin.
You can find this file under plugins/MCMetrics/config.toml.
toml
[hoglin]
#== The API key for your server (Required)
# Find this by through the settings cog in the top right > Server Settings
server_key = "hgln_thisisnotavalidkey"
#=== Advanced Settings
#== The domain of the MCMetrics / Hoglin API. (Optional)
# Default: "https://api.mcmetrics.net"
api_server = "https://api.mcmetrics.net"
#== Auto Flush Interval (Optional)
# This is the internal, in milliseconds, which the Hoglin SDK flushes
# its queue and pushes the events to the API.
# Default: 15000 (15 seconds)
auto_flush_interval = 15000
#== Auto Flush Maximum Batch Size (Optional)
# This is the maximum amount of events, when the Hoglin SDK flushes
# its queue, that the plugin will push to the API in one request.
# Default: 10000 (events)
auto_flush_max_batch_size = 10000
[instance]
#== Instance ID (Optional)
# This is an identifier for the instance in your server network.
# Default: Not Set
id = "spawn"