Codeberg | Github (mirror) | Modrinth
CClaims: 一个用于 Fabric 的容器区块保护模组
CClaims 是一个 Fabric 服务端模组,用于保护和声明容器方块(例如箱子、 barrel 和漏斗)。
本模组提供 /cclaim 命令来管理这些区块。权限可以通过 LuckPerms 或任何实现 fabric-permissions-api 的其他模组进行管理。
功能
- 支持的容器方块:箱子、铜箱、木桶、架子、雕纹书架、熔炉、高炉、烟熏炉、酿造台、发射器、漏斗、投掷器、制造机和信标
- 阻止其他玩家使用或被破坏已声明的方块(管理员模式下的玩家除外)
- 防止被爆炸、无头活塞(即基岩破坏法)或末影龙破坏
- 玩家可以将其他玩家添加为信任对象以管理其区块。
- 区块可以信任已注册的组,这些组可以由玩家动态管理
注意: 已声明的漏斗/投掷器/制造机会将物品推入未声明的容器中。因此,如果你想防止物品被盗,应避免让已声明的漏斗面向未声明的方块(包括无法声明的正常非容器方块)。 此外,如果面对的容器已满(原版行为)或被其他玩家声明,制造机会掉落制作好的物品。
命令
/cclaim或/cclaim claim: 声明玩家所面对的容器/cclaim unclaim: 取消声明玩家所面对的容器/cclaim trust <player>: 信任某玩家使用该容器。受信任的玩家只能使用该容器,但不能破坏该方块或管理该区块。/cclaim untrust <player>: 从已声明的容器中移除对某玩家的信任/cclaim trust group <group>: 信任某组使用该容器。/cclaim untrust group <group>: 从使用该容器的组中移除信任。/cclaim info: 显示玩家所面对容器的当前区块状态/cclaim adminmode: 切换玩家是否处于管理员模式。模组将处于管理员模式的玩家视为拥有所有区块。/cclaim list [<dimension>] [all]: 列出维度内所有容器区块的坐标(默认为主世界)。默认情况下,列表是分页显示的,但可以通过添加 "all" 作为参数来关闭分页。/cclaim group create <group>: 创建新组。组名仅限小写字母、数字和下划线,长度必须在 3 到 16 个字符之间。/cclaim group delete <group>: 删除一个组。/cclaim group join <group> <player>: 将玩家添加到组中。/cclaim group leave <group> <player>: 从组中移除成员。/cclaim group info <group>: 显示组的名称、所有者和成员。/cclaim group list [all]: 列出玩家所属的所有组。/cclaim group transfer <group> <player>: 更改组的所有者。
权限
cclaim.adminmode: 需要使用/cclaim adminmode。默认情况下,需要 OP 等级 3cclaim.list: 需要使用/cclaim list。默认情况下,需要 OP 等级 2cclaim.info.admin: 允许通过/cclaim info获取由其他玩家拥有的区块的所有数据,并额外显示区块创建的时间戳。默认情况下,需要 OP 等级 2cclaim.group.create: 允许玩家创建组。默认情况下,所有玩家都可以这样做。cclaim.group.admin: 允许在玩家不拥有的组上使用组命令。默认情况下,需要 OP 等级 3cclaim.group.transfer: 允许更改组的所有者。默认情况下,需要 OP 等级 3
存储
区块数据存储在方块实体的 NBT 数据中。
额外的元数据以 NBT 形式存储在 world/dimensions/minecraft/{overworld,the_nether,the_end}/data/cclaims/claims.dat 和 world/data/cclaims/groups.dat 中。
许可证
本项目仅在 GNU Lesser General Public License version 3 下授权。
Codeberg | Github (mirror) | Modrinth
CClaims: A container claim mod for fabric
Claims is a Fabric server-side mod to claim and protect container blocks (e.g. Chest, Barrels and Hoppers).
This mod provides the /cclaim command to work with the claims.
Permissions can be managed by LuckPerms or any other mod implementing the fabric-permissions-api.
Features
- Supported Container Blocks: Chests, Copper Chests, Barrels, Shelves, Chiseled Book Shelves, Furnaces, Blast Furnaces, Smokers, Brewing Stands, Dispensers, Hoppers, Droppers, Crafters and Beacons
- Prevents usage and destruction of claimed blocks by other players (except admin mode players)
- Prevents destruction by explosions, headless pistons (aka. the bedrock breaking method) or the Ender dragon
- Players can add ("trust") players to their claims.
- Claims can trust registered groups that can be managed dynamically by players
Note: Claimed Hoppers/Droppers/Crafters will push items into unclaimed containers. Therefore, you should avoid having claimed hoppers facing an unclaimed block (including normal non-container blocks that cannot be claimed) if you want to prevent stealing items from them. Additionally, Crafters will drop the crafted items if the faced container is full (vanilla behavior) or claimed by another player.
Commands
/cclaimor/cclaim claim: Claims the container the player is facing/cclaim unclaim: Unclaims the container the player is facing/cclaim trust <player>: Trusts a player to use the claimed container. Trusted players can only use the container, but neither destroy the block nor manage the claim./cclaim untrust <player>: Untrusts a player from a claimed container/cclaim trust group <group>: Trusts a group to use the claimed container./cclaim untrust group <group>: Untrusts a group to use the claimed container./cclaim info: Shows the current claim status of the container the player is facing/cclaim adminmode: Toggles if the player is in admin mode. The mod treats players in admin mode like they own every claim./cclaim list [<dimension>] [all]: Lists the coordinates of all container claims in a dimension (defaults to the overworld). By default, the list is paginated, but this can be turned off by adding "all" as an argument./cclaim group create <group>: Creates a new group. The group name is limited to lowercase letter, numbers and underscores and has to be between 3 and 16 characters long./cclaim group delete <group>: Deleted a group./cclaim group join <group> <player>: Adds a player to the group./cclaim group leave <group> <player>: Removes a member from the group./cclaim group info <group>: Shows the name, owner and members of the group./cclaim group list [all]: Lists all groups the player is a member of./cclaim group transfer <group> <player>: Changes the owner of a group.
Permissions
cclaim.adminmode: Required to use/cclaim adminmode. By default, it requires OP Level 3cclaim.list: Required to use/cclaim list. By default, it requires OP Level 2cclaim.info.admin: Allows to get all data using/cclaim infoon claims owned by other players and additionally shows the timestamp of claim creation. By default, it requires OP Level 2cclaim.group.create: Allows players to create groups. By default, all players can do this.cclaim.group.admin: Allows to use group commands on groups that the player does not own. By default, it requires OP Level 3cclaim.group.transfer: Allows to change the owner of a group. By default, it requires OP Level 3
Storage
The claim data is stored in the NBT data of the block entities.
Additional metadata is stored as NBT in world/dimensions/minecraft/{overworld,the_nether,the_end}/data/cclaims/claims.dat and world/data/cclaims/groups.dat.
License
This project is licensed under the GNU Lesser General Public License version 3 only.
下载 CClaims
下载 CClaims
下载 CClaims
下载 CClaims
下载 CClaims
下载 CClaims
下载 CClaims
下载 CClaims
下载 CClaims
下载 CClaims
- 更新至 26.3
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧