Have you ever wanted to limit block placement?
Did you want that your players can place only 1 beacon in their..
..Region?
..Plot?
..Island?
This is possible now!
- Limit blocks per regions (WorldGuard)
- Limit blocks per islands (ASkyBlock, AcidIsland)
- Limit blocks per plots (PlotSquared, PlotMe)
- Limit blocks per worlds
- Limit blocks per player permission groups
- Have multiple limits for the same block with different data (durability)
- Might even work on the modded servers! You'll be able to limit your mechanisms.
- Counts WorldEdit actions as a normal block break/place - will count them too!
Spoiler: config.yml
# And here the configuration begins.
PluginEnabled: true
# I'm pretty sure you don't want this thing to be enabled. Default: false
debug: false
# Plugin language. You can use your own by creating another file. Default: en
lang: en
# Plugin hook section
Hooks:
# Should niLimits also hook into PlotSquared if detected? Default: true
PlotSquared: true
# Should niLimits also hook into PlotMe if detected? Default: true
PlotMe: true
# Should niLimits also hook into ASkyBlock if detected? Default: true
ASkyBlock: true
# Should niLimits also hook into AcidIsland if detected? Default: true
AcidIsland: true
# Should plugin try to cancel WorldEdit actions that go over the limit? May be laggy. VERY LAGGY. Default: false
TryCancelWorldEditActions: false
# Advanced block breaking check. Not required for vanilla, required for modded servers with wrenches. Default: false
AdvancedBreakCheck: false
# List of item names, which plugin will check with it's advanced alghorythm. (If item has these words in it's material name) Default: ['WRENCH','TOOL']
AdvancedBreakItems:
- 'WRENCH'
- 'TOOL'
# Limits section.
Limits:
# Technical, section name. Value is not important, but avoid same names.
BEDROCK:
# Block Material name to count.
NAME: 'BEDROCK'
# Block data/durability. For example, LOG:1 data would be 1. Set to -1 for counting all blocks with the same name. For example: LOG.
DATA: -1
# Worlds plugin is going to count this block in. Use 'all' for all worlds.
WORLDS:
- 'all'
LIMITS:
# Limits for permission groups. Requires Vault for groups, otherwise will always use default value.
default: 5
vip: 50
# Block Material names to count. If you set limit at the section above, but didn't set it below, it wont work. Automatically updates when adding limits via command.
Tocount:
- 'BEDROCK'
Code (Text):
# And here the configuration begins.
PluginEnabled: true
# I'm pretty sure you don't want this thing to be enabled. Default: false
debug: false
# Plugin language. You can use your own by creating another file. Default: en
lang: en
# Plugin hook section
Hooks:
# Should niLimits also hook into PlotSquared if detected? Default: true
PlotSquared: true
# Should niLimits also hook into PlotMe if detected? Default: true
PlotMe: true
# Should niLimits also hook into ASkyBlock if detected? Default: true
ASkyBlock: true
# Should niLimits also hook into AcidIsland if detected? Default: true
AcidIsland: true
# Should plugin try to cancel WorldEdit actions that go over the limit? May be laggy. VERY LAGGY. Default: false
TryCancelWorldEditActions: false
# Advanced block breaking check. Not required for vanilla, required for modded servers with wrenches. Default: false
AdvancedBreakCheck: false
# List of item names, which plugin will check with it's advanced alghorythm. (If item has these words in it's material name) Default: ['WRENCH','TOOL']
AdvancedBreakItems:
- 'WRENCH'
- 'TOOL'
# Limits section.
Limits:
# Technical, section name. Value is not important, but avoid same names.
BEDROCK:
# Block Material name to count.
NAME: 'BEDROCK'
# Block data/durability. For example, LOG:1 data would be 1. Set to -1 for counting all blocks with the same name. For example: LOG.
DATA: -1
# Worlds plugin is going to count this block in. Use 'all' for all worlds.
WORLDS:
- 'all'
LIMITS:
# Limits for permission groups. Requires Vault for groups, otherwise will always use default value.
default: 5
vip: 50
# Block Material names to count. If you set limit at the section above, but didn't set it below, it wont work. Automatically updates when adding limits via command.
Tocount:
- 'BEDROCK'
Spoiler: Command list
Permissions:
Code (Text):
There is also a custom permission for each limited item.
For Example:
If you want to give someone permission to override limits for SPONGE with DATA 1 (Wet sponge),
it will be 'nilimits.override.SPONGE:1' because of its name SPONGE and DATA 1.
nilimits.add:
description: Allows the player to add counted items.
default: OP
nilimits.view:
description: Allows the player to view counted items.
default: true
nilimits.info:
description: Allows the player to view region limits.
default: true
nilimits.override.*:
description: Allows the player to override plugin limits.
default: OP
nilimits.reload:
description: Allows the player to reload the plugin.
default: OP
For Example:
If you want to give someone permission to override limits for SPONGE with DATA 1 (Wet sponge),
it will be 'nilimits.override.SPONGE:1' because of its name SPONGE and DATA 1.
nilimits.add:
description: Allows the player to add counted items.
default: OP
nilimits.view:
description: Allows the player to view counted items.
default: true
nilimits.info:
description: Allows the player to view region limits.
default: true
nilimits.override.*:
description: Allows the player to override plugin limits.
default: OP
nilimits.reload:
description: Allows the player to reload the plugin.
default: OP
Spoiler: Screenshots
Adding block in the hand to a config with a command.
That's how your chat looks after placing some limited items in the region.
And that's how chat looks after breaking them.
And that's what happens if you exceed block limit.
But with permission nilimits.override.* you can override limits, as an admin.
See limited blocks with /nl view command.
Uou can use command /nl info inside a region-typed area (island, plot, region etc.) to see GUI like this:
Also you can use Blaze Rod to see limit info of the block clicked.
For example, if you click bedrock in a Island area it will show you this:
That's how your chat looks after placing some limited items in the region.
And that's how chat looks after breaking them.
And that's what happens if you exceed block limit.
But with permission nilimits.override.* you can override limits, as an admin.
See limited blocks with /nl view command.
Uou can use command /nl info inside a region-typed area (island, plot, region etc.) to see GUI like this:
Also you can use Blaze Rod to see limit info of the block clicked.
For example, if you click bedrock in a Island area it will show you this:
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.7, 1.8, 1.9
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
Limits is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8, 1.9, 1.10 and newer. Downloaded 4,775 times (via Spigot). Download it and open it directly in the game.