ClaimMod — 高级领地声明与防破坏系统
此图片来自 ClaimModCompanion。

ClaimMod 是一款服务端 Fabric 模组,旨在赋予玩家和服务器管理员对领地保护及防破坏系统的完全控制权。该模组完全在服务端运行,对于普通原版客户端无缝兼容,同时提供一个轻量级的配套数据包 API,为运行兼容配套客户端配置的玩家解锁高级的自动客户端边界渲染功能。
凭借模块化、高性能的空间索引引擎、精确到刻(tick)的累加数学逻辑、独立的信任矩阵、广泛的单世界权限覆盖以及可选的 BlueMap 网页地图集成,ClaimMod 专为应对高负载服务器环境而设计,无需任何配置重启即可稳定运行。
除 Fabric API 外无必需依赖项。 LuckPerms、EcoBal、BasicsMod、ShopShelves、TradeShelves 和 BlueMap 均为可选模块——当安装相应模组时,各项集成会自动启用。
📧 联系与支持
💬 主要支持渠道(推荐)
所有一般性问题、功能请求和非紧急漏洞报告,请发布在我们 Discord 服务器的相应频道中。 我们会积极监控并尽快回复,以便整个社区都能受益。
🆘 紧急私信政策
您仅可在特定的紧急情况下直接私信我:
- 允许原因: 您的服务器因本模组导致崩溃或出现严重的、破坏游戏性的关键错误。
- 要求: 您必须是服务器所有者。
- 时区: (CET/CEST) — 布鲁塞尔时间
- 私信时间: 仅限布鲁塞尔时间上午 10:00 – 晚上 10:00
无法保证即时回复。私信是一种职业礼仪,而非权利。感谢您的理解!
🛠️ 性能架构
与那些遍历庞大数组或受困于刻漂移(tick-drift)的旧式保护模组不同,ClaimMod 从底层构建之初便针对现代服务器性能进行了优化:
- O(1) 空间索引:通过基于区块哈希的空间网格(
worldKey → chunkKey → Set<Claim>)清晰地索引领地。无论世界中存在多少数千个领地,边界检查和交互查找都能瞬间完成。
- 实时累加处理:领地方块收益按真实墙钟时间计算,而非服务器刻数,因此即使在负载过重导致 TPS 下降的情况下,玩家的收益率也能保持完美稳定。
💰 领地方块经济
- 按玩家在线时长获取收益:每位玩家每拥有完整的一小时个人在线时间,即可获得领地方块。进度按玩家单独保存,并在会话和重启之间延续,因此没有人会在登录一小时前提前获得全额奖励。
- 等级收益速率:通过
claimmod.accrual.<amount>(例如 claimmod.accrual.100)赋予特定等级更高的每小时收益。玩家拥有的最高速率生效;其他所有人则获得基础的 accrual.blocks_per_hour 收益。
- 使用货币购买领地方块:安装 EcoBal 后,玩家可以使用
/claim buy <amount> 购买领地方块。每个方块的单价和每次购买的最大数量在 config.yml 中设置。
- 清晰的余额概览:
/claim balance 显示您的总领地方块数、已用于领地的数量以及剩余可用数量。
- 领地限制:可选择限制玩家可拥有的领地数量(
max_claims_per_player)及其总领地面积(max_claim_blocks_per_player)。
⏳ 闲置领地过期
- 离线天数达到可配置数值(默认 60 天)的玩家领地可被自动删除。
- 默认情况下没有任何人的领地会过期。 所有人的
claimmod.expiry.exempt 设置为 true;请在 LuckPerms 组中将此项设为 false,使过期规则仅应用于该组。
- 管理员领地永不过期,且
/claim info 会显示所有者上次上线的时间以及领地剩余的过期天数。
🔑 独立信任层级
ClaimMod 摒弃了标准的累积信任层级体系。授予某个层级不会自动授予其下方层级的权限,从而允许进行细粒度的玩家委托管理:
| 层级 |
角色权限 |
| OWNER (所有者) |
完整的建造/破坏访问权、容器权限、旗帜管理、领地删除及所有权转移。 |
| CO_OWNER (共同所有者) |
权限与所有者相同,但不能强制删除领地或将主要所有权转移给他人。 |
| TRUSTED (受信任者) |
完整的建造和方块破坏权限,以及所有标准方块/容器交互权限。 |
| FLAGS (旗帜查看者) |
仅提供领地旗帜的可见性和切换功能;不能建造、破坏或查看容器内部。 |
| CONTAINER (容器使用者) |
严格限制为仅能使用物品栏(箱子、熔炉等)。 |
| TRAVELER (旅行者) |
严格限制为仅能通过机械导航路径(标准门、活板门和栅栏门)。 |
一处设置,处处生效:在自己的领地内运行 /claim trust 或 /claim untrust 仅更改该领地,或在其他地方运行则一次性应用到您所有的领地。
个人通知静音:每个领地成员(所有者或任何信任层级)都可以仅为自己静音单个领地的击杀和/或死亡通知——该领地的通知标志对其他所有人仍然有效。可通过 ClaimModCompanion 中的一键点击操作完成(≡ My Claims 和 ★ Trusted Claims),或使用命令 /claim manage mute <claimId> <kills|deaths> <true|false>。
🏳️ 丰富的旗帜控制
使用我们专门的旗帜注册表,自定义全局、单世界或动态在个别玩家/管理员区域内的规则:
| 标志名称 |
默认值 |
控制内容 |
block_break |
false |
允许非受信任玩家在领地边界内挖掘方块。 |
block_place |
false |
允许非受信任玩家在领地边界内放置方块。 |
block_interact |
false |
主开关:允许非受信任玩家使用所有普通方块(门、按钮、拉杆、音符盒等……),覆盖交互标志。 |
container_access |
false |
允许非受信任玩家打开箱子、熔炉和标准容器。 |
traveler_interaction_player / _admin |
false / true |
在玩家/管理员领地中的门、陷阱门、栅栏门、按钮、拉杆和压力板。 |
miscellaneous_interaction_player / _admin |
false / true |
在玩家/管理员领地中的物品展示框、画作、拴绳、盔甲架、讲台、唱片机和其他物品。 |
pvp |
false |
决定完全不受信任的实体在边界内的战斗结果。 |
friendly_fire |
true |
管理明确受信任的玩家是否可以在区域内互相攻击。 |
animal_killing |
false |
控制非受信任实体是否可以屠杀被动家畜动物。 |
mob_killing |
true |
允许玩家清理不需要的敌对或中立生物。 |
protect_nametagged |
true |
覆盖通用屠杀权限,以保护自定义命名标签实体。 |
tnt_explosion |
false |
保护地形方块不被活跃的 TNT 爆炸破坏。 |
creeper_explosion |
true |
切换苦力怕爆炸造成的环境结构破坏。 |
other_explosion |
true |
限制来自床或锚等其他爆炸力的方块影响。 |
explosion_player_damage |
true |
控制爆炸冲击波是否会对玩家造成生命值伤害。 |
fire_spread |
true |
允许自然火方块进行刻更新并寻找新的可燃表面。当为 false 时,领地内的火会熄灭,并且闪电无法在那里引发火灾。 |
fire_damage |
true |
决定燃烧方块是否会被火完全消耗和摧毁。 |
permanent_fire |
false |
领地内的火永不扩散、永不熄灭(即使在雨中)且永不烧毁其所在的方块——非常适合在任何方块上装饰壁炉。覆盖 fire_spread。 |
enderman_griefing |
false |
允许末影人在领地内拾取和放置方块。 |
wither_griefing |
false |
允许凋灵在领地内破坏方块。 |
mob_spawning |
true |
决定自然敌对生物生成,包括幻翼(按领地阻止,而非服务器全局)。 |
animal_spawning |
true |
管理整个区块中自然被动动物和生物的生成序列。 |
item_pickup |
true |
阻止或允许未受信任的玩家拾取掉落的物品。 |
vehicle_use |
false |
切换交互式运输坐骑,如船、矿车和马匹。 |
vehicle_destroy |
false |
阻止未受信任的物品破坏船只或矿车等运输基础设施。 |
portal_use |
false |
限制领地区域内的维度旅行方块路径(下界/末地)。 |
piston_protection |
false |
阻止领地外的活塞将方块推入、拉出(粘性活塞)或在内部破坏方块。 |
fluid_protection |
false |
阻止来自岩浆和水源等液体的跨边界外部流动序列。 |
command_use |
true |
当为 false 时,未受信任的玩家无法在领地内运行 restricted_commands 中列出的命令。 |
use_crafting_table |
true |
允许非受信任玩家使用合成台。 |
use_anvil |
true |
允许非受信任玩家使用铁砧。 |
use_enchanting_table |
true |
允许非受信任玩家使用附魔台。 |
use_bed |
false |
允许非受信任玩家在床里睡觉。 |
use_ender_chest |
true |
允许非受信任玩家打开末影箱。 |
use_wandering_trader |
true |
允许与流浪商人交易(并允许其在领地内生成)。 |
shop_access |
true |
允许非受信任玩家在 ShopShelves 和 TradeShelves 货架上进行购买、出售和交易。 |
edit_signs |
false |
允许非受信任玩家编辑告示牌。 |
allow_flight |
false |
进入时立即授予飞行配置,退出时撤销。 |
passthrough |
true |
当为 false 时,飞行的玩家不能飞过领地边界。 |
protect_crops |
true |
阻止耕地被踩回泥土,并阻止掠夺者破坏作物。 |
sethome |
false |
防止未受信任的访客在你的领土内绑定传送键。 |
show_border |
true |
进入时向所有者显示领地边界。 |
notify_animal_deaths / _kills |
true |
当领地内有动物死亡或被玩家杀死时,通知领地成员。 |
notify_villager_deaths / _kills |
true |
当领地内有村民死亡或被玩家杀死时,通知领地成员。 |
始终开启的宠物保护:领地内的驯服宠物(狗、猫、鹦鹉、马等)只能由其主人伤害。无需任何标志。
世界锁定标志:管理员可以按世界锁定任何标志(/claim flaginfo <dimension>)。锁定的标志始终使用世界值——领地所有者无法更改它,/claim flaginfo 和配套菜单将其显示为已锁定。
🛒 商店模组集成
- ShopShelves & TradeShelves:ShopShelves 的商店货架(金钱)和 TradeShelves 的交易货架(物品交易)处理方式相同。访问者可以在
shop_access 开启的任何领地中使用它们,而无需获得建造或容器访问权限。安装任一模组即可自动工作。
- EcoBal:支持
/claim buy 命令,使玩家可以将金钱转换为领地方块。
🗺️ Web Map 集成 (BlueMap)
安装 BlueMap 后,每个领地都会自动显示在您的网页地图上:
- 轮廓与填充区域:玩家领地为橙色,管理员领地为紫色(两种颜色均可配置)。
- 点击查看详情:领地名称、所有者、大小、角坐标以及受信任玩家的数量。
- 可切换图层:领地存在于独立的“Claims”标记图层中,访问者可以开启或关闭该图层。
- 轻量级:标记按固定间隔刷新(默认 30 秒),且仅在领地实际发生变化时才刷新。
- 可配置:在
config.yml 的 web_map 部分进行配置:启用/禁用、图层名称、标记高度(设置为您的岛屿/地面层级)、颜色、填充不透明度,以及是否显示管理员领地。
未安装 BlueMap 时,ClaimMod 的运行方式完全相同——集成功能只是保持关闭状态。
👁️ 边界可视化矩阵
原版客户端?辅助客户端?没问题。ClaimMod 为所有用户安全处理可视化向量:
- 假数据包(兼容原版):右键使用物品,通过
ClientboundBlockUpdatePacket 数组将区域边界网格平滑地展示出来。表面会在本地自动映射,而无需移动物理世界文件。
- 自适应动态调色板:边缘颜色配置会根据玩家的空间上下文清晰变化:
- 所有者 / 共同所有者:鲜艳的金色块搭配 glowstone(荧石)角。
- 受信任玩家 / 标志权限:深青金石块(lapis lazuli blocks)由海晶灯(sea lanterns)照亮。
- 陌生人 / 旅行者:实心的铁块搭配红蘑菇灯(shroomlight)指示器。
- 辅助模组自动同步:服务器使安装了 ClaimModCompanion 的客户端能够获取附近领地的信息、您的领地方块余额和收入,以及您的领地列表,从而使辅助模组能够即时绘制边界并显示其菜单。
🛑 强化的漏洞防护
- 活塞红石屏蔽:启用
piston_protection 时,您领地外的活塞无法将方块推入、用粘性活塞拉出方块,也无法破坏内部的方块——飞行机器和用于破坏边界的装置都会在边界处止步。
- 发射器屏蔽:领地外的发射器无法向其内发射物品——无论是熔岩、水、火焰弹还是放置的方块——除非发射器位于同一所有者的另一个领地中,或者目标领地允许访客放置方块。
- 流体位移 containment:防止 griefers(破坏者)在您领地外倾倒巨大的熔岩塔或瀑布来淹没您的建筑。
- 生物破坏控制:可以阻止末影人和凋灵在领地内移动或破坏方块,并且在启用了
protect_crops 的领地中,掠夺者无法破坏作物。
- 受限命令:列在
restricted_commands 中的命令(按世界或全局)对于在 command_use 关闭的领地内的不受信任玩家是禁止使用的。
- 反踢出传送漏洞:当管理员或领地所有者使用
/claim kick 踢出入侵者时,系统会安全记录该玩家的最后位置。这可以防止他们立即利用像 /back 或 /dback 这样的命令路径返回到他们的目标地点。
⚙️ 配置文件中心
所有参数都清晰地存储在 config/claimmod/ 中。运行 /claim reload 即可即时将格式调整推送到内存中:
| 目标路径 |
功能内容 |
config.yml |
默认标志、领地大小和数量限制、领地方块收入和等级费率、购买领地方块、领地过期时间、工具物品、BlueMap 网页地图设置及结构设置。 |
message_formatting.yml |
布局包含所有系统字符串,完整支持 & 传统颜色转换参数。 |
worlds/ |
目的地,持有细粒度的按世界配置锁和命令执行黑名单。 |
命令
| 命令 |
操作定义 |
基础权限节点 |
/claim |
渲染主菜单界面目录。 |
所有玩家可用 |
/claim list [player] |
列出拥有的地块。管理员可以查看其他玩家的资料。 |
claimmod.claim.list |
/claim info |
评估结构属性、边界尺寸、当前信任状态和过期时间。 |
claimmod.claim.info |
/claim nearby |
在追踪限制内高亮显示周围的边界。 |
claimmod.claim.nearby |
/claim rename <name> |
更新区域的显示标签变量。 |
claimmod.claim.rename |
/claim trust <player> [tier] |
在此领地中信任一名玩家,或在非自己领地时用于信任所有你的领地中的玩家。 |
claimmod.trust.full |
/claim untrust <player> |
从此领地中移除一名玩家,或在非自己领地时用于从所有你的领地中移除玩家。 |
claimmod.trust.untrust |
/claim trustlist |
遍历追踪节点以展示活动的领地访问规则。 |
claimmod.trust.list |
/claim flag [flag] [val] |
直接在领地象限内切换旗帜状态。 |
claimmod.flag.<flag> |
/claim flaginfo [dim] |
提取全局世界旗帜指标或本地领地旗帜详情。 |
claimmod.flag.view |
/claim owner <player> |
开始两步所有权转移处理。 |
claimmod.claim.owner |
/claim abandon [id/name] |
将领土土地属性归还自然。 |
claimmod.claim.abandon |
/claim abandonall |
触发双重确认逻辑以删除所有个人领地。 |
claimmod.claim.abandon |
/claim balance [player] |
显示总拥有、已使用和可用的领地区块数。 |
claimmod.claim.balance |
/claim buy [amount] |
使用 EcoBal 货币购买领地区块;如果不指定数量则显示价格。 |
claimmod.claim.buy |
/claim kick <player> |
将不需要的实体安全地驱逐出你的领地边界。 |
claimmod.claim.kick |
/claim manage mute <id> <kills|deaths> <true|false> |
仅为你自己静音或取消静音领地的击杀/死亡通知(由配套菜单使用)。 |
任何领地成员 |
/claim bypass |
切换管理员覆盖配置。 |
claimmod.admin.bypass |
/claim priority <n> |
修改重叠管理区域的覆盖优先级阈值。 |
claimmod.admin.setpriority |
/claim force <p> [r] |
强制在玩家坐标周围构建保护方块。 |
claimmod.admin.forceclaim |
/claim tp <target> |
传送管理员到领地,落在其中心附近的土地上(岛屿顶部、海岸或山顶——绝不会掉入虚空或卡在方块内)。 |
claimmod.admin.teleport |
/claim blocks give/take |
行政上向玩家余额池授予或扣除经济区块。 |
claimmod.admin.blocks.give / take |
/claim blocks reset |
将追踪记录重置回初始配置基线。 |
claimmod.admin.blocks.reset |
/claim give <player> [type] [amount] |
给予一个领地工具或管理员领地工具物品。 |
claimmod.admin.givetool |
/claim reload |
直接从磁盘加载结构数据更新到内存中。 |
claimmod.admin.reload |
权限
点击展开所有权限节点
🌐 伞形节点
| 节点 |
功能权限 |
claimmod.claims |
授予所有 claimmod.claim.* 节点。 |
claimmod.trusts |
授予所有 claimmod.trust.* 节点。 |
claimmod.flags |
授予所有 claimmod.flag.* 节点。 |
claimmod.admins |
主管理伞形节点;授予所有 claimmod.admin.* 节点。 |
👤 领地修改器
| 节点 |
功能权限 |
claimmod.claim.create |
允许通过标准工具创建领土分配。 |
claimmod.claim.resize |
授予调整领土边界的缩放权限。 |
claimmod.claim.info |
授予查询空间领地属性的授权。 |
claimmod.claim.list |
授予查看活动拥有财产的许可。 |
claimmod.claim.nearby |
允许检查周围领地的可视化情况。 |
claimmod.claim.rename |
授予修改领地名称的访问权限。 |
claimmod.claim.abandon |
允许放弃领地和领土。 |
claimmod.claim.owner |
授予转让领地所有权的权限。 |
claimmod.claim.balance |
允许检查自己的领地区块余额。 |
claimmod.claim.buy |
允许使用 EcoBal 货币购买领地区块。 |
claimmod.claim.kick |
允许对入侵者使用 /claim kick。 |
claimmod.dback |
允许进入你死亡的领地(默认:false)。 |
💰 收益与过期
| 节点 |
功能权限 |
claimmod.accrual.<amount> |
在线时每小时赚取 <amount> 个领地区块,而不是基础速率(金额列在 accrual.rank_rates 中)。 |
claimmod.expiry.exempt |
领地永不过期。默认值:true;将其设置为 false 可使该组的领地过期。 |
🤝 信任管理
| 节点 |
功能权限 |
claimmod.trust.coowner |
允许将玩家提升为共同所有者矩阵层级。 |
claimmod.trust.full |
授予以标准建筑层级权利信任玩家的权限。 |
claimmod.trust.flags |
授予分配旗帜操作员信任层级的权限。 |
claimmod.trust.containers |
允许信任拥有容器访问权限的玩家。 |
claimmod.trust.traveler |
允许授予旅行者门导航权限。 |
claimmod.trust.untrust |
允许从你的财产中解除对玩家的信任。 |
claimmod.trust.list |
允许查看财产上的访问列表。 |
🏳️ 旗帜
| 节点 |
功能权限 |
claimmod.flag.view |
允许查看你自己的领地旗帜。 |
claimmod.flag.<flag> |
允许切换该特定旗帜(每个旗帜一个节点,例如 claimmod.flag.enderman_griefing)。 |
🛠️ 管理员操作
| 节点 |
功能权限 |
claimmod.admin.bypass |
立即绕过结构土地块锁定。 |
claimmod.admin.delete |
允许通过 UUID 删除任何领地。 |
claimmod.admin.inspect |
允许在世界中的任何位置检查属性。 |
claimmod.admin.flag |
允许修改其他玩家拥有的属性。 |
claimmod.admin.teleport |
允许管理传送追踪密钥。 |
claimmod.admin.reload |
允许从终端命令重新加载系统属性。 |
claimmod.admin.blocks.give |
以管理员身份增加目标的领地地块总数。 |
claimmod.admin.blocks.take |
以管理员身份减少目标的领地地块总数。 |
claimmod.admin.blocks.reset |
重置服务器环境中所有玩家的余额池。 |
claimmod.admin.balance |
具有调查其他余额的宽泛权限节点。 |
claimmod.admin.list |
授予列出其他玩家土地属性的权限。 |
claimmod.admin.worldflags |
允许编辑默认的全局世界覆盖设置。 |
claimmod.admin.setpriority |
更新管理员领地的叠加层排序权重变量。 |
claimmod.admin.forceclaim |
授予使用管理员强制领地系统的权限。 |
claimmod.admin.adminclaim |
授予建造服务器管理员区域的访问权限。 |
claimmod.admin.givetool |
允许使用 /claim give 命令给予领地工具物品。 |
整合包政策
- ✅ 您可以将 ClaimMod 包含在任何整合包中。
- ❌ 该整合包不得出售。
ClaimMod — Advanced Land Claiming & Grief Prevention
This image is from ClaimModCompanion.

ClaimMod is a server-side Fabric mod designed to give players and server administrators total control over land protection and grief prevention. Operating entirely server-side, it functions seamlessly for plain vanilla clients while offering a lightweight companion packet API that unlocks advanced, automatic client-side boundary rendering for players running compatible companion client configurations.
Featuring a modular, highly performant spatial indexing engine, tick-accurate accrual math, independent trust matrices, expansive per-world permission overrides and optional BlueMap web map integration, ClaimMod is built to handle heavy server environments with zero configuration reboots required.
No required dependencies besides Fabric API. LuckPerms, EcoBal, BasicsMod, ShopShelves, TradeShelves and BlueMap are all optional — each integration switches on by itself when that mod is installed.
📧 Contact & Support
💬 Primary Support (Preferred)
All general questions, feature requests, and non-urgent bug reports should be posted in the appropriate channels on our Discord Server. We actively monitor it and will respond as soon as possible so the whole community benefits.
🆘 Urgent PM Policy
You may PM me directly only under specific urgent circumstances:
- Allowed reason: Your server is crashing or experiencing critical, game-breaking errors directly related to this mod.
- Requirement: You must be the server owner.
- Time zone: (CET/CEST) — Brussels Time
- PM hours: 10:00 AM – 10:00 PM Brussels Time only
Immediate responses are not guaranteed. Private messaging is a professional courtesy, not an entitlement. Thank you for your understanding!
🛠️ Performance Architecture
Unlike old protection mods that loop over massive arrays or suffer from tick-drift, ClaimMod is built from the ground up for modern server performance:
- O(1) Spatial Indexing: Claims are indexed cleanly using a chunk-hashed spatial grid (
worldKey → chunkKey → Set<Claim>). Border checks and interaction lookups run instantly regardless of how many thousands of claims exist on your world.
- Real-Time Accrual Processing: Claim block income is measured in real wall-clock time instead of server ticks, so players earn at a perfectly stable rate even when TPS drops under heavy load.
💰 Claim Block Economy
- Per-Player Online-Time Income: Every player earns claim blocks for each full hour of their own online time. Progress is saved per player and carries over between sessions and restarts, so nobody gets a full payout for logging in a minute before the hour.
- Rank Income Rates: Give ranks a higher hourly income with
claimmod.accrual.<amount> (e.g. claimmod.accrual.100). The highest rate a player has wins; everyone else earns the base accrual.blocks_per_hour.
- Buy Claim Blocks with Money: With EcoBal installed, players can buy claim blocks using
/claim buy <amount>. The price per block and the maximum per purchase are set in config.yml.
- Clear Balance Overview:
/claim balance shows your total claim blocks, how many are used by your claims, and how many are still available.
- Claim Limits: Optionally cap how many claims a player may own (
max_claims_per_player) and their total claimed area (max_claim_blocks_per_player).
⏳ Inactive Claim Expiry
- Claims of players who have been offline for a configurable number of days (default 60) can be deleted automatically.
- Nobody's claims expire by default.
claimmod.expiry.exempt is true for everyone; set it to false on a LuckPerms group to make expiry apply to that group only.
- Admin claims never expire, and
/claim info shows when the owner was last seen and how many days a claim has left.
🔑 Independent Trust Tiers
ClaimMod rejects standard cumulative trust hierarchies. Granting a tier does NOT inherently grant the permissions of any tier beneath it, allowing for fine-grained player delegation:
| Tier |
Role Capabilities |
| OWNER |
Full building/breaking access, container rights, flag management, claim deletion, and ownership transfers. |
| CO_OWNER |
Identical rights to the Owner, except cannot force-delete the claim or transfer primary ownership away. |
| TRUSTED |
Full building and block breaking access, along with all standard block/container interactions. |
| FLAGS |
Purely grants visibility and toggles for claim flags; cannot build, break, or look inside containers. |
| CONTAINER |
Restricts usage strictly to inventories (chests, furnaces, etc.). |
| TRAVELER |
Purely restricted to mechanical navigation pathways (standard doors, trapdoors, and fence gates). |
Trust everywhere at once: run /claim trust or /claim untrust inside your own claim to change just that claim, or anywhere else to apply it to all of your claims in one go.
Personal notification mutes: every claim member (owner or any trust tier) can mute the kill and/or death notifications of a single claim just for themselves — the claim's notification flags stay on for everyone else. Done with one click in ClaimModCompanion (≡ My Claims and ★ Trusted Claims), or with /claim manage mute <claimId> <kills|deaths> <true|false>.
🏳️ Expansive Flag Controls
Customize rules globally, per-world, or dynamically inside individual player/admin zones using our specialized flag register:
| Flag Name |
Default |
What it governs |
block_break |
false |
Allows non-trusted players to mine blocks inside the claim boundaries. |
block_place |
false |
Allows non-trusted players to place blocks inside the claim boundaries. |
block_interact |
false |
Master switch: allows non-trusted players to use all ordinary blocks (doors, buttons, levers, note blocks…), overriding the interaction flags. |
container_access |
false |
Allows non-trusted players to open chests, furnaces, and standard containers. |
traveler_interaction_player / _admin |
false / true |
Doors, trapdoors, fence gates, buttons, levers and pressure plates in player / admin claims. |
miscellaneous_interaction_player / _admin |
false / true |
Item frames, paintings, leads, armor stands, lecterns, jukeboxes and more in player / admin claims. |
pvp |
false |
Dictates combat outcomes between completely non-trusted actors inside the boundaries. |
friendly_fire |
true |
Governs whether explicitly trusted players can attack each other inside the zone. |
animal_killing |
false |
Controls whether non-trusted entities can slaughter passive livestock animals. |
mob_killing |
true |
Allows players to clean up unwanted hostile or neutral living monsters. |
protect_nametagged |
true |
Overrides generic slaughter permissions to protect custom name-tagged entities. |
tnt_explosion |
false |
Protects terrain blocks from being broken by active TNT explosions. |
creeper_explosion |
true |
Toggles environmental structural breakdown from Creeper explosions. |
other_explosion |
true |
Restricts block impact from alternative explosion forces like beds or anchors. |
explosion_player_damage |
true |
Controls whether explosion shockwaves inflict health damage on players. |
fire_spread |
true |
Allows natural fire blocks to tick and find new flammable surfaces. When false, fire in the claim goes out and lightning can't start fires there. |
fire_damage |
true |
Dictates whether burning blocks are completely consumed and destroyed by fire. |
permanent_fire |
false |
Fire in the claim never spreads, never goes out (not even in rain) and never burns the block it sits on — perfect for decorative fireplaces on any block. Overrides fire_spread. |
enderman_griefing |
false |
Allows endermen to pick up and place blocks inside the claim. |
wither_griefing |
false |
Allows withers to break blocks inside the claim. |
mob_spawning |
true |
Dictates natural hostile mob spawning, including Phantoms (blocked per claim, never server-wide). |
animal_spawning |
true |
Governs natural passive fauna and animal generation sequences across the chunks. |
item_pickup |
true |
Blocks or allows untrusted players picking up dropped items. |
vehicle_use |
false |
Toggles interactive transport mounts like boats, minecarts, and horses. |
vehicle_destroy |
false |
Stops untrusted item breakage of transport infrastructure like boats or minecarts. |
portal_use |
false |
Limits dimension travel block pathways (nether/end) inside the claim zone. |
piston_protection |
false |
Stops pistons outside the claim from pushing blocks in, pulling blocks out (sticky pistons) or breaking blocks inside. |
fluid_protection |
false |
Halts cross-border external flow sequences from liquids like lava and water sources. |
command_use |
true |
When false, untrusted players can't run the commands listed in restricted_commands inside the claim. |
use_crafting_table |
true |
Allows non-trusted players to use crafting tables. |
use_anvil |
true |
Allows non-trusted players to use anvils. |
use_enchanting_table |
true |
Allows non-trusted players to use enchanting tables. |
use_bed |
false |
Allows non-trusted players to sleep in beds. |
use_ender_chest |
true |
Allows non-trusted players to open ender chests. |
use_wandering_trader |
true |
Allows trading with the Wandering Trader (and lets it spawn in the claim). |
shop_access |
true |
Allows non-trusted players to buy, sell and trade at ShopShelves and TradeShelves shelves. |
edit_signs |
false |
Allows non-trusted players to edit signs. |
allow_flight |
false |
Instantly grants flight configurations on entry and revokes them on exit. |
passthrough |
true |
When false, flying players can't fly out over the claim border. |
protect_crops |
true |
Stops farmland from being trampled back into dirt, and stops ravagers from breaking crops. |
sethome |
false |
Prevents untrusted visitors from binding teleport keys inside your territory. |
show_border |
true |
Shows the claim border to the owner on entry. |
notify_animal_deaths / _kills |
true |
Notifies claim members when an animal dies, or is killed by a player, in the claim. |
notify_villager_deaths / _kills |
true |
Notifies claim members when a villager dies, or is killed by a player, in the claim. |
Always-on pet protection: tamed pets (dogs, cats, parrots, horses and more) inside claims can only be hurt by their own owner. No flag needed.
World-locked flags: admins can lock any flag per world (/claim flaginfo <dimension>). A locked flag always uses the world value — claim owners can't change it, and /claim flaginfo and the companion menu show it as locked.
🛒 Shop Mod Integration
- ShopShelves & TradeShelves: Shop shelves from ShopShelves (money) and trade shelves from TradeShelves (item trading) are handled identically. Visitors can use them in any claim where
shop_access is on, without getting build or container access. Works automatically when either mod is installed.
- EcoBal: Powers
/claim buy so players can turn money into claim blocks.
🗺️ Web Map Integration (BlueMap)
With BlueMap installed, every claim appears on your web map automatically:
- Outlined & filled areas: player claims in orange, admin claims in purple (both colours configurable).
- Click for details: claim name, owner, size, corner coordinates and number of trusted players.
- Toggleable layer: claims live in their own "Claims" marker layer that visitors can switch on and off.
- Lightweight: markers refresh on an interval (default 30 s) and only when a claim actually changed.
- Configurable in the
web_map section of config.yml: enable/disable, layer name, marker height (set it to your island/ground level), colours, fill opacity, and whether admin claims are shown.
Without BlueMap, ClaimMod runs exactly the same — the integration simply stays off.
👁️ Border Visualization Matrix
Vanilla client? Companion client? No problem. ClaimMod securely processes visualization vectors for everyone:
- Fake Block Packets (Vanilla-Friendly): Right-clicking with items shifts regional border grids smoothly into view via
ClientboundBlockUpdatePacket arrays. Surfaces are automatically mapped locally without shifting physical world files.
- Adaptive Dynamic Palette: Edge color configurations morph cleanly relative to a player's spatial context:
- Owner / Co-Owner: Vibrant Gold Blocks accented by Glowstone corners.
- Trusted / Flag Access: Deep Lapis Lazuli Blocks illuminated by Sea Lanterns.
- Stranger / Traveler: Solid Iron Blocks finished with Shroomlight indicators.
- Companion Mod Auto-Sync: The server keeps ClaimModCompanion clients up to date with nearby claims, your claim block balance and income, and your list of claims, so the companion can draw borders and show its menus instantly.
🛑 Hardened Exploit Protections
- Piston Redstone Shielding: When
piston_protection is enabled, pistons outside your claim can't push blocks in, pull blocks out with sticky pistons, or break blocks inside it — flying machines and border-griefing contraptions stop at the line.
- Dispenser Shielding: Dispensers outside a claim can't dispense into it — no lava, water, fire charges or placed blocks — unless they stand in another claim of the same owner or the target claim allows visitors to place blocks.
- Fluid Displacement Containment: Prevents griefers from pouring massive lava towers or water cascades outside your claims to flood your builds.
- Mob Griefing Control: Endermen and withers can be stopped from moving or destroying blocks inside claims, and ravagers can't break crops in claims with
protect_crops.
- Restricted Commands: Commands listed in
restricted_commands (per world or global) are blocked for untrusted players inside claims with command_use off.
- Anti-Kick Teleport Exploits: When an administrator or claim owner kicks a trespasser with
/claim kick, the player's last position is securely logged. This prevents them from instantly utilizing command pathways like /back or /dback to return to their target.
⚙️ Configuration File Hub
All parameters reside cleanly within config/claimmod/. Run /claim reload to push formatting adjustments into live memory instantly:
| Target Path |
Functional Content |
config.yml |
Default flags, claim size and count limits, claim block income and rank rates, buying claim blocks, claim expiry, tool items, BlueMap web map settings and structural settings. |
message_formatting.yml |
Localization layout holding every system string with full support for & legacy color translation parameters. |
worlds/ |
Destination holding fine-grained per-world configuration locks and command execution blacklists. |
Commands
| Command |
Operational Definition |
Base Permission Node |
/claim |
Renders the primary menu interface directory. |
Available to all |
/claim list [player] |
Lists owned properties. Admins can view other player profiles. |
claimmod.claim.list |
/claim info |
Evaluates structural properties, bounding dimensions, current trust and expiry. |
claimmod.claim.info |
/claim nearby |
Highlights surrounding boundaries within tracking limits. |
claimmod.claim.nearby |
/claim rename <name> |
Updates display tag variables for the zone. |
claimmod.claim.rename |
/claim trust <player> [tier] |
Trusts a player in this claim, or in all your claims when used outside your own claim. |
claimmod.trust.full |
/claim untrust <player> |
Removes a player from this claim, or from all your claims when used outside your own claim. |
claimmod.trust.untrust |
/claim trustlist |
Loops through tracking nodes to present active claim access rules. |
claimmod.trust.list |
/claim flag [flag] [val] |
Toggles flag states directly inside the property quadrant. |
claimmod.flag.<flag> |
/claim flaginfo [dim] |
Pulls up global world flag metrics or local claim flag details. |
claimmod.flag.view |
/claim owner <player> |
Begins two-step ownership transfer processing. |
claimmod.claim.owner |
/claim abandon [id/name] |
Relinquishes territory land properties back to nature. |
claimmod.claim.abandon |
/claim abandonall |
Triggers double-confirmation logic to erase all personal claims. |
claimmod.claim.abandon |
/claim balance [player] |
Shows total, used and available claim blocks. |
claimmod.claim.balance |
/claim buy [amount] |
Buys claim blocks with EcoBal money; without an amount it shows the price. |
claimmod.claim.buy |
/claim kick <player> |
Expels an unwanted entity safely out of your territory boundaries. |
claimmod.claim.kick |
/claim manage mute <id> <kills|deaths> <true|false> |
Mutes or unmutes a claim's kill / death notifications for yourself only (used by the companion menu). |
Any claim member |
/claim bypass |
Toggles admin bypass override configurations. |
claimmod.admin.bypass |
/claim priority <n> |
Modifies overwrite priority thresholds on overlapping admin zones. |
claimmod.admin.setpriority |
/claim force <p> [r] |
Forcefully builds a protection square around a player coordinate. |
claimmod.admin.forceclaim |
/claim tp <target> |
Teleports an admin to a claim, landing on safe ground near its centre (island top, shore or mountain — never in the void or inside blocks). |
claimmod.admin.teleport |
/claim blocks give/take |
Administratively grants or subtracts economy blocks from player balance pools. |
claimmod.admin.blocks.give / take |
/claim blocks reset |
Resets tracking records back to starting config baselines. |
claimmod.admin.blocks.reset |
/claim give <player> [type] [amount] |
Gives a claim tool or admin claim tool item. |
claimmod.admin.givetool |
/claim reload |
Pulls structural data updates from disk directly into memory. |
claimmod.admin.reload |
Permissions
Click to expand all permission nodes
🌐 Umbrella Nodes
| Node |
Functional Clearance |
claimmod.claims |
Grants every claimmod.claim.* node. |
claimmod.trusts |
Grants every claimmod.trust.* node. |
claimmod.flags |
Grants every claimmod.flag.* node. |
claimmod.admins |
Master administrative umbrella; grants every claimmod.admin.* node. |
👤 Claim Modifiers
| Node |
Functional Clearance |
claimmod.claim.create |
Allows territory allocation creation via standard tools. |
claimmod.claim.resize |
Grants resizing access to adjust territory borders. |
claimmod.claim.info |
Grants authorization to query spatial claim properties. |
claimmod.claim.list |
Grants clearance to view active owned properties. |
claimmod.claim.nearby |
Allows visualization checks on surrounding claims. |
claimmod.claim.rename |
Grants access to modify claim names. |
claimmod.claim.abandon |
Permits abandoning claims and territory. |
claimmod.claim.owner |
Grants permission to transfer claim ownership. |
claimmod.claim.balance |
Allows checking your own claim block balance. |
claimmod.claim.buy |
Allows buying claim blocks with EcoBal money. |
claimmod.claim.kick |
Permits using /claim kick on trespassers. |
claimmod.dback |
Allows /dback into a claim you died in (default: false). |
💰 Income & Expiry
| Node |
Functional Clearance |
claimmod.accrual.<amount> |
Earn <amount> claim blocks per hour online instead of the base rate (amounts listed in accrual.rank_rates). |
claimmod.expiry.exempt |
Claims never expire. Default: true; set to false on a group to make its claims expire. |
🤝 Trust Management
| Node |
Functional Clearance |
claimmod.trust.coowner |
Allows promoting players to the Co-Owner matrix tier. |
claimmod.trust.full |
Grants authority to trust players with standard build tier rights. |
claimmod.trust.flags |
Grants permission to assign flag operator trust tiers. |
claimmod.trust.containers |
Allows trusting players with container access. |
claimmod.trust.traveler |
Allows granting traveler door navigation rights. |
claimmod.trust.untrust |
Permits untrusting players from your properties. |
claimmod.trust.list |
Allows viewing access lists on properties. |
🏳️ Flags
| Node |
Functional Clearance |
claimmod.flag.view |
Allows viewing your own claim's flags. |
claimmod.flag.<flag> |
Allows toggling that specific flag (one node per flag, e.g. claimmod.flag.enderman_griefing). |
🛠️ Administrative Operations
| Node |
Functional Clearance |
claimmod.admin.bypass |
Instantly bypasses structural land block locks. |
claimmod.admin.delete |
Permits administrative deletion of any claim by UUID. |
claimmod.admin.inspect |
Allows inspecting properties anywhere across worlds. |
claimmod.admin.flag |
Allows modifying properties owned by other players. |
claimmod.admin.teleport |
Permits administrative teleportation tracking keys. |
claimmod.admin.reload |
Allows reloading system properties from terminal commands. |
claimmod.admin.blocks.give |
Administratively increases a target's claim block totals. |
claimmod.admin.blocks.take |
Administratively reduces a target's claim block totals. |
claimmod.admin.blocks.reset |
Resets player balance pools across the server environment. |
claimmod.admin.balance |
Permissive clearance node to investigate other balances. |
claimmod.admin.list |
Grants clearance to list other players' land properties. |
claimmod.admin.worldflags |
Allows editing default global world overrides. |
claimmod.admin.setpriority |
Updates overlay sorting weight variables on admin claims. |
claimmod.admin.forceclaim |
Grants clearance to use administrative force claim systems. |
claimmod.admin.adminclaim |
Grants access to build Server Admin zones. |
claimmod.admin.givetool |
Allows giving claim tool items with /claim give. |
Modpack Policy
- ✅ You may include ClaimMod in any modpack.
- ❌ The modpack must not be sold.
评论 0
登录后参与评分
还没有评论,来抢沙发吧