跳到正文

BlockLimit

作者:ThisisBoar

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.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

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.

常见问题

BlockLimit 支持哪些 Minecraft 版本?

BlockLimit 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

BlockLimit 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分