HomeJavaModsLimits
Limits
[​IMG]

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!

Default configuration below.
Spoiler: config.yml
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
[​IMG]

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
Screenshots:
Spoiler: Screenshots
Adding block in the hand to a config with a command.
[​IMG]

That's how your chat looks after placing some limited items in the region.
[​IMG]

And that's how chat looks after breaking them.
[​IMG]

And that's what happens if you exceed block limit.
[​IMG]

But with permission nilimits.override.* you can override limits, as an admin.
[​IMG]

See limited blocks with /nl view command.
[​IMG]

Uou can use command /nl info inside a region-typed area (island, plot, region etc.) to see GUI like this:
[​IMG]

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:
[​IMG]

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

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.

Explore more