- 3 reads
Edit the leagueForbiddenDefs table at the top of the file (def names as strings), applied in ConfigureShard() and ConfigureLobbyServer(). Add a def name to ban it, remove it to allow it.
Use exact def names from your itemdefs; a typo silently bans nothing.
local leagueForbiddenDefs =
{
"Weapon_Minigun_NY_T3",
"Weapon_SmartRocketLauncher_NY_T3",
"FireStealingPot",
"BushidoCall",
"DronDamageMod",
"CloakingDevice_Uniq_T3",
-- ... full list at top of file
'Module_Glass_CloakingDevice',
'Module_Glass_MicroWarp',
'Module_Glass_TimeBoost',
}
-- inside ConfigureShard():
Shard_SetupLeagueForbiddenEquipment( leagueForbiddenDefs )
-- inside ConfigureLobbyServer():
Lobby_SetupLeagueForbiddenEquipment( leagueForbiddenDefs )
-- (dedicated-server variant exists but is commented out)
--DedicatedServerServices_SetupLeagueForbiddenEquipment( leagueForbiddenDefs )