cvm12-rs/doc/collabvm.toml

52 lines
1.1 KiB
TOML
Raw Permalink Normal View History

# the listen address
listen = "127.0.0.1:6004"
proxy = true
max_connections_per_ip = 5
# isn't used currently, will be used for multinode.
vm_dir = "vms"
[auth]
# optional. If not provided, auth will be disabled
auth_server = "https://auth.mycollab.xyz"
# secret key for auth.
auth_secret_key = "[auth secret]"
# optional if auth server is used
# (if auth server is used these are completely ignored)
mod_hash = "[argon2di hash]"
admin_hash = "[argon2di hash]"
# Optional if auth is disabled
[guest_permissions]
chat = true
turn = false
vote = false
# 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"
[default_config]
turn_time = 18
# vote config
vote_time = 60
vote_cooldown_time = 60
# chat config
chat_message_max_length = 100
chat_history_length = 50
# limits
turn_limit = { same_ip = 2 }
auto_mute = { seconds = 5, messages = 5 }
# vm configuration
[vm]
id = "vm1"
motd = "Welcome to my UserVM!"
name = "Windows XP SP3 x86 (MyVM 1)"
command_line = "/uvm/vms/vm1.lvm start"