This plugin was originally created for @maxaki, credit to him for allowing it to be shared
- Limit the amount of building blocks players can use in there base.
- Send warning messages when the limit has almost been reached
- Refunds materials for blocks when over the limit
- Option to count other structures within building privilege of other structures
Permission
buildingrestrictor.exempt - Allows users to bypass entity limits
buildingrestrictor.count - Required to use the /countblocks command
Chat Commands
/countblocks - Count the amount of building blocks used in the base you are looking at
Spam Detection Options
Enabling this in the config will monitor players who are spamming block placement when their base is at the maximum capacity. First they will be warned not to spam blocks, if they then continue to spam then you can punish them by disabling their ability to build anything for the amount of time set in the config
Config
- Limit the amount of building blocks players can use in there base.
- Send warning messages when the limit has almost been reached
- Refunds materials for blocks when over the limit
- Option to count other structures within building privilege of other structures
Permission
buildingrestrictor.exempt - Allows users to bypass entity limits
buildingrestrictor.count - Required to use the /countblocks command
Chat Commands
/countblocks - Count the amount of building blocks used in the base you are looking at
Spam Detection Options
Enabling this in the config will monitor players who are spamming block placement when their base is at the maximum capacity. First they will be warned not to spam blocks, if they then continue to spam then you can punish them by disabling their ability to build anything for the amount of time set in the config
Config
C#:
{
"Ignore restrictions for admins": false,
"Limit of building blocks per base": 5000,
"Permissions for alternate build limits": {
"buildingrestrictor.vip1": 100,
"buildingrestrictor.vip2": 500
},
"Count other buildings within tool cupboard proximity": true,
"Number of blocks remaining to display limit warning": [
10,
5,
2
],
"Spam Detection": {
"Enable spam detection": true,
"Number of failed blocks placed in fast succession that determines spam placement": 10,
"Amount of time player will be blocked from building (seconds)": 300
},
"Version": {
"Major": 0,
"Minor": 1,
"Patch": 22
}
}