- 16.2 kB
About Entity Limit
Limits, by prefab shortname, the amount of entities that players are allowed to deploy or build. Limits building blocks and deployables.
The config file contains 2 lists named limitedPrefabs and VIPlimitedPrefabs where the limits are saved.
The purpose of the excludedSkinIDs list is to prevent limiting items with custom skinIDs, such as catapults, sentries, recyclers, etc.
Limits can be added, removed or listed with the console command 'entitylimit', command usage examples:
entitylimit add default foundation.triangle 50 - Adds the shortname 'foundation.triangle' to the 'default' list with a limit of 50.
entitylimit add default chair.deployed 3 - Adds the shortname 'chair.deployed' to the 'default' list with a limit of 3.
entitylimit add vip chair.deployed 30 - Adds the shortname 'chair.deployed' to the 'VIP' list with a limit of 30.
entitylimit remove vip chair.deployed - Removes the shortname ´chair.deployed´ from the 'VIP' list.
entitylimit limits - Lists every limited prefab from default and VIP lists and the excluded skinIDs.
entitylimit playerentities <steamID> - Lists every player's amount of entities, or optionally list only one steamID.
entitylimit addskin 12345 - Adds the item skinID 12345 to the excluded skinIDs list.
entitylimit removeskin 12345 - Removes the item skinID 12345 from the excluded skinIDs list.
entitylimit.bypass - Allows player to bypass any entity limits set by this plugin.
entitylimit.console - Allows player to use the console command, not needed for players with ownerid.
entitylimit.vip - Allows player to build and deploy using the limits from the VIP list.
Setting a prefab's limit to 0 blocks its placement.
If a prefab's VIP limit is accidentally set lower than its default limit, the default limit will be applied for both default and VIP players.
If a prefab shortname does not exist in the default list, that prefab will not be limited for VIP players even if it exists in the VIP list.