Ghosts
玩家死亡后会变成幽灵,而不是立即在出生点重生。
当玩家处于幽灵状态时,他们无法执行任何操作、拾取物品、挖掘方块、攻击生物等(可在配置文件中修改),同时也不会受到任何形式的伤害,并且在经过一定时间后(同样可配置)将在死亡的确切位置重生。
非常适合休闲玩家,他们不想使用“保留物品栏”模组,但仍希望确保自己的物品不会消失;也适合PVP 玩家,让你的对手亲眼看着你在他们面前偷走他们的战利品。
死亡机制
- 被岩浆杀死会获得短暂的不防火效果,足以让你逃生。
- 掉入虚空会被送回你的出生点。
玩家列表现在还包含一个死亡追踪器,用于记录所有玩家的死亡情况。

配置文件
此处列出的所有内容均可在游戏中通过命令 /trigger ghost.config 进行更改(仅限管理员)
| 键 |
默认值 |
描述 |
Respawn timer |
30 Seconds |
幽灵重生的时间,单位为秒 |
Ghost Stray Distance |
6 Blocks |
幽灵在距离死亡地点多远后被传送回原地 |
Ghosts pickup items |
false |
允许幽灵拾取物品 |
Ghosts Interact |
false |
允许幽灵与世界正常互动,攻击生物,打开箱子,放置方块等 |
Spectate Mode |
false |
死亡玩家变为旁观者而非幽灵(在旁观模式下仍适用重生时间与距离限制) |
Keep Inventory |
false |
启用死亡后保留物品栏 |
Respawn Location |
false |
在出生点重生而非死亡地点 |
 |
|
|
安装
下载数据包并选择以下任一方式:
- 将其放入你的 datapacks 文件夹中,并在启用它的情况下创建新世界
或
- 将数据包放入你现有的世界中,然后运行
/reload
首次加载时会显示一条消息,表明安装成功。
联系我
如果遇到任何错误或有问题,请在 Discord 上给我发消息 - @notblazon
Ghosts
Dead players turn into ghosts instead of immediately respawning at their spawn point.
When a player is a ghost they can't do anything, pick up items, mine blocks, attack mobs, etc (can be changed in the config) but also become invulnerable to any sort of damage and after a certain amount of time (also configurable) will respawn back exactly where they died.
Perfect for Casual players who don't want to use keep inventory but still want to make sure their stuff doesn't despawn or for PVP players to let your victim watch as you steal their loot in front of them.
Deaths
- Dying to lava will give fire resistance for a brief amount of time enough to get out.
- Dying to the void will send you back to your spawnpoint.
The player list now also has a Death Tracker to track all player deaths.

Config
Everything listed here can be changed ingame with the command /trigger ghost.config (admin only)
| Key |
Default |
Description |
Respawn timer |
30 Seconds |
Time it takes a ghost to respawn, in seconds |
Ghost Stray Distance |
6 Blocks |
How far in blocks a ghost can move away from their death point before being teleported back |
Ghosts pickup items |
false |
Allow ghosts to pick up items |
Ghosts Interact |
false |
Allow Ghosts to interact normally with the world, Attack Mobs, Open Chests, Place Blocks etc. |
Spectate Mode |
false |
Dead players become spectators instead of ghosts (respawn time & distance still apply while in spectator) |
Keep Inventory |
false |
Enable keep inventory on death |
Respawn Location |
false |
Respawn at spawnpoint instead of death location |
 |
|
|
Installation
Download the datapack and either
- Place it inside your datapacks folder and create a new world with it enabled
or
- Place the datapack inside your existing world and run
/reload
A message will appear the first time you load it showing that it worked.
Contact Me
If you encounter any bugs or have a question send me a message on discord - @notblazon
评论 0
登录后参与评分
还没有评论,来抢沙发吧