29 lines
707 B
TOML
29 lines
707 B
TOML
|
listen = "127.0.0.1:3000" # or /run/cvm.sock ? if warp supports uds i guess
|
||
|
|
||
|
# optional
|
||
|
vm_directory = "vms"
|
||
|
|
||
|
# nested table. you can define it non-nested if you want
|
||
|
[mod_permissions]
|
||
|
xxx = false
|
||
|
xyz = true
|
||
|
|
||
|
# passwords hash
|
||
|
mod_password_hash = "md5 hash of password"
|
||
|
admin_password_hash = "md5 hash of password"
|
||
|
|
||
|
# Command to run to ban a user
|
||
|
# $user is replaced with the user, and
|
||
|
# $ip is replaced with the ip of the user
|
||
|
ban_command = "sexy $user $ip"
|
||
|
|
||
|
# defaults for all VMs
|
||
|
[default_permissions]
|
||
|
turns_enabled = true
|
||
|
votes_enabled = true
|
||
|
turn_time = 18
|
||
|
vote_time = 60
|
||
|
vote_cooldown_time = 120
|
||
|
|
||
|
# applied to all vms by default unless they override it in their toml file
|
||
|
motd = "Welcome to my UserVM!"
|