All Creds to @Michidu who created the plugin initially.
Structures limit
Tested:
Structures limit
Tested:
- Atlas
- Blackwood
- Hot Load and Unload.
- Vanilla Structures
- Modded Structures
- /ShowLimits - Shows the amount of player/company structures.
- GetBp - Prints to chat and server log target structure asset name.
- It is not recommended to unload/load during runtime as for now.
JSON:
{
"General":{
"MaxAmount":15000, // Global max amount of structures per company or player
"CheckInterval":30, // Update interval in seconds
"NotificationDisplayTime":4.0,
"NotificationScale":1.3
},
"Structures":{ // Specific structures limit, uses asset path
"Blueprint'/Game/Atlas/Weapons/Large_Cannon/StructureLargeCannon_BP.StructureLargeCannon_BP'":{
"Name":"Large Cannon", // Custom name for ShowLimit command
"Count":9999 // limit for this structure
},
"Blueprint'/Game/YARK/ShipCombat/Test_Christian/StructureCannonBase_BP.StructureCannonBase_BP'":{
"Name":"Medium Cannon",
"Count":9999
},
"Blueprint'/Game/Atlas/Structures/Floors/Stone/Structures/StructureBP_Floor_Square_Stone.StructureBP_Floor_Square_Stone'":{
"Name":"Stone Floor",
"Count":100
},
"Blueprint'/Game/Atlas/Structures/Floors/Wood/Structures/StructureBP_Floor_Square_Wood.StructureBP_Floor_Square_Wood'":{
"Name":"Wood Floor",
"Count":100
},
"Blueprint'/Game/Atlas/Structures/Floors/Thatch/Structures/StructureBP_Floor_Square_Thatch.StructureBP_Floor_Square_Thatch'":{
"Name":"Thatch Floor",
"Count":100
}
},
"Messages":{
"Sender":"StructuresLimit",
"ShowLimitsCmd":"/ShowLimits",
"ReachLimit":"You have reached your limit of structures",
"ShowLimitMsg":"{}: {}/{}\n",
"TotalLimitMsg":"Total: {}/{}"
}
}