DeathSwap
最后存活者小游戏,玩家之间会定期交换位置。
» 关于
DeathSwap 是一款生存小游戏,玩家需竞争成为最后的幸存者。
玩家加入大厅后,在游戏开始时会被传送到一个全新的临时世界。在固定间隔内,他们的位置会与随机存活的对手交换。玩家需要坚持到最后成为唯一的幸存者。
» 对局
在对局开始前,玩家加入匹配队列并等待倒计时。玩家可以在任何地方排队,无需提前传送。
对局开始后:
- 玩家被传送到一个临时的对局世界
- 为每位玩家分配可配置的命数
- 根据配置启用 PvP 和死亡追踪
- 玩家分布在配置的生成半径周围
在对局期间,玩家会定期与随机存活的对手交换位置。每次交换前都会显示警告倒计时。
失去所有命数的玩家将被淘汰,并可观战剩余的玩家。
当仅剩一名玩家或达到配置的对局时间上限时,对局结束。
» 世界
DeathSwap 支持为每场对局使用临时世界。
世界可以是:
- 为每场对局创建的全新世界
- 从可重复使用的世界池中选取
Nether(下界)和 End(末地)维度可选择性地为每场对局启用。
每个对局世界支持可配置的:
- 生成半径
- 世界边界
- Nether 和 End 维度
多场对局可同时运行,每场对局都在自己的世界中隔离进行。
» 指令
| 指令 |
别名 |
描述 |
权限 |
/deathswap join |
/ds join |
加入对局队列 |
— |
/deathswap leave |
/ds leave |
离开队列或对局 |
— |
/deathswap start |
/ds start |
强制开始游戏 |
deathswap.start |
/deathswap stop |
/ds stop |
停止游戏 |
deathswap.stop |
/deathswap setlobby |
/ds setlobby |
设置对局结束后的返回位置 |
deathswap.setlobby |
/deathswap reload |
/ds reload |
重新加载配置和消息 |
deathswap.reload |
» Tab 列表隐藏
当启用 hide.match-players-in-tab 且安装了 PacketEvents 时,不在对局中的玩家无法在 Tab 列表中看到对局参与者。
每场对局仅显示其自身的参与者,而大厅玩家则与活跃对局分离。
对局可见性还会限制聊天、死亡和进度提示消息在并发对局之间的范围。
注意: 进度提示消息的隔离需要 Paper,在 Spigot 上不可用。
» 占位符
需要 PlaceholderAPI。
该扩展在 deathswap 和 ds 下均可用。
| 占位符 |
描述 |
%deathswap_state% |
玩家当前状态:none(无)、lobby(大厅)、match(对局)或 spectator(观战) |
%deathswap_deaths% |
当前死亡次数(对局外为 0) |
%deathswap_deaths_left% |
淘汰前剩余的命数 |
%deathswap_max_deaths% |
配置的最大命数 |
%deathswap_players_in_lobby% |
当前在大厅等待的玩家数量 |
%deathswap_min_players% |
开始所需的最小玩家数 |
%deathswap_swap_interval% |
配置的交换间隔(秒) |
%deathswap_next_swap% |
距离下次交换的秒数 |
» 要求
» 构建
gradlew build
享受 DeathSwap!
DeathSwap
Last-player-standing minigame with timed position swaps between alive players.
» About
DeathSwap is a survival minigame where players compete to be the last one standing.
Players join a lobby and are sent into a fresh temporary world when the match starts. At regular intervals, their positions are swapped with random alive opponents. Players must survive until they are the last one standing.
» Matches
Before a match starts, players join the matchmaking queue and wait for the countdown. Players can queue from anywhere without being teleported beforehand.
When the match starts:
- Players are teleported to a temporary match world
- A configurable number of lives is assigned to each player
- PvP and death tracking are enabled according to the configuration
- Players are distributed around the configured spawn radius
During the match, players are periodically swapped with random alive opponents. A warning countdown is displayed before each swap.
Players who lose all of their lives are eliminated and can spectate the remaining players.
The match ends when only one player remains or when the configured match time expires.
» Worlds
DeathSwap supports temporary worlds for each match.
Worlds can either be:
- Created as a brand-new world for every match
- Taken from a reusable world pool
Nether and End dimensions can optionally be enabled for each match.
Each match world supports configurable:
- Spawn radius
- World border
- Nether and End dimensions
Multiple matches can run simultaneously, with each match isolated in its own world.
» Commands
| Command |
Aliases |
Description |
Permission |
/deathswap join |
/ds join |
Join the match queue |
— |
/deathswap leave |
/ds leave |
Leave the queue or match |
— |
/deathswap start |
/ds start |
Force-start the game |
deathswap.start |
/deathswap stop |
/ds stop |
Stop the game |
deathswap.stop |
/deathswap setlobby |
/ds setlobby |
Set the post-match return location |
deathswap.setlobby |
/deathswap reload |
/ds reload |
Reload config and messages |
deathswap.reload |
» Tab List Hiding
When hide.match-players-in-tab is enabled and PacketEvents is installed, players outside a match cannot see its participants in the tab list.
Each match only displays its own participants, while lobby players remain separate from active matches.
Match visibility also scopes chat, death, and advancement messages between concurrent matches.
Note: Advancement message isolation requires Paper and is unavailable on Spigot.
» Placeholders
Requires PlaceholderAPI.
The expansion is available under both deathswap and ds.
| Placeholder |
Description |
%deathswap_state% |
Player's current state: none, lobby, match, or spectator |
%deathswap_deaths% |
Current death count (0 outside a match) |
%deathswap_deaths_left% |
Deaths remaining before elimination |
%deathswap_max_deaths% |
Configured maximum deaths |
%deathswap_players_in_lobby% |
Players currently waiting in the lobby |
%deathswap_min_players% |
Minimum players required to start |
%deathswap_swap_interval% |
Configured swap interval in seconds |
%deathswap_next_swap% |
Seconds until the next swap |
» Requirements
- Java 25
- Spigot or Paper
- Minecraft
1.21.11, 26.1, or 26.2
- Optional: PacketEvents for match player tab-list hiding
- Optional: PlaceholderAPI for placeholders
» Build
gradlew build
Enjoy DeathSwap!
评论 0
登录后参与评分
还没有评论,来抢沙发吧