Limits the size of a building by limiting the number of foundations that can be placed per building.
(requires auth level 2 or foundationlimit.admin)
Permissions
This plugin uses the permission system. To assign a permission, use oxide.grant <user or group> <name or steam id> <permission>. To remove a permission, use oxide.revoke <user or group> <name or steam id> <permission>.- foundationlimit.admin -- Allows player to use /fdlimit command
- foundationlimit.bypass -- Ignore plug-in effects
Commands
This plugin provides both chat and console commands using the same syntax. When using a command in chat, prefix it with a forward slash: `/`.(requires auth level 2 or foundationlimit.admin)
- /fdlimit default [limitcount] -- Change the maximum default foundation place limit(-1 = Disable)
- /fdlimit add [permissionname] {[limitcount], [squarelimitcount] [trianglelimitcount]} -- Add custom vip permission
- /fdlimit remove [permissionname] -- Remove custom vip permission
- /fdlimit radius [searchradius] -- Set scope to search for connected foundations
- /fdlimit class [on/off] -- Determines whether to turn on the function that separates and limits foundation types
- /fdlimit msg [int] -- Specifies the value of MinFoundationsBeforeMsgShowsUp
- /fdlimit stat -- View config settings
Configuration
The settings and options can be configured in the FoundationLimit file under the config directory. The use of an editor and validator is recommended to avoid formatting issues and syntax errors.- DefaultFoundationLimit -- The maximum number of foundations that can be placed(-1 = Disable).
- DefaultTriangleFoundationLimit -- The maximum number of triangle foundations that can be placed(-1 = Disable) (This value is ignored when UseFoundationClassification is turned off).
- permissionItems -- It's a custom vip permissions.
- MinFoundationsBeforeMsgShowsUp -- The message is output from less than or equal to n deployable foundations(-1 = Disable).
- SearchRange -- Scope to search for foundations connected to each other.
- UseFoundationClassification -- Sort out foundation types and decide whether to limit or not