Add instance plugin

This commit is contained in:
Cooldude2606
2026-05-20 22:39:44 +01:00
parent 7ddfa8e735
commit dca5086ce3
3 changed files with 181 additions and 28 deletions
+9
View File
@@ -0,0 +1,9 @@
--[[
It is best practice to not expose any globals because all modules share a global environment
However, sometimes you need globals, for example to access functions within rcon commands
Therefore, we advise that this should be the only file in your module to expose globals
Typically this would be your control file as shown in the example below
]]
-- Access using `/sc exp_groups.foo()`
exp_groups = require("modules/exp_groups/control")