Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

1 Screenshot

  • 322
  • 10
  • 14.81 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.

 

Permissions:

     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.

 

Notes:

     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.

 

  • Like 1
  • Love 1
 Share


bsdinis's Other Downloads


User Feedback

About Us

Codefling is a forward-thinking platform for developers to share and monetize their work from plugins to game assets and everything in-between.

4,285 files sold to 445 customers and $63,045 of payments processed this year!

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.