语言
EN/English | ZH-CN/简体中文
共享玩家数据
一个服务端 Fabric 模组,允许通过管理员管理的群组,让选定的玩家共享相同的持久化玩家数据。
命令概览
/playerbind list
/playerbind find <name>
/playerbind group add <name> [name] ...
/playerbind group <group> add <name> [name] ...
注意:
<group> 指一个已存在的群组编号
<name> [name] ... 指一个或多个玩家名称
命令
列出群组
列出所有现有群组及其成员。
/playerbind list
查找玩家
显示某玩家是否属于某个群组。
/playerbind find <name>
创建群组
创建一个新群组并添加一个或多个在线玩家。
/playerbind group add <name> [name] ...
示例:
/playerbind group add Steve Alex
被添加的玩家必须满足以下条件:
- 处于在线状态
- 尚未属于其他群组
- 在同一命令中不重复出现
列出群组成员
列出已有群组的所有成员。
/playerbind group <group> list
示例:
/playerbind group 2 list
添加玩家
将一个或多个在线玩家添加到已有群组。
/playerbind group <group> add <name> [name] ...
示例:
/playerbind group 2 add Steve Alex
被添加的玩家必须满足以下条件:
- 处于在线状态
- 尚未属于其他群组
- 在同一命令中不重复出现
移除玩家
从已有群组中移除一个或多个玩家。
/playerbind group <group> remove <name> [name] ...
示例:
/playerbind group 2 remove Steve Alex
仅能移除当前属于所选群组的玩家。
当玩家被移出群组时:
- 该玩家将停止与群组共享数据
- 该玩家的共享玩家数据将被重置
- 该玩家的权限(operator)状态将被移除
清除群组
删除一个已有群组。
/playerbind group <group> purge confirm
示例:
/playerbind group 2 purge confirm
清除群组仅解除绑定关系。
它不会重置前成员的玩家数据或权限状态。
共享玩家数据
同一群组内的玩家共享持久化的游戏数据,包括:
- 物品栏
- 位置
- 经验值
- 生命值
- 统计信息
- 进度(Advancements)
- 其他保存的玩家数据
Minecraft 账号和身份认证保持独立。
多人游戏行为
同一群组中,同一时间只能有一名普通玩家使用共享档案。
如果另一名成员尝试在共享档案已被使用时加入,他们将被断开连接,并显示 Minecraft 原版的多重登录提示消息。
群组外的玩家不受影响。
权限同步
已知成员之间的权限(operator)状态会在同一群组内同步。
如果一名成员被授予权限,其他已知成员也将同时获得权限。
如果权限被移除,其他已知成员的权限也会同步移除。
注意事项
- 所有
/playerbind 命令需要拥有所有者级别的服务器权限(4 级 OP)
- 玩家在加入群组时必须处于在线状态
- 一名玩家只能属于一个群组
- 同一命令中不能多次指定同一个玩家
- 移除玩家和清除群组的效果不同
- 清除群组不会重置前成员的数据
支持版本
- Minecraft 26.3
- Fabric Loader 0.19.5+
- Fabric API 0.160.5+
- Java 25
许可证
MIT
Languages
EN/English | ZH-CN/简体中文
Shared Player Data
A server-side Fabric mod that lets selected players share the same persistent player data through administrator-managed groups.
Command Overview
/playerbind list
/playerbind find <name>
/playerbind group add <name> [name] ...
/playerbind group <group> add <name> [name] ...
Notes:
<group> means an existing group number
<name> [name] ... means one or more player names
Commands
List Groups
Lists all existing groups and their members.
/playerbind list
Find Player
Shows whether a player belongs to a group.
/playerbind find <name>
Create Group
Creates a new group and adds one or more online players.
/playerbind group add <name> [name] ...
Example:
/playerbind group add Steve Alex
Players being added must:
- Be online
- Not already belong to another group
- Not appear more than once in the same command
List Group Members
Lists all members of an existing group.
/playerbind group <group> list
Example:
/playerbind group 2 list
Add Players
Adds one or more online players to an existing group.
/playerbind group <group> add <name> [name] ...
Example:
/playerbind group 2 add Steve Alex
Players being added must:
- Be online
- Not already belong to another group
- Not appear more than once in the same command
Remove Players
Removes one or more players from an existing group.
/playerbind group <group> remove <name> [name] ...
Example:
/playerbind group 2 remove Steve Alex
Only players currently belonging to the selected group can be removed.
When a player is removed from a group:
- The player stops sharing data with the group
- The player's shared player data is reset
- The player's operator status is removed
Purge Group
Deletes an existing group.
/playerbind group <group> purge confirm
Example:
/playerbind group 2 purge confirm
Purging a group only removes the binding relationship.
It does not reset the former members' player data or operator status.
Shared Player Data
Players in the same group share persistent gameplay data, including:
- Inventory
- Position
- Experience
- Health
- Statistics
- Advancements
- Other saved player data
Minecraft accounts and authentication identities remain separate.
Multiplayer Behavior
Only one normal player from the same group may use the shared profile at the same time.
If another member attempts to join while the shared profile is already in use, they are disconnected with Minecraft's vanilla duplicate-login message.
Players outside the group are unaffected.
Operator Synchronization
Operator status is synchronized between known members of the same group.
If one member is granted operator status, the other known members are also granted operator status.
If operator status is removed, it is also removed from the other known members.
Notes
- All
/playerbind commands require owner-level server permission (Level 4 OP)
- Players must be online when being added to a group
- A player can only belong to one group
- The same player cannot be specified more than once in the same command
- Removing a player and purging a group have different effects
- Purging a group does not reset former members' data
Supported Versions
- Minecraft 26.3
- Fabric Loader 0.19.5+
- Fabric API 0.160.5+
- Java 25
License
MIT
评论 0
登录后参与评分
还没有评论,来抢沙发吧