Modern Player Ladder
是否想过让玩家堆叠在一起?Modern Player Ladder 让你实现这一功能。双方玩家先选择加入,然后你空手右键点击另一位玩家即可。就是这么简单。
运行专用服务器?你只需在服务器上安装该模组。玩家无需安装即可加入游戏。
? 主要特性
- 默认需同意加入:除非双方玩家都启用了此功能,否则任何人都不会被抓起。
- 堆叠玩家:不断添加玩家来建造一座高塔。
- 骑乘或抱起:你可以选择是爬上被点击的玩家,还是将其放在你的头顶上。
- 设置持久化:你的开关状态会在重新连接和死亡后保留。
- 易于解除骑乘:潜行、关闭功能、切换游戏模式、登出以及死亡都会正常清理骑乘关系。
- 不影响正常游玩:你可以瞄准、攻击并穿过骑在你身上的玩家发射投射物。
- 可选的生物支持:允许其他实体参与互动,并提供可配置的排除列表。
- 原版
/ride 命令支持:服务器管理员可以使用原版的 /ride 命令将玩家作为载具。
- 对服务器端友好:加入专用服务器的玩家无需安装该模组。
? 同意与使用
Player Ladder 默认对所有玩家禁用。使用方法如下:
- 每位参与的玩家执行以下任一切换命令:
/ladder toggle
/playerladder toggle
- 确保你的主手为空。
- 右键点击另一位已加入的玩家。
- 继续添加朋友,直到达到配置的堆叠上限。
当你想要退出时,再次运行该命令即可。关闭功能会立即使你以及直接骑在你身上的玩家解除骑乘。
? 交互模式
服务器范围的 rightClickMode 配置决定了谁会被放在顶部。
| 模式 |
行为 |
RIDE |
你爬到你点击的玩家身上——或者爬到他们现有堆叠的顶部。这是默认选项。 |
PICK_UP |
你点击的玩家会被放置在你或你现有堆叠的顶部。 |
DO_NOTHING |
Player Ladder 忽略右键点击,将其留给原版处理。 |
? 解除骑乘与清理
- 骑乘者可以使用原版正常的解除骑乘控制。
- 站在地面上的承载者可以蹲下以放下第一个骑在他们身上的玩家。
- 关闭 Player Ladder 会让你和直接骑在你身上的玩家解除骑乘。
- 切换游戏模式会掉落你第一个直接骑乘的玩家。
- 登出或死亡会为所有人干净地清除骑乘关系。
⚙️ 配置
配置文件在首次启动时创建,路径为:
config/modern-player-ladder.json
编辑文件后请重启服务器。无效值将回退到相应的默认值。
| 选项 |
默认值 |
描述 |
rightClickMode |
"RIDE" |
决定谁位于顶部:RIDE、PICK_UP 或 DO_NOTHING。 |
pickUpLimit |
16 |
PICK_UP 模式可以在现有堆叠中搜索多远。必须至少为 1。 |
stepUpLimit |
16 |
RIDE 模式可以在现有堆叠中搜索多远。必须至少为 1。 |
allowLivingEntities |
false |
允许非玩家实体也参与互动。 |
allowPlayers |
true |
玩家堆叠的主开关。玩家仍需单独选择加入。 |
excludedLivingEntities |
见下方 |
当启用实体支持时,不能参与的实体 ID 或 #tag 标签 ID。 |
rideCommandExtension |
true |
允许原版的 /ride 命令使用玩家作为载具。关闭它以恢复原版行为。 |
allowInteractions |
true |
允许承载者瞄准、交互并穿过骑在他们身上的玩家发射投射物。 |
默认排除项如下:
[
"minecraft:wither",
"minecraft:ender_dragon",
"minecraft:minecart",
"#minecraft:boat",
"#minecraft:dismounts_underwater"
]
以 # 开头的条目是实体类型标签;其他条目是实体类型 ID。
?️ 命令
/ladder toggle
/playerladder toggle
这两个命令仅对玩家有效。如果启用了 rideCommandExtension,管理员也可以使用原版的 /ride 命令将玩家作为载具。原版 /ride 的权限要求仍然适用。
? 安装
对于专用服务器,请安装:
- Fabric Loader
0.19.3 或更新的兼容版本
- Fabric API
- Modern Player Ladder
连接的玩家不需要安装 Modern Player Ladder。只需将其与 Fabric API 一起添加到专用服务器即可。
对于单人游戏,请在客户端实例中安装该模组和 Fabric API,因为客户端托管集成服务器。
? 从源码构建
git clone https://github.com/justbecauseph/modern-player-ladder.git
cd modern-player-ladder
./gradlew build
编译后的模组 JAR 文件将位于:
build/libs/
类似项目
? 许可证
Modern Player Ladder 遵循 Mozilla Public License 2.0 (MPL-2.0) 许可证。
Modern Player Ladder
Ever wanted to stack players on top of each other? Modern Player Ladder lets you do exactly that. Everyone opts in first, then you right-click another player with an empty hand. That's it.
Running a dedicated server? You only need the mod on the server. Players can join without installing it themselves.
? Key Features
- Opt-In by Default: Nobody gets picked up unless both players have enabled the feature.
- Stack Up: Keep adding players to build a whole tower.
- Ride or Pick Up: Choose whether you climb onto the player you click or put them on top of you.
- Your Choice Sticks: Your toggle is saved across reconnects and death.
- Easy Dismounting: Sneaking, toggling off, changing game mode, logging out, and dying all clean up rides normally.
- Keep Playing Normally: Aim, attack, and fire projectiles through the players riding on you.
- Optional Mob Support: Let other entities join the fun, with a configurable exclusion list.
- Vanilla
/ride Support: Server admins can use players as vehicles with the normal /ride command.
- Server-Side Friendly: Players joining a dedicated server do not need to install the mod.
? Consent & Usage
Player Ladder starts disabled for everyone. To use it:
- Each participating player runs either toggle command:
/ladder toggle
/playerladder toggle
- Make sure your main hand is empty.
- Right-click another opted-in player.
- Keep adding friends until you hit the configured stack limit.
Run the command again whenever you want to opt out. Toggling off immediately dismounts you and anyone riding directly on you.
? Interaction Modes
The server-wide rightClickMode decides who ends up on top.
| Mode |
Behavior |
RIDE |
You climb onto the player you click—or onto the top of their existing stack. This is the default. |
PICK_UP |
The player you click gets placed on top of you or your existing stack. |
DO_NOTHING |
Player Ladder ignores right-clicks and leaves them to vanilla. |
? Dismounting & Cleanup
- Riders can use the normal vanilla dismount control.
- A carrier standing on the ground can crouch to drop the first player riding on them.
- Toggling Player Ladder off dismounts you and your direct riders.
- Changing game mode drops your first direct rider.
- Logging out or dying clears the ride cleanly for everyone.
⚙️ Configuration
Configuration is created on first startup at:
config/modern-player-ladder.json
Restart the server after editing the file. Invalid values fall back to their corresponding defaults.
| Option |
Default |
Description |
rightClickMode |
"RIDE" |
Chooses who ends up on top: RIDE, PICK_UP, or DO_NOTHING. |
pickUpLimit |
16 |
How far PICK_UP can search through an existing stack. Must be at least 1. |
stepUpLimit |
16 |
How far RIDE can search through an existing stack. Must be at least 1. |
allowLivingEntities |
false |
Lets non-player entities participate too. |
allowPlayers |
true |
Master switch for player stacking. Players still need to opt in individually. |
excludedLivingEntities |
See below |
Entity IDs or #tag IDs that cannot participate when entity support is enabled. |
rideCommandExtension |
true |
Lets vanilla /ride commands use players as vehicles. Turn it off for vanilla behavior. |
allowInteractions |
true |
Lets carriers aim, interact, and fire projectiles through the players riding on them. |
The default exclusions are:
[
"minecraft:wither",
"minecraft:ender_dragon",
"minecraft:minecart",
"#minecraft:boat",
"#minecraft:dismounts_underwater"
]
Entries beginning with # are entity-type tags; other entries are entity-type IDs.
?️ Commands
/ladder toggle
- Turns Player Ladder on or off for you.
/playerladder toggle
- Does the same thing; this name is kept for compatibility.
Both commands are player-only. If rideCommandExtension is enabled, admins can also use the normal vanilla /ride command with a player as the vehicle. Normal /ride permissions still apply.
? Installation
For a dedicated server, install:
- Fabric Loader
0.19.3 or newer compatible version
- Fabric API
- Modern Player Ladder
Connecting players do not need Modern Player Ladder installed. Just add it to the dedicated server alongside Fabric API.
For singleplayer, install the mod and Fabric API in the client instance because the client hosts the integrated server.
? Building from Source
git clone https://github.com/justbecauseph/modern-player-ladder.git
cd modern-player-ladder
./gradlew build
The compiled mod JAR will be located in:
build/libs/
Similar Projects
? License
Modern Player Ladder is licensed under the Mozilla Public License 2.0 (MPL-2.0).
评论 0
登录后参与评分
还没有评论,来抢沙发吧