Resource icon

Structures Limit 2.5

No permission to download
Structures Limit
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:
  • sl.reload - Reloads config file.
  • UpdateStructures - Force structure count update (if needed).
  • GetBp - Prints to chat and server log target structure asset name.
RCON Commands:
  • sl.reload - Reloads config file from rcon
  • UpdateStructures - Force structure count update (if needed).
Dependencies:


Config Example:
JSON:
{
  "General": {
    "IgnoreAdmin": false, // option if we should prevent admins from building or not, needs to be in "Admins" group.
    "MaxAmount": 8000, // 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
    },
    "Blueprint'/Game/Mods/StructuresPlusMod/Structures/Foundations/Square/Wood/BP_Foundation_Wood.BP_Foundation_Wood'": {
      "Name": "SS Wood Foundation",
      "Count": 5
    }
  },
  "Messages": {
    "Sender": "Structure Limits:",
    "InvitingMergeFail": "Can't merge with this tribe, the tribe has too many structures!",
    "InvitedMergeFail": "The tribe you are trying to merge has too many structures combined with yours!",
    "InvitingTribeFail": "The player you are trying to invite has too many structures combined with yours!",
    "InvitedPlayerFail": "The tribe you are trying to join have has too 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
1,039
Views
10,340
First release
Last update
Rating
4.78 star(s) 18 ratings

More resources from Foppa

Latest updates

  1. 2.5

    Compatibility fix for other plugins that use building functions
  2. 2.4

    Added confirmation reply when reloading config Added UpdateStructures as RCON command Changed...
  3. 2.3

    Added "IgnoreAdmin" option to disable prevention for admins. Fixed a minor issue with ShowLimit...

Latest reviews

Love this plugin so easy to configure and works perfectly on my server! Keep up the awesome work!
Wondering if there is a way to ignore the over tribe structure count merging part and just focus on individual pieces. Like a cryofridge, but 0 concerns about any other structures. Other than that, seems like a solid plugin.
good plugin, but I have a problem, ignore admin does not work for me.
any idea why this is not working ?
Foppa
Foppa
Thank you for your review! It's added to Known issues, will be fixed in next release!
good plugin! Then, can you add turret limmit in strctures limit? For example in structure limit : 10000 / turret limit 2000 server, i can place only 2000turret + other 8000 structure!
Foppa
Foppa
Just specify the blueprint, won't that work?
Excellent Dev that takes the time to help you, Great plugin and works perfectly! Foppa, Keep up the good work!!!
Foppa
Foppa
Thanks, will do :)
loving it, a true game changer :)
Foppa
Foppa
It is!
Cool...
Foppa
Foppa
I know!
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?
Top