BarricadeLimiter

(*)(*)(*)(*)(*) (1)

Tired of having tons of lockers on a single vehicle?
Don't want users to build spike-machines the size of the map?
This plugin allows you to limit the amount of barricades users can place on a vehicle either by barricade ID or by permission limit.

Video demonstration: https://www.youtube.com/watch?v=YksKnIVVjLw

Default OpenMod configuration (with explanations):

# If set to true, users will be unable to place any barricades that do not have rules.
dont_allow_unruled_items: false

# Rules for barricades by ID
id_rules:
  - id: 328 # Item ID
    limit: 3 # A user will be unable to place more than 5 "328" on a single vehicle
  - id: 383 # Item ID
    limit: 0 # A user will be unable to place any "383" on a vehicle
    
default_limit: 3 # default users will be unable to place more than 3 barricades on a single vehicle
# Rules for permissions, the highest number will be used
permission_rules:
  - permission: "vip"
    limit: 5 # VIP users will be unable to place more than 5 barricades on a single vehicle

Default OpenMod translations:

barricadelimiter_translations:
  id_limit: "You can't have more than {MAXCOUNT} of {BARRICADE} on a single vehicle."
  permission_limit: "You can't have more than {MAXCOUNT} barricades on a single vehicle."

Default RocketMod configuration:

<?xml version="1.0" encoding="utf-8"?>
<BarricadeLimiterConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <DontAllowUnruledItems>false</DontAllowUnruledItems>
  <IDRules>
    <IDRule>
      <ID>328</ID>
      <Limit>3</Limit>
    </IDRule>
    <IDRule>
      <ID>383</ID>
      <Limit>0</Limit>
    </IDRule>
  </IDRules>
  <DefaultLimit>3</DefaultLimit>
  <PermissionRules>
    <PermissionRule>
      <Permission>vip</Permission>
      <Limit>5</Limit>
    </PermissionRule>
  </PermissionRules>
</BarricadeLimiterConfiguration>

Default RocketMod translations:

<?xml version="1.0" encoding="utf-8"?>
<Translations xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Translation Id="id_limit" Value="You can't have more than {0} of {1} barricades on a single vehicle." />
  <Translation Id="permission_limit" Value="You can't have more than {0} barricades on a single vehicle." />
</Translations>

User Reviews

Thanks(*)(*)(*)(*)(*) - Apr 7, 2021

Thanks for make it support for RocketMod


r9c
1 out of 1 people found this helpful

Store: SqidWare

Price: $7



Supported payment methods
PayPal, Skrill, WebMoney

Supported Platforms
OpenMod, RocketMod

All future updates (bug fixes, new features, etc.) are included in the price.