2024-05-10 07:07:44 -04:00
|
|
|
# the listen address
|
|
|
|
listen = "127.0.0.1:6004"
|
|
|
|
proxy = true
|
|
|
|
max_connections_per_ip = 5
|
2024-05-08 21:33:09 -04:00
|
|
|
|
2024-05-10 07:07:44 -04:00
|
|
|
# isn't used currently, will be used for multinode.
|
|
|
|
vm_dir = "vms"
|
2024-05-08 21:33:09 -04:00
|
|
|
|
2024-05-10 07:07:44 -04:00
|
|
|
[auth]
|
|
|
|
# optional. If not provided, auth will be disabled
|
|
|
|
auth_server = "https://auth.mycollab.xyz"
|
2024-05-08 21:33:09 -04:00
|
|
|
|
2024-05-10 07:07:44 -04:00
|
|
|
# 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
|
2024-05-08 21:33:09 -04:00
|
|
|
|
|
|
|
# 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"
|
|
|
|
|
2024-05-10 07:07:44 -04:00
|
|
|
[default_config]
|
2024-05-08 21:33:09 -04:00
|
|
|
turn_time = 18
|
2024-05-10 07:07:44 -04:00
|
|
|
|
|
|
|
# vote config
|
2024-05-08 21:33:09 -04:00
|
|
|
vote_time = 60
|
2024-05-10 07:07:44 -04:00
|
|
|
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 }
|
2024-05-08 21:33:09 -04:00
|
|
|
|
2024-05-10 07:07:44 -04:00
|
|
|
# vm configuration
|
|
|
|
[vm]
|
|
|
|
id = "vm1"
|
|
|
|
motd = "Welcome to my UserVM!"
|
|
|
|
name = "Windows XP SP3 x86 (MyVM 1)"
|
|
|
|
command_line = "/uvm/vms/vm1.lvm start"
|