Resource icon

Structures Limit 2.2

No permission to download
It limits structures per tribe/player in the whole map!

Features:
  • New Logic for checking structures instead of timed based intervals. (Performance Improvement!)
  • Global Structure Limit
  • Specific Structure Limit of any Structure
  • Tribe Merge Prevention
  • Tribe Invite Prevention
Upcoming Features:
  • TBA
Handles:
  • Structures placed
  • Structures removed/destroyed
  • Structures merging
  • Ignores C4 Charges
  • And more...
Chat Commands:
  • /ShowLimits - Shows the amount of player/tribe structures.
Console Commands:
  • structureslimit.reload - Reloads config file.
  • UpdateStructures - Force structure count update (if needed).
  • GetBp - Prints to chat and server log target structure asset name.
RCON Commands:
  • structureslimit.reload - Reloads config file from rcon
Dependencies:


Config Example:
JSON:
{
  "General": {
    "MaxAmount": 20, // Global max amount of structures per tribe or player
    "NotificationDisplayTime": 4, // Display time for messages
    "NotificationScale": 1.3 // Display scale/size for messages
  },
  "Structures": {
    "Blueprint'/Game/ScorchedEarth/Structures/Adobe/Blueprints/SM_AdobeFloor_BP.SM_AdobeFloor_BP'": {
      "Name": "Adobe Foundation",
      "Count": 5 //Max amount for specific blueprint
    },
    "Blueprint'/Game/PrimalEarth/Structures/Stone/Stone_Floor/Floor_Stone.Floor_Stone'": {
      "Name": "Stone Foundation",
      "Count": 5 //Max amount for specific blueprint
    }
  },
  "Messages": {
    "Sender": "Structure Limits:",
    "InvitingMergeFail": "Can't merge with this tribe,the tribe have to many structures!",
    "InvitedMergeFail": "The tribe you are trying to merge have to many structures combined with yours!",
    "InvitingTribeFail": "The player you are trying to invite have to many structures combined with yours!",
    "InvitedPlayerFail": "The tribe you are trying to join have to many structures combined with yours!",
    "ReachLimit": "You have reached your limit of that structure or the global structure limit!",
    "ShowLimitsCmd": "/ShowLimits",
    "ShowLimitMsg": "{}: {}/{}\n",
    "TotalLimitMsg": "Total Structures: {}/{}",
    "ShowLimitsType": "Notification", // "Chat" For old style or "Notification" For new style.
    "NotificationColor": {  // Change color when using Notification style.
      "Red": 1,
      "Green": 0,
      "Blue": 0.5
    },
    "ShowLimitsDisplayTime": 10, //Display time for showlimit command when using Notification style.
    "ShowLimitsScale": 1.5 //Display scale for showlimit command when using Notification style.
  }
}

1595876236465.png
If you feel like donating to keep this project alive you do it here.
Author
Foppa
Downloads
569
Views
1,503
First release
Last update
Rating
4.64 star(s) 11 ratings

More resources from Foppa

Latest updates

  1. 2.2

    Added option "ShowLimitsType" to change between old and new display styles. Added option to...
  2. 2.1

    Minor fix: fixed counter logic when creating tribe/merging and inviting
  3. 2.0

    Re-worked the counting logic Added Tribe Merge Prevention Added Tribe Invite Prevention Added...

Latest reviews

Great Plugin, love it.

Special Limits by Permission would be a great option.

So normal Player 5000
VIP 7500
Admin unlimited
Great plugin, but I have a problem with arkomatic blueprints, when I modify config.json, it doesn't let me put blueprints with more than 104 characters and / or it doesn't accept arkomatic blueprints. Any solution to this?
Thanks in advance
awesome plugin; possible to make it count S+ structures aswell?
it would be nice if there're a specific tribe structure limit exception option
Very Nice plugin but it would be cool if it there would be an option to create a "group" of structures (for example all types of foundations) and then you set a limit to this group (Limit to 1000 of foundation ) and this means that you can only place 1000 structures of the group foundation so you can decide if you want to place 1k tek foundations or 1k metal foundations or 500/500 ...
can you add a function for permission groups?
Truly an amazing plugin and dev. Never disappoints, Awesome stuff!
Really great, can you add a display to limit the number of buildings and the current number of placements?
Amazing, Works perfectly and is a great tool to control the limit of structures, and kill lag of structures. As an improvement for the future, could be a good command for the survivors, the command that show the number of structures that they have.
This plug-in is really great, it can solve the server burden caused by too much infrastructure!
Top