add turn whitelist and password support

This commit is contained in:
Elijah
2023-06-05 21:59:37 -04:00
parent 1cb19e93f9
commit bae17c6a52
4 changed files with 13 additions and 2 deletions

View File

@@ -47,6 +47,10 @@ voteCooldown = 180
# Example hash is hunter2 and hunter3
adminpass = "f52fbd32b2b3b86ff88ef6c490628285f482af15ddcb29541f94bcf526a3f6c7"
modpass = "fb8c2e2b85ca81eb4350199faddd983cb26af3064614e737ea9f479621cfa57a"
# 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 = ""
[collabvm.moderatorPermissions]
# What a moderator can and can't do
restore = true