Limit block placement based on limits inside config.yml.
Keeps track of the placed blocks and destroying them decreases the limit counter.
Player data is stored in flat files inside the storage/ directory.
Unique permissions per limit. Only if a player has that permission the limits of the config are checked.
Block destruction of limited blocks from other players.
sLimits allows you to gain fine grained control over the amount of blocks a player can place. Each limit has its own unique permission that can be assigned to players.
Quickstart
Create a limit inside the config.yml
Code (YAML):
# The time interval to save the placed blocks to the disk storage # set to 0 to disable automatic saving save-interval-ticks: 200
storage:
block_placement: storage/block_placement/
limits:
block_placement: # permission: slimits.limits.block_placement.stones stones:
type: stone
limit: 10
# optionally deny breaking limited blocks placed by others # default: false - everybody can break limited blocks of others deny-breaking-by-others: true
# permission: slimits.limits.block_placement.bedrocks-10 bedrocks-10:
type: bedrock
limit: 10
# permission: slimits.limits.block_placement.bedrocks-20 bedrocks-20:
type: bedrock
limit: 20
Assign the slimits.limits.block_placement.stones permission to the players that should receive that limit.
Reload the configs: /slimits reload
You can find the detailed documentation and commands on Github.