Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Spectrum.Config = {}; -- Leave this line
- --[[
- The key that you registered Spectrum with (https://spectrumbans.xyz/register)
- Do not share this key. Improper use of this key may result in unwanted behavior, as well as revoke your ability to use Spectrum
- This key can be used across multiple servers ran by the same person or group.
- If you must to change this key, contact me on scriptfodder
- --]]
- Spectrum.Config.RegisterKey = "GRuqPdgra4EzUEJ9ap" -- Super secret key you registered with spectrum
- --[[ Database Configuration ]]--
- -- IP / Hostname to the server where MySQL is hosted. If it's on the same server as Garry's Mod, put 'localhost' (do not use the IP)
- Spectrum.Config.DBHost = "felicityrp.fr"
- Spectrum.Config.DBUsername = "root" -- Your MySQL username
- Spectrum.Config.DBPassword = "******" -- Your MySQL password
- Spectrum.Config.DBName = "bans" -- Name of the database you made for Spectrum
- Spectrum.Config.DBPort = 3306 -- MySQL Port, 3306 by default
- Spectrum.Config.Module = "mysqloo" -- 'mysqloo' or 'tmysql4'
- --[[ General Settings ]]
- -- Whatever you want Spectrum to know this server as (leave blank for default server name)
- -- Change this as infrequently as possible (if ever), and use different names if running spectrum on multiple servers
- Spectrum.Config.ServerName = "FelicityRP"
- Spectrum.Config.APIKey = "************************" -- Your Steam API Key (https://steamcommunity.com/dev/apikey)
- Spectrum.Config.AdminMod = "ULX" -- "ULX" or "ServerGuard"
- -- Should Spectrum ban any players that are banned on other any servers running Spectrum? (ignored if they are expired)
- -- By default, it will ban them for however much time is left until the expiration of the ban, on whichever server they're banned on
- -- If Spectrum finds multiple servers, it will try to automatically find the most reliable to fetch ban information from
- Spectrum.Config.SyncAllServerBans = true
- -- How many bans must Spectrum find on a player before banning the player on this server
- -- Bans that originate from Spectum's auto-ban system are ignored (if that makes sense...)
- Spectrum.Config.MinimumBans = 3;
- -- Display a warning to admins when a player with more than (Spectrum.Config.MinimumBansWarning) joins the server, regardless of (Spectrum.Config.SyncAllServerBans)
- Spectrum.Config.Warning = false
- Spectrum.Config.MinimumBansWarning = 0; -- Display a warning to admins in chat if a player joins with more than this many bans found
- -- The reason for a ban that is imported from another server. Use {server} to get the name of the server it is pulled from
- Spectrum.Config.AutoBanReason = "Auto-Banned By serveur. Imported from server: {server}";
- -- How long (minutes) should a player be banned if they have more than {Spectrum.Config.MinimumBans} in the Spectrum database
- -- Setting this to SPECTRUM_AUTO_DURATION (no quotes) will automatically ban the player for the rest of the duration of their longest ban in the Spectrum database
- Spectrum.Config.AutoBanDuration = SPECTRUM_AUTO_DURATION;
- -- Should Spectrum try to link any bans to your website that occurred before you installed this addon? (Currently works with ULX only)
- -- Keeping it as 'true' will impact server performance, so be sure to turn it off after you've let your server fully startup for a few minutes while this is true, then change it to false and restart the server
- Spectrum.Config.LinkPreviousBans = false
- -- Should Spectrum also attempt synchronizing bans with other Spectrum servers, not just your own? (while Spectrum.Config.LinkPreviousBans is true)
- Spectrum.Config.SyncPreviousBans = false
- Spectrum.Config.EnableKeywords = true -- Should keyword banning be enabled?
- Spectrum.Config.Keywords = { -- If a player is banned on a Spectrum server with a reason containing one of these keywords, it will ban them (Spectrum.Config.SyncAllServerBans must be true)
- "cheat",
- "mod",
- "hack",
- "hax",
- "scripts" -- No comma after last word / phrase
- }
- -- How long (minutes) should spectrum ban a player after finding a keyword (0 for permanent)
- -- Setting this to SPECTRUM_AUTO_DURATION (no quotes) will automatically ban the player for the rest of the duration of their longest ban in the Spectrum database
- Spectrum.Config.KeywordBanDuration = SPECTRUM_AUTO_DURATION -- But it usually doesn't matter - It will just keep banning them if they join again since it will keep detecting whatever keyword...
- -- [[ Valve Anti Cheat (VAC) settings ]]
- Spectrum.Config.VACEnabled = false -- Should Spectrum check if a player has any previous VAC bans?
- Spectrum.Config.VACPlayerBan = false -- Should Spectrum ban players with previous VAC bans
- Spectrum.Config.VACWarning = false -- Should Spectrum warn admins when a player with VAC bans joins the server
- -- How many VAC bans must Spectrum detect on a player before banning the player, or sending a warning
- Spectrum.Config.MinimumVACBans = 1
- Spectrum.Config.VACReason = "Automatic Ban - Detected {VACBanCount} previous VAC bans" -- Reason that the player is banned. You can use {VACBanCount} as a placeholder for the number of bans detected
- Spectrum.Config.VACDuration = 10080 -- How long to ban them, in minutes (0 for permanent)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement