SimpleLifesteal 插件
SimpleLifesteal 是一款为 Minecraft 26.1.2 Paper 服务器量身定制的插件,专为 minecraftoffline.net 设计,但也可供其他服务器使用。它实现了“生命汲取”机制:玩家通过击杀他人获得生命值(红心),死亡时则失去生命值。当玩家的红心耗尽时将被封禁;但通过「鲜血祭坛」系统,其他玩家可以献祭自己的红心来解救被封禁的玩家。
功能特性
- 生命汲取:击杀玩家可获得一颗红心,死亡时失去一颗红心。
- 红心提取:通过执行
/withdrawheart 命令,将红心作为可消耗型苹果道具提取出来。
- 红心合成:可使用昂贵材料合成红心(配方完全可配置)。
- 可配置限制:可为每位玩家设置初始与最大红心数量。
- 自动封禁:红心降至 0 的玩家将被自动封禁。
- 解封重置:被外部解封后重新加入且红心为 0 的玩家,其红心数量将重置为初始值。
- 鲜血祭坛:一种在世界中按可配置间隔随机生成的结构。站在附近的玩家会看到一条 Boss 栏,显示祭坛所需的红心数量、剩余时间以及剩余可解封次数。要解救一名被封禁的玩家,附近的一名玩家需执行
/shrine unban <name> 并献出所需数量的红心(从其物品栏扣除)。当所有解封次数用完、计时器结束或玩家物理破坏祭坛的所有方块时,祭坛将爆炸。
- 保护期:新玩家可在可配置的游玩时间内受到保护(需要 OfflineStats 插件支持)。
- SQLite 存储:在本地 SQLite 数据库中持久化保存玩家的红心数据。
- 开发者 API:提供简洁的方法,供其他插件为玩家添加红心。
SimpleLifesteal Plugin
SimpleLifesteal is a Minecraft 26.1.2 Paper plugin custom-designed for minecraftoffline.net but it can be used by other servers. It provides a lifesteal mechanic where players gain hearts by killing others and lose hearts upon death. When a player runs out of hearts they are banned, but through the Blood Shrine system other players can sacrifice hearts to free them.
Features
Lifesteal: Gain a heart for killing a player, lose a heart on death.
Heart Withdrawal: Withdraw hearts as consumable apple items using /withdrawheart.
Heart Crafting: Craft hearts using expensive materials (fully configurable recipe).
Configurable Limits: Set starting and maximum heart counts per player.
Auto-ban: Players who reach 0 hearts are automatically banned.
Unban Reset: Players externally unbanned who rejoin with 0 hearts have their hearts reset to the starting amount.
Blood Shrine: A structure that spawns randomly in the world at configurable intervals. Players standing nearby see a boss bar showing the shrine's heart cost, time remaining, and unbans left. To free a banned player, a nearby player runs /shrine unban <name> and sacrifices the required number of hearts from their inventory. The shrine explodes when all its unbans are used or its timer runs out or if players physically destroy all the shrine's blocks.
Grace Period: New players can be protected for a configurable playtime window (requires OfflineStats).
SQLite Storage: Persists player heart data in a local SQLite database.
Developer API: Simple methods for other plugins to grant hearts to players.
评论 0
登录后参与评分
还没有评论,来抢沙发吧