目标
Fabric TwinSession 模组允许玩家使用同一个账号多次连接到 Minecraft 服务器。
此功能对那些希望获得多会话优势的玩家特别有用,例如同时管理不同的游戏内任务,而无需购买额外的 Minecraft 账号。当玩家使用同一账号第二次连接服务器时,该模组会自动修改玩家的用户名,在用户名前添加一个数字前缀并加上下划线(例如:"1_PlayerName")。
每个额外的会话会使该数字递增(例如:"2_PlayerName"、"3_PlayerName" 等)。
使用方法
重要提示:你可以将此模组作为服务端模组或客户端模组安装。如果作为服务端模组安装,客户端不需要也安装此模组。
多人游戏服务器
当安装在服务器环境中时
- 首次会话:像往常一样使用你的 Minecraft 账号加入服务器。
- 第二次会话:打开另一个 Minecraft 客户端,并使用相同的账号加入同一个服务器。该模组将自动修改你的用户名(例如 "1_PlayerName")以允许连接。
- 额外会话:重复上述过程,使用更多客户端通过相同账号加入服务器。每个额外的会话将获得按顺序编号的用户名(例如 "2_PlayerName"、"3_PlayerName")。
单人游戏(局域网)
当安装在客户端环境中时
- 设置:启动你的 Minecraft 世界,并在暂停菜单中选择“对局域网开放”(Open to LAN)。
- 连接:按照与多人游戏相同的过程,使用多个客户端通过同一账号进行连接。
此模组非常适合希望有效 multitask 的玩家,例如管理游戏内的农场或自动化设施,而无需单独的 Minecraft 账号。
配置
配置文件位于 /config/twinsession.properties,包含以下设置:
| 属性 | 描述 | 类型 | 默认值 |
|---|---|---|---|
| maxPlayers | 每个客户端的最大重新加入次数。 | int | 8 |
| autoWhitelist | 如果启用了白名单,则自动将玩家加入白名单。 | boolean | true |
| autoOp | 如果原始客户端也是 OP(管理员),则自动授予新会话 OP 权限。 | boolean | true |
| spawnNearPlayer | 在玩家附近生成;如果为 false,新玩家将在世界出生点加入。 | boolean | true |
| spawnNearPlayerRadius | 如果启用了 spawnNearPlayer,这将设置玩家生成的最近距离半径。 | int | 10 |
| copyTexture | 复制原始玩家的纹理。 | boolean | true |
| prefixWithNumber | 在用户名前添加 $_ 前缀(强烈建议保持为 true) |
boolean | true |
报告问题
如果遇到任何错误或有任何改进建议,请在我们的 GitHub 仓库中创建 Issue。要创建 Issue:
- 进入此仓库的 Issues 标签页。
- 点击 “New Issue”。
- 选择 “Bug report” 或 “Feature request” 模板。
- 尽可能详细地填写模板内容。
- 提交 Issue。
Goal
The Fabric TwinSession mod enables players to connect to a Minecraft server multiple times using the same account.
This functionality is particularly useful for those who want the advantages of multiple sessions, such as managing different in-game tasks simultaneously, without needing to purchase additional Minecraft accounts. When a player connects to the server with the same account for the second time, the mod automatically modifies the player’s username by adding a numerical prefix followed by an underscore (e.g., "1_PlayerName").
Each additional session increments this number (e.g., "2_PlayerName", "3_PlayerName", etc.).
How to Use
Important note: You can either install this mod as server mod or as a client mod. When installed as a server mod, clients are not required to install this mod as well.
Multiplayer Servers
When installed on a server environment
- First Session: Join the server as usual with your Minecraft account.
- Second Session: Open another Minecraft client and join the same server with the same account. The mod will automatically modify your username (e.g., "1_PlayerName") to allow the connection.
- Additional Sessions: Repeat the process to join the server with more clients using the same account. Each additional session will receive a sequentially numbered username (e.g., "2_PlayerName", "3_PlayerName").
Singleplayer (LAN)
When installed on a client environment
- Set Up: Start your Minecraft world and select "Open to LAN" from the pause menu.
- Connecting: Follow the same process as in Multiplayer to connect with multiple clients using the same account.
This mod is ideal for players who wish to multitask effectively, such as managing in-game farms or automation, without the need for a separate Minecraft account.
Config
Configuration can be found under /config/twinsession.properties and contains the following settings:
| Property | Description | Type | Default value |
|---|---|---|---|
| maxPlayers | Max amount of re-joins per client. | int | 8 |
| autoWhitelist | Automatically whitelist if whitelist is enabled. | boolean | true |
| autoOp | Automatically op if original client is also op. | boolean | true |
| spawnNearPlayer | Spawn near the player, if false new players will join at world spawn. | boolean | true |
| spawnNearPlayerRadius | If spawnNearPlayer is enabled, this will set the radius on how close the player should spawn. | int | 10 |
| copyTexture | Copy the texture of the original player. | boolean | true |
| prefixWithNumber | Adds a $_ prefix to the username (Highly recommended to keep on true) |
boolean | true |
Reporting Issues
If you encounter any bugs or have suggestions for improvements, please create an issue on our GitHub repository. To create an issue:
- Go to the Issues tab of this repository.
- Click on "New Issue".
- Choose between "Bug report" or "Feature request" template.
- Fill out the template with as much detail as possible.
- Submit the issue.
下载 TwinSession
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 TwinSession
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 TwinSession
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 TwinSession
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 TwinSession
下载 TwinSession
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 TwinSession
下载 TwinSession
下载 TwinSession
下载 TwinSession
TwinSession 1.4.3 (MC 26.1 - 26.1.2)
更新内容:
- 已适配 Minecraft 26.1 及 Java 25
- 新增 JaCoCo 以提供测试覆盖率支持
- 更新了模组版本命名规范,使其包含兼容的版本信息
- 依赖项更新:
- Lombok 已从
8.6更新至9.5.0 - Loom 已从
1.14-SNAPSHOT更新至1.16-SNAPSHOT - 加载器版本已从
1.18.4更新至1.19.2
- Lombok 已从
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧