Skip to main content

Configuration

Open the file config.toml in your text editor of preference. If the file doesn't exist, create it. The file should be in the same directory as the NeoPixel executable you downloaded in Installation.

config.toml
[hotel]
name = "NeoPixel"
description = "Because retro is in fashion"

[server]
addr = "[::]:4000"
tick_rate = 128
client_handshake_timeout = 5000
shutdown_timeout = 30000

[storage]
uri = "sqlite:data.db?mode=rwc"
pool_size = 5

[log]
level = "info"
directory = "logs/"
rotate_frequency = "daily" # Options: minutely, hourly, daily, never
max_log_size = "10 MB"
max_log_files = 7

[plugins]
dir = "plugins/"
on_collision = "override" # Options: override, skip, fail