This plugin allows admins to set the maximum number of autoturrets, flame turrets, and shotgun traps that can be deployed in a building (i.e. within one continuous set of cupboard range). It also prevents turrets from being placed outside of cupboard range; this is to prevent players from dropping a lot of turrets and then a cupboard afterwards.
Configuration
The settings and options can be configured in the TurretLimits file under the config directory. The use of an editor and validator is recommended to avoid formatting issues and syntax errors.Default Configuration
Global Configuration Settings
- Admin Can Bypass Build Restrictions - If set to true, this allows admins to place as many turrets as they like. It does not bypass the power requirements, if configured. If set to false, admins get the same restrictions as anyone else. (Default: false)
- Disable All Turrets - If enabled, prevents all new autoturrets, flame turrets, and shotgun traps from being built. Does not delete existing turrets. If this is enabled, existing autoturrets will not fire at people. Currently it is not possible to stop flame turrets and shotgun traps from firing, as uMod does not yet support hooks for those trap types. (Default: false)
Individual Control Settings
Individual control sets limits for each individual turret type. Individual control settings for each turret type are as follows:- Maximum - The maximum number of the specific turret type. Setting this to -1 disables turret limits for the specific turret type. (Default: 3 for all types)