Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[=====[
- _____ __ ______ ____
- / ___// /____ ____ _____ ___ / ____/___ _/ / /
- \__ \/ __/ _ \/ __ `/ __ `__ \/ / / __ `/ / /
- ___/ / /_/ __/ /_/ / / / / / / /___/ /_/ / / /
- /____/\__/\___/\__,_/_/ /_/ /_/\____/\__,_/_/_/
- connormcf.com
- --]=====]
- steamcall = {}
- -- * Your server name
- -- * Type: string ("cool server")
- -- * Default: false
- -- *
- -- * Setting to false will not show server name
- -- * in responder message
- steamcall.name = "BlackFirefly.de TTT 1"
- -- * Your API host (domain or IP only, no trailing slash)
- -- * Type: string
- -- * Default: required
- steamcall.host = "185.188.6.200"
- -- * Your API port
- -- * Type: integer
- -- * Default: 8393
- steamcall.port = 8393
- -- * Language
- -- * Type: string ("en_GB", "fr_FR")
- -- * Default: "en_GB"
- steamcall.language = "de_DE"
- -- * Your API secret key
- -- * Type: string
- -- * Default: secure random string
- -- *
- -- * This is set to a unique value which is the same as
- -- * the API secret by default, you should not need to
- -- * modify it
- steamcall.secret = "Ou1hsMZmSLNRSSg7mkPvd/6ohWU="
- -- * Import responders from admin mod
- -- * Type: string ("ulx")
- -- * Default: "ulx"
- steamcall.adminMod = "ulx"
- -- * Users in groups to message
- -- * Type: table
- -- * Default: { }
- steamcall.includeGroups = {
- "superadmin",
- "adminvip",
- "admin",
- "moderatorvip",
- "moderator",
- "supportervip",
- "supporter"
- }
- -- * Steam IDs (any format accepted) to message
- -- * Type: table
- -- * Default: { }
- steamcall.includeIDs = {
- "STEAM_0:0:189653164",
- "STEAM_0:0:174285644"
- -- "76561198056767761",
- -- "STEAM_0:1:48251016",
- -- "[U:1:96502033]"
- }
- -- * Steam IDs (any format accepted) to NOT message
- -- * Type: table
- -- * Default: { }
- steamcall.excludeIDs = {
- "76561798076523438"
- -- "76561198056767761",
- -- "STEAM_0:1:48251016",
- -- "[U:1:96502033]"
- }
- -- * Reply poll interval
- -- * Type: integer
- -- * Default: 5
- steamcall.replyPollInterval = 5
- -- * Time in seconds between requests
- -- * Type: integer
- -- * Default: 30
- steamcall.cooldownTime = 30
- -- * Min message length
- -- * Type: integer
- -- * Default: 5
- steamcall.minMessageLength = 5
- -- * Max message length
- -- * Type: integer
- -- * Default: 350
- steamcall.maxMessageLength = 500
- --[=====[
- ADVANCED CONFIGUTATION
- --]=====]
- -- * Your API protocol
- -- * Type: string ("http", "https")
- -- * Default: "http"
- -- *
- -- * "http" should be fine for most cases
- steamcall.protocol = "http"
- -- * Is admin, only used for steamcall_2fa
- -- * Type: function
- -- * Returns: boolean
- steamcall.isAdmin = function(ply)
- return ply:IsAdmin()
- end
- AddCSLuaFile("steamcall_lang/" .. steamcall.language .. ".lua")
- GetGlobalString("steamcall_lang", steamcall.language)
- steamcall.lang = include("steamcall_lang/" .. steamcall.language .. ".lua")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement