Configuration
Configuration
The API is configured via the config.yml in the plugin directory.
Example config.yml
# HytaleAdminAPI Configuration
api:
port: 5550
host: "0.0.0.0"
# Logging
logging:
enabled: true
level: "INFO"
file: "logs/api.log"
# Features
features:
status: true
stats: true
players: true
chat: true
bans: true
mutes: true
world: true
warps: true
items: true
icons: true
permissions: true
whitelist: true
config: true
backup: true
deaths: true
memories: true
# Backup
backup:
directory: "backups/"
max_backups: 10
compression: true
Configurable Options
| Option | Default | Description |
|---|---|---|
api.port |
5550 |
HTTP port of the API |
api.host |
0.0.0.0 |
Bind address |
logging.enabled |
true |
Enable logging |
logging.level |
INFO |
Log level |
features.* |
true |
Enable/disable individual handlers |
backup.directory |
backups/ |
Backup directory |
backup.max_backups |
10 |
Maximum number of backups |