From 47d4abb10390f5c3c777da00b818ddfa28c05002 Mon Sep 17 00:00:00 2001 From: Linventif Date: Fri, 17 Nov 2023 23:59:58 +0100 Subject: [PATCH] add kill switch feature --- lua/gmod_integration/sv_config.lua | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/lua/gmod_integration/sv_config.lua b/lua/gmod_integration/sv_config.lua index 3a04fdf..2b17c0a 100644 --- a/lua/gmod_integration/sv_config.lua +++ b/lua/gmod_integration/sv_config.lua @@ -4,12 +4,11 @@ We don't recommend to use a static version of our addon, you should use the workshop version instead. Add Server: + 0. Add the bot to your guild if it's not already done: https://gmod-integration.com/invite 1. Go to our dashboard and Login with Discord: https://gmod-integration.com/login - 2. Go to the "Servers" page: https://gmod-integration.com/servers - 3. Click on "Add Server" - 4. Fill the form and click on "Add Server" - 5. Copy the ID and Token of your server and paste them in this file - 6. Everything is ready, you can now restart your server + 2. Go to the "Servers" page: https://gmod-integration.com/config/servers and click on "Create Server" + 3. Copy the ID and Token of your server and paste them in this file + 4. Everything is ready, you can now restart your server To go further, you can check the documentation: https://docs.gmod-integration.com @@ -88,4 +87,13 @@ gmInte.config.minimalTrust = 30 // The minimal trust factor of an user to be abl gmInte.config.filterOnTrust = true // If true, the addon will filter the players according to their trust factor // Ban -gmInte.config.filterOnBan = true // If true, the addon will filter the players according to their ban status \ No newline at end of file +gmInte.config.filterOnBan = true // If true, the addon will filter the players according to their ban status + +// +// Features Kill Switch +// + +// Will disable the features of the addon + +gmInte.config.disableFilter = false // Disable the player filter +gmInte.config.disableLog = false // Disable the logs \ No newline at end of file