2023-01-31 22:00:30 -05:00
[ http ]
2023-02-13 18:52:42 -05:00
host = "0.0.0.0"
2023-01-31 22:00:30 -05:00
port = 6004
# Whether the server is behind a reverse proxy, like NGINX
2023-02-13 18:52:42 -05:00
proxying = false
2023-01-31 22:00:30 -05:00
# IPs allowed to access the server in proxy mode.
# 99% of the time this will only be 127.0.0.1
proxyAllowedIps = [ "127.0.0.1" ]
2023-05-25 15:59:16 +02:00
# Whether the Origin header check is enabled.
origin = false
# Origins to accept connections from.
originAllowedDomains = [ "computernewb.com" ]
2023-09-12 00:25:57 +02:00
# Maximum amount of active connections allowed from the same IP.
maxConnections = 3
2023-01-31 22:00:30 -05:00
2024-04-05 09:10:47 -04:00
[ auth ]
enabled = false
apiEndpoint = ""
secretKey = "hunter2"
[ auth . guestPermissions ]
chat = true
turn = false
2023-01-31 22:00:30 -05:00
[ vm ]
qemuArgs = "qemu-system-x86_64"
vncPort = 5900
snapshots = true
2023-02-11 15:58:20 +01:00
# Uncomment qmpHost and qmpPort if you're using Windows.
#qmpHost = "127.0.0.1"
#qmpPort = "5800"
# Comment out qmpSockDir if you're using Windows.
2023-01-31 22:00:30 -05:00
qmpSockDir = "/tmp/"
[ collabvm ]
node = "acoolvm"
displayname = "A <b>Really</b> Cool CollabVM Instance"
motd = "welcome!"
# Command used to ban an IP.
# Use $IP to specify an ip and (optionally) use $NAME to specify a username
bancmd = "iptables -A INPUT -s $IP -j REJECT"
moderatorEnabled = true
2023-02-09 16:03:52 -05:00
usernameblacklist = [ ]
2023-01-31 22:00:30 -05:00
maxChatLength = 100
2023-05-01 15:03:14 +01:00
maxChatHistoryLength = 10
2023-09-12 00:25:57 +02:00
# Limit the amount of users allowed in the turn queue at the same time from the same IP
turnlimit = { enabled = true , maximum = 1 }
2023-01-31 22:00:30 -05:00
# Temporarily mute a user if they send more than x messages in n seconds
automute = { enabled = true , seconds = 5 , messages = 5 }
# How long a temporary mute lasts, in seconds
tempMuteTime = 30
# How long a turn lasts, in seconds
turnTime = 20
2023-02-07 12:29:33 -05:00
# How long a reset vote lasts, in seconds
voteTime = 100
2023-02-11 15:58:20 +01:00
# How long until another vote can be started, in seconds
voteCooldown = 180
2023-01-31 22:00:30 -05:00
# SHA256 sum of the admin and mod passwords. This can be generated with the following command:
# printf "<password>" | sha256sum -
# Example hash is hunter2 and hunter3
adminpass = "f52fbd32b2b3b86ff88ef6c490628285f482af15ddcb29541f94bcf526a3f6c7"
modpass = "fb8c2e2b85ca81eb4350199faddd983cb26af3064614e737ea9f479621cfa57a"
2023-06-05 21:59:37 -04:00
# Whether a password is required to take a turn
turnwhitelist = false
# SHA256 sum for the password to take a turn. Only takes effect if turnwhitelist == true. If set to an empty string or not provided, only admins and mods can take turns
turnpass = ""
2023-01-31 22:00:30 -05:00
[ collabvm . moderatorPermissions ]
# What a moderator can and can't do
restore = true
reboot = true
ban = true
forcevote = true
mute = true
kick = true
bypassturn = true
rename = true
grabip = true
2023-02-09 16:03:52 -05:00
xss = true