--[[ Configuration File All user-configurable settings for the Stargate Control System ]] local config = {} --------------------------------------------- -- GATE BEHAVIOR --------------------------------------------- -- Gate dialing speed (seconds between chevrons for non-Milky Way gates) config.gatespeed = 0.5 -- Manual dial for Milky Way gates (rotating ring animation) config.manualDial = false -- Access control config.canAccessHazardGates = true --------------------------------------------- -- IRIS CONFIGURATION --------------------------------------------- config.irisEnabled = true config.autoCloseIrisOnIncoming = true config.irisCloseDelay = 0.1 -- seconds before closing iris on incoming -- Default iris state when gate is idle (no connection) -- true = iris closed when idle, false = iris open when idle config.irisClosedByDefault = false -- Iris password (set to nil to disable remote password unlock) -- Also used as GDO IDC code when GDO support is enabled config.irisPassword = "1234" -- GDO (Garage Door Opener) support config.enableGDO = true --------------------------------------------- -- DEBUGGING --------------------------------------------- -- Enable chatbox message debugging (sends messages to specified player) config.enableChatboxDebug = false config.chatboxDebugPlayer = "MoonlitJolty" --------------------------------------------- -- MESSAGING --------------------------------------------- -- Enable computer-to-computer messaging through stargate config.enableMessaging = true --------------------------------------------- -- SECURITY --------------------------------------------- -- Whitelist (if not empty, only these addresses can enter) -- Format: {"Name", {address_table}} config.whitelist = { { "Glaive", { 33, 6, 10, 24, 1, 30, 3, 17, 0 } }, { "Moon", { 32, 33, 8, 7, 25, 21, 14, 35, 0 } }, { "Caldoric", { 18, 2, 24, 16, 8, 19, 4, 29, 0 } }, { "Trading Hall", { 16, 19, 6, 18, 35, 27, 9, 8, 0 } } } -- Blacklist (these addresses are always blocked) config.blacklist = { -- {"DangerGate", {1,2,3,4,5,6,0}}, } --------------------------------------------- -- LOGGING --------------------------------------------- config.enableLogging = true config.logFile = "stargate.log" --------------------------------------------- -- AUTO-UPDATE --------------------------------------------- -- Auto-update all program files from git repository on startup config.autoUpdate = true config.repoBaseUrl = "https://git.munebase.dev/Munelit/StargateControl/raw/branch/master/" return config