From 03bb2052f334adf6e0606b108c43080dbf09df94 Mon Sep 17 00:00:00 2001 From: Linventif Date: Mon, 18 Nov 2024 17:17:22 +0000 Subject: [PATCH] Feat: add new security parrametter --- lua/gmod_integration/sv_config.lua | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/lua/gmod_integration/sv_config.lua b/lua/gmod_integration/sv_config.lua index 268b455..55bdab0 100644 --- a/lua/gmod_integration/sv_config.lua +++ b/lua/gmod_integration/sv_config.lua @@ -28,11 +28,16 @@ gmInte.config.filterOnBan = true // If true, the addon will filter the players a gmInte.config.redownloadMaterials = false // If true, the addon will redownload the materials of the addon (useful if you have a problem with the materials) // Debug & Development gmInte.config.debug = false // If true, the addon will show debug informations in the console -// Other +// Security gmInte.config.forcePlayerLink = false // If true, the addon will force the players to link their discord account to their steam account before playing +gmInte.config.verifyOnJoin = false // If true, the addon will verify the players when they join the server or on player ready +gmInte.config.verifyOnReadyKickTime = 600 // The time in seconds before kicking a player that is not verified (0 to disable) +gmInte.config.clientBranch = "any" // The branch of the addon that the clients should use (none, dev, prerelease, x86-64) +// Other gmInte.config.supportLink = "" // The link of your support (shown when a player do not have the requiments to join the server) gmInte.config.maintenance = false // If true, the addon will only allow the players with the "gmod-integration.maintenance" permission to join the server gmInte.config.language = "en" // The language of the addon (en, fr, de, es, it, tr, ru) -gmInte.config.adminRank = { // How can edit the configuration of the addon / bypass the maintenance mode +gmInte.config.adminRank = { + // How can edit the configuration of the addon / bypass the maintenance mode ["superadmin"] = true, } \ No newline at end of file