BlockLimit

Quick rating

Community listing page, reviews may not be monitored by the author.

BlockLimit

By ThisisBoarOwner

No reviews yet

A server-side mod. that limits the amount of specific blocks per chunk. Supports configurable limits, modded blocks, admin reports, and automatic item return when the limit is exceeded.

Mod Loaders
Minecraft

About

Description

Block-Limit

When a player tries to place a block above the configured limit, the placement is cancelled and the item is returned to the player.

Features Limit specific blocks per chunk Supports vanilla and modded blocks Server-side only Configurable limits Optional admin reports Returns the block item when placement is blocked Supports online admin notifications Configuration

The config file is located here:

world/serverconfig/blocklimiter-server.toml

Example config:

[general] regulated_blocks = [ "minecraft:hopper|32|true", "minecraft:chest|64|false", "create:andesite_casing|16|true" ]

admin_names = ["AdminNick1", "AdminNick2"] ignore_creative_players = true How to Add Blocks

Each block rule uses this format:

"block_id|max_per_chunk|send_report"

Example:

"minecraft:hopper|32|true"

This means:

minecraft:hopper — block ID 32 — maximum amount of this block allowed in one chunk true — send a report to admins when the limit is exceeded

To add a modded block, use its registry ID:

"create:andesite_casing|16|true" Config Options regulated_blocks

List of blocks controlled by the mod.

Format:

"modid:block_name|limit|report"

Examples:

"minecraft:hopper|32|true" "minecraft:chest|64|false" "thermal:machine_furnace|8|true" admin_names

List of admin nicknames who will receive reports.

Example:

admin_names = ["AdminNick1", "AdminNick2"]

Only online admins from this list will receive messages.

ignore_creative_players

Controls whether creative mode players are ignored.

ignore_creative_players = true

If true, creative players can bypass limits. If false, creative players are also limited.