?️ LifeManager 插件说明
LifeManager 是一款高性能、完全可定制的硬核生存与战斗管理插件,专为 Spigot 和 Paper 服务器设计(基于 Minecraft 1.21.1+ 构建)。它将先进的生活追踪经济系统与强大的防作弊战斗断线系统无缝结合,从而提升高风险 PvP 和生存游戏的体验。
✨ 主要功能
动态生命值系统: 每位玩家初始拥有可配置的生命值数量。通过安全的数据管理器后端进行无缝追踪,并实时显示。
沉浸式 HUD 显示: 通过完全自定义的 ActionBar(动作栏)或 BossBar(Boss 栏)直接在玩家屏幕上展示剩余生命值。当玩家进入战斗状态时,会动态追加同步倒计时计时器(例如:战斗中:12s)。
可配置的死亡惩罚: 当玩家生命值耗尽时,服务器将执行严格的硬核惩罚:
BAN(封禁): 自动封禁该玩家,并使用自定义的带颜色踢出消息提示。
SPECTATOR(旁观者): 将玩家永久切换至旁观者模式。
史诗级最终死亡特效: 当玩家失去最后一条生命时,触发全服范围的阴森氛围序列:
在死亡地点生成戏剧性的闪电效果(纯视觉效果——不会烧毁掉落物或破坏地形)。
播放全局 Wither 生成音效以宣告末日降临。
广播一条完全自定义的全服聊天消息,突出显示该玩家的永久失败。
严格伤害过滤与纯净 PvP: 精确选择哪些情况会导致生命值扣除。提供可选的 only-pvp-lives 开关,确保玩家仅在真正的玩家对战中损失生命值,过滤掉由环境方块或普通怪物导致的意外死亡。
高级防作弊战斗断线系统: 使用两种严厉的惩罚模式阻止玩家战斗断线(即在战斗中断开连接):
即时死亡: 玩家断开连接时立即将其击杀,正常掉落物品。
出生点傀儡: 生成一个静止的 NPC 僵尸克隆体,其护甲和主手物品与被断线玩家匹配。该傀儡免受阳光燃烧影响。如果敌人击杀了该傀儡,离线玩家将损失一条生命,其完整库存将在现场自然掉落,并在重新加入时收到红色警告消息(你因战斗断线被击杀!)。
强大的离线同步机制: 先进的双重扣减故障安全机制防止玩家在复杂的登录过程中因傀儡死亡而损失多条生命。
? 管理员命令与权限
所有管理员命令都需要 lifemanager.admin 权限节点。
/lives info <player> – 查询任何在线或离线玩家的准确剩余生命值。
/lives set <player> <amount> – 硬设置玩家的生命值数量。
/lives add <player> <amount> – 给玩家增加额外生命值。
/lives remove <player> <amount> – 强制从玩家处扣除生命值。
/lives reload – 热重载 config.yml 配置文件,无需重启服务器。
/revive <player> – 让已永久淘汰的玩家复活!自动解除其封禁,将其游戏模式恢复为生存模式,并将其生命值重置为默认配置。
?️ LifeManager Plugin Description
LifeManager is a high-performance, fully customizable hardcore survival and combat-management plugin designed for Spigot and Paper servers (built for Minecraft 1.21.1+). It seamlessly combines an advanced life-tracking economy with a robust, exploit-proof anti-combat logging system to elevate high-stakes PvP and survival gameplay.
✨ Key Features
Dynamic Life System: Every player starts with a configurable amount of lives. Lives are tracked seamlessly using a safe data manager backend and displayed in real-time.
Immersive HUD Display: Showcases remaining lives directly on the player's screen via a fully customizable ActionBar or BossBar. When a player enters combat, a synchronized countdown timer (e.g., In Combat: 12s) is appended dynamically.
Configurable Death Punishments: When a player runs out of lives, the server executes a definitive hardcore penalty:
BAN: Automatically bans the player with a custom, color-coded kick message.
SPECTATOR: Shifts the player permanently into Spectator mode.
Epic Final-Death Effects: Triggers an ominous atmospheric sequence across the server when a player loses their ultimate life:
Spawns a dramatic lightning strike effect at the death location (purely visual—safe from burning loot or destroying terrain).
Plays the global Wither spawn sound to announce doom.
Broadcasts a fully customizable, server-wide chat message highlighting the player's permanent defeat.
Strict Damage Filters & Reines PvP: Choose exactly what triggers a life loss. Features an optional only-pvp-lives toggle to ensure players only lose lives in true player-vs-player combat, filtering out accidental deaths from environment blocks or standard monsters.
Advanced Exploiter-Proof Combat Logging: Stops players from combat logging (disconnecting during battle) using two severe penalty modes:
Instant Death: Instantly slays the player upon disconnecting, dropping items normally.
Spawn Dummy: Spawns a stationary NPC Zombie clone matching the logged-out player's armor and main-hand item. The dummy is protected against daylight burning. If enemies slay the dummy, the offline player loses a life, their complete inventory drops naturally at the scene, and they receive a red warning message (You got killed, because of combat logging!) upon rejoining.
Robust Offline Synchronization: Advanced double-deduction fail-safes prevent players from losing multiple lives during complex login sequences if their dummy dies.
? Admin Commands & Permissions
All administrative commands require the lifemanager.admin permission node.
/lives info <player> – Lookup the exact remaining lives of any online or offline player.
/lives set <player> <amount> – Hard-set a player's life count.
/lives add <player> <amount> – Grant extra lives to a competitor.
/lives remove <player> <amount> – Forcefully deduct lives from a player.
/lives reload – Hot-reload the config.yml on the fly without restarting the server.
/revive <player> – Bring a permanently eliminated player back to life! Automatically pardons their ban, restores their gamemode back to Survival, and resets their life pool to the default configuration.
评论 0
登录后参与评分
还没有评论,来抢沙发吧