move exploit protection to new file

Moves Auth Token stuff to separate file because it doesn't really need to be in `itemcontrol.lua`

Helps me keep track of it better too

Also added a "cooldown" to workaround people's multicharacter scripts claiming the players loaded more than once and breaking it
This commit is contained in:
Jim Shield
2025-06-20 20:55:49 +01:00
parent 4da4cbfc15
commit de45491c8c
3 changed files with 119 additions and 100 deletions

View File

@@ -177,7 +177,7 @@ for _, v in pairs({ -- This is a specific load order
'effects.lua',
--'warmenu.lua',
'_authToken.lua',
-- Do version check last
'_scriptversioncheck.lua'
}) do