Files
StargateControl/config.lua

56 lines
1.5 KiB
Lua

--[[
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
config.autoOpenIrisAfterDisconnect = 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"
return config