A plugin that allows server admins to set limits on the number of buildings players can place in Unturned.
- Limit total buildings per player
- Limit barricades and structures separately
- Set specific limits for different building types
- Height restrictions for buildings
- Location-based building limits
- Multipliers for players with special permissions
/buildingstats- Shows your current building counts and limits/buildingstats <player>- Shows another player's building counts and limits (requires permission)
buildingstats- Allows using the/buildingstatscommandbuildingstats.other- Allows checking other players' building statsbuildings.vip- Example permission for multiplier (customizable)
<MessageColor>yellow</MessageColor>
<MessageIconUrl>https://i.imgur.com/LlEcfBg.png</MessageIconUrl>
<EnableMaxBuildings>false</EnableMaxBuildings>
<MaxBuildings>200</MaxBuildings>
<EnableMaxBarricades>false</EnableMaxBarricades>
<MaxBarricades>100</MaxBarricades>
<EnableMaxStructures>false</EnableMaxStructures>
<MaxStructures>150</MaxStructures>
<BypassAdmin>false</BypassAdmin>MessageColor- Color of plugin messagesMessageIconUrl- Icon shown with messagesEnableMaxBuildings- Set totrueto limit total buildingsMaxBuildings- Maximum total buildings allowed per playerEnableMaxBarricades- Set totrueto limit barricades separatelyMaxBarricades- Maximum barricades allowed per playerEnableMaxStructures- Set totrueto limit structures separatelyMaxStructures- Maximum structures allowed per playerBypassAdmin- Set totrueto let admins ignore all restrictions
<EnableMaxBarricadeHeight>false</EnableMaxBarricadeHeight>
<MaxBarricadeHeight>100</MaxBarricadeHeight>
<EnableMaxStructureHeight>false</EnableMaxStructureHeight>
<MaxStructureHeight>100</MaxStructureHeight>EnableMaxBarricadeHeight- Set totrueto limit barricade heightMaxBarricadeHeight- Maximum height (in meters) for barricadesEnableMaxStructureHeight- Set totrueto limit structure heightMaxStructureHeight- Maximum height (in meters) for structures
<EnableMaxBuildingsPerLocation>false</EnableMaxBuildingsPerLocation>
<MaxBuildingsPerLocationHeight>100</MaxBuildingsPerLocationHeight>
<MaxBuildingsPerLocation>10</MaxBuildingsPerLocation>EnableMaxBuildingsPerLocation- Set totrueto limit buildings in specific areasMaxBuildingsPerLocationHeight- Maximum height for location detectionMaxBuildingsPerLocation- Maximum buildings allowed in a location- Set to
0to completely disable building in locations - The following aren't counted: Safezone Radiators, Horde Beacons, Charges, Vehicles
- Set to
<Barricades>
<Barricade Name="sentries" Build="SENTRY" Max="5" />
<Barricade Name="stereos" Build="STEREO" Max="1" />
<Barricade Name="campfires" Build="CAMPFIRE" Max="2" />
<Barricade Name="Sandbag" ItemId="365" Max="10" />
</Barricades>
<Structures>
<Structure Name="roofs" Construct="ROOF" Max="30" />
<Structure Name="floors" Construct="FLOOR" Max="30" />
<Structure Name="Metal Wall" ItemId="371" Max="20" />
</Structures>Barricades- List of specific barricade type restrictionsStructures- List of specific structure type restrictions- For each entry:
Name- Display name for the building type (informational only, doesn't affect functionality)Build- Barricade type (use values from Barricade Build types list)Construct- Structure type (use values from Structure Construct types list)ItemId- Specific item ID (overrides Build/Construct)Max- Maximum number allowed
You can restrict buildings in three ways:
-
By Building Category: Use the
Buildattribute for barricades orConstructfor structures to restrict entire categories (e.g., all SENTRY types). -
By Specific Item ID: Use the
ItemIdattribute to restrict a specific item. For example:ItemId="365"restricts Sandbag barricades specificallyItemId="371"restricts Metal Walls specifically
-
Combined Restrictions: You can have both category restrictions and specific item restrictions active at the same time.
Note: When using ItemId, you need to know the exact ID number of the item in Unturned. Using ItemId will override category-based restrictions for that specific item. The
Nameattribute is just for your reference and doesn't need to match the exact item name in Unturned.
<Multipliers>
<Multiplier Permission="buildings.vip" Multiplier="1.5" />
</Multipliers>- Use multipliers to give certain players higher limits
Permission- The permission to check forMultiplier- How much to multiply the limits (1.5 = +50%)
FORTIFICATION, BARRICADE, DOOR, GATE, BED, LADDER, STORAGE, FARM,
TORCH, CAMPFIRE, SPIKE, WIRE, GENERATOR, SPOT, SAFEZONE, FREEFORM,
SIGN, VEHICLE, CLAIM, BEACON, STORAGE_WALL, BARREL_RAIN, OIL, CAGE,
SHUTTER, TANK, CHARGE, SENTRY, SENTRY_FREEFORM, OVEN, LIBRARY,
OXYGENATOR, GLASS, NOTE, HATCH, MANNEQUIN, STEREO, SIGN_WALL,
CLOCK, BARRICADE_WALL
FLOOR, WALL, RAMPART, ROOF, PILLAR, POST, FLOOR_POLY, ROOF_POLY