
领地声明 (Claims)
领地声明 (claim) 是由一名玩家拥有的、相互连接的一组已声明区块。除非不存在任何现有的声明,否则新声明的区块会被添加到最近的现有 领地声明 (claim) 中。否则,将创建一个新的声明。
玩家可以使用 声明规则 (claim rules) 来管理其他人如何与其领地中的区块进行交互。向下滚动以查看所有规则、其选项以及如何更改它们的列表。此外,可以将特定的 绕过所有声明规则的玩家 添加到领地中,可以是永久性的,也可以仅在领地所有者在线时有效。
命令
玩家使用 /chunk 命令来管理他们的领地。子命令(例如用于声明区块、更改声明规则和管理玩家)在玩家能够使用它们时才会显示出来。
使用 Bonfire 的命令非常简单且一目了然,即使是经验不足的玩家也能轻松上手。每次命令执行都会明确告知玩家他们刚刚更改了什么以及这意味着什么。大多数命令还包含对话框,以引导新手玩家完成整个过程。
操作员可以使用实验性的 /bonfire 命令管理其他玩家的领地,该命令允许他们取消声明区块、移除领地、更改领地所有者等。
声明规则 (Claim Rules)
这些规则在服务器端和客户端均强制执行。当玩家在领地中的行动受到限制时(例如,方块轮廓或攻击指示器对他们消失),他们会收到视觉反馈。
| 规则 | always (总是) |
interactOnly (仅交互) |
never (从不) |
|---|---|---|---|
blockActions (方块操作) |
可以破坏、放置和完全与方块交互。 | 可以与方块交互,但不能放置或破坏。 | 不能放置、破坏或与方块交互。 |
entityActions (实体操作) |
可以与实体交互、发生碰撞以及受到伤害。 | 可以与实体交互,但不能受到伤害、拴绳或发生碰撞。 | 属于领地的实体不能与之交互。 |
玩家拥有的或不属于该领地的生物不受实体操作规则的影响。
地图
如果在服务器上安装了 BlueMap 或 squaremap,领地将自动在地图上可见,并且其配置选项会动态出现在 Bonfire 的 config.yml 中。点击下面的图片可打开演示地图。
限制
为了防止玩家声明整个世界,每个玩家的区块数量和领地数量会根据游戏时间统计数据进行限制。玩家每拥有 一小时 的游戏时间可获得 一个区块,每拥有 一天 的游戏时间可获得 一个领地,最多可达 5 个领地。这可以在配置中进行自定义。
可以使用 /bonfire overrideLimits 命令为每个玩家调整限制,该命令会打开一个对话框以授予额外的区块和领地。您还可以使用动态权限 bonfire.playtime_multiplier.<percent>。例如,bonfire.playtime_multiplier.200 会使玩家的游戏时间收益翻倍。
配置
Bonfire 的默认配置应该适用于大多数服务器和生存多人游戏 (SMP)。但是,如果您想调整某些设置,可以在 plugins/Bonfire 中的 config.yml 中进行修改。在那里,您可以更改领地限制、新创建领地的默认规则、地图标记的设计和功能等等。
默认 config.yml
# 新创建领地的默认规则
default-rules:
blockActions: never
entityActions: interactOnly
# 声明限制配置
limits:
# 如果设置为 false,则声明不受任何限制
enabled: true
# 每个玩家起始的基础值
starting-values:
chunks: 0
claims: 1
# 基于游戏时间获取额外的区块和领地
playtime-earning:
enabled: true
minutes-per-chunk: 60
minutes-per-claim: 1440 # 24 小时
# 绝对硬上限(使用 -1 表示无限制)
maximum:
chunks: -1
claims: 5
# /chunk escape 命令的配置
escaping:
# 命令是否可见且可使用
enabled: true
# 玩家每次使用之间需要等待的秒数
cooldown: 1800
# BlueMap 领地标记的配置(如果安装了 BlueMap)
bluemap:
# 如果设置为 false,则完全不显示标记
enable-markers: true
# 是否应在 BlueMap 的标记菜单中列出领地标记
# 这允许玩家轻松找到世界中存在的所有领地
list-markers: false
# $name 将被替换为领地所有者的名字
label: Claimed by $name
# 标记的强调 RGB 颜色
accent-color: 255, 221, 161
# 如果相机距离此标记超过此距离,它将隐藏
view-distance: 1000
用于 squaremap 领地标记的配置,如果安装了 squaremap
squaremap:
如果设置为 false,Bonfire Claims 图层将不会显示
enable-markers: true
在 squaremap 的图层控制中显示的图层名称
layer-label: Bonfire Claims
$name 会被替换为领地所有者的名字
label: Claimed by $name
地图首次打开时该图层是否隐藏
default-hidden: false
领地边框和填充的 RGB 颜色及透明度
stroke-color: 255, 221, 161 stroke-opacity: 0.8 stroke-weight: 2 fill-color: 255, 221, 161 fill-opacity: 0.15
相对于其他 squaremap 图层的排序
layer-priority: 50 z-index: 50
使用 /bonfire reloadConfig 应用更改而无需重启
</details>
---
[](https://modrinth.com/plugin/bonfire/gallery) [](https://github.com/foenichs/Bonfire) [](https://discord.gg/D64BxScDpg) [](https://ko-fi.com/foenichs)

Claims
A claim is a group of connected claimed chunks by one player. Unless there is none, a claimed chunk is added to the nearest existing claim. Otherwise, a new one is created.
Players can use claim rules to manage how others can interact with chunks in their claim. Scroll down to see a list of all rules, their options, and how to change them. Additionally, specific players that bypass all claim rules can be added to a claim, either permanently or only while the claim owner is online.
Commands
Players use the /chunk command to manage their claims. The subcommmands, e.g. to claim chunks, change claim rules and manage players, become visible as soon as the player can use them.
Using Bonfire's commands is pretty easy and self-explanatory, even for unexperienced players. Every commands execution tells the player exactly what they just changed and what that means. Most commands also have dialogs to guide inexperienced players trough the process.
Operators can manage claims of other players using the experimental /bonfire command, which allows them to unclaim chunks, remove claims, change their owner, and more.
Claim Rules
They are enforced on both the server and the client. Players are given visual feedback when their actions are restricted on a claim, for example, when block outlines or attack indicator vanish for them.
| Rules | always |
interactOnly |
never |
|---|---|---|---|
blockActions |
Blocks can be broken, placed, and fully interacted with. | Blocks can be interacted with, but can't be placed or broken. | Blocks can't be placed, broken, or interacted with. |
entityActions |
Entities can be interacted with and collided with, as well as damaged. | Entities can be interacted with, but can't be damaged, leashed, or collided with. | Entities belonging to the claim can't be interacted with. |
Mobs that players own, or that don't belong to the claim, are unaffected by the entity actions rule.
Maps
If BlueMap or squaremap are installed on the server, claims are automatically visible on the map and their config options dynamically appear in Bonfire's config.yml. Clicking the images below opens the demo map.
Limits
To prevent players from claiming the whole world, the number of chunks and claims per player is limited based on the playtime statistic. Players get one chunk for every hour of playtime they have, and one claim for every day of playtime they have, with a maximum of 5 claims. This can be customised in the config.
Limits can be adjusted per player with the /bonfire overrideLimits command, which opens a dialog for granting additional chunks and claims. You can also use the dynamic permission bonfire.playtime_multiplier.<percent>. For example, bonfire.playtime_multiplier.200 doubles a player's playtime earnings.
Config
Bonfire's default configs should work perfectly for most servers and SMPs. However, if you want to adjust some settings, you can do that in the config.yml in plugins/Bonfire. There you can change claim limits, the default rules for newly created claims, the design and functionality of map markers, and much more.
Default config.yml
# Default rules for newly created claims
default-rules:
blockActions: never
entityActions: interactOnly
# Claiming Limits Configs
limits:
# If set to false, claiming isn't limited at all
enabled: true
# Base values every player starts with
starting-values:
chunks: 0
claims: 1
# Earning additional chunks and claims based on playtime
playtime-earning:
enabled: true
minutes-per-chunk: 60
minutes-per-claim: 1440 # 24 hours
# Absolute hard caps (use -1 for no limit)
maximum:
chunks: -1
claims: 5
# Configs for the /chunk escape command
escaping:
# Whether the command is visible and can be used
enabled: true
# How many seconds a player has to wait between uses
cooldown: 1800
# Configs for BlueMap claim markers, if BlueMap is installed
bluemap:
# If set to false, markers don't show at all
enable-markers: true
# Whether claim markers should be listed in BlueMap's marker menu
# This allows players to easily find all claims that exist in a world
list-markers: false
# $name gets replaced with the name of the claim owner
label: Claimed by $name
# The accent RGB color of markers
accent-color: 255, 221, 161
# If the camera is further to this marker than this distance, it will be hidden
view-distance: 1000
# Configs for squaremap claim markers, if squaremap is installed
squaremap:
# If set to false, the Bonfire Claims layer won't be shown
enable-markers: true
# Layer name displayed in squaremap's layer control
layer-label: Bonfire Claims
# $name gets replaced with the name of the claim owner
label: Claimed by $name
# Whether the layer should be hidden when the map is first opened
default-hidden: false
# RGB colors and opacity for claim borders and fill
stroke-color: 255, 221, 161
stroke-opacity: 0.8
stroke-weight: 2
fill-color: 255, 221, 161
fill-opacity: 0.15
# Ordering relative to other squaremap layers
layer-priority: 50
z-index: 50
# Use /bonfire reloadConfig to apply your changes without restarting
下载 Bonfire - 区块认领
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Bonfire - 区块认领
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Bonfire - 区块认领
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Bonfire - 区块认领
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Bonfire - 区块认领
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Bonfire - 区块认领
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Bonfire - 区块认领
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Bonfire - 区块认领
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Bonfire - 区块认领
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Bonfire - 区块认领
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
盔甲架在被破坏时现在被视为方块处理,但在受到攻击时仍作为实体处理,这使得未经授权的玩家可以使用犰狳经验农场。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
使床在所有维度中爆炸的模组
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
评论 0
登录后参与评分
还没有评论,来抢沙发吧