Sins SMP 插件的官方扩展。
你可以失去的生命、可以 crafted 的生命、必须争取才能获得的复活机会,以及必须在终极技能生效前被唤醒的罪孽。
生命
每位玩家初始拥有 5 条生命,上限为 10 条。每次死亡消耗一条。归零后,你将离开服务器,直到有人将你复活。
这些机制不影响罪孽系统。在下落过程中,你保留自己的罪孽、弱点以及所有冷却时间。
“离开”的具体含义由配置决定:
out-of-lives.action |
生命值归零时的后果 |
BAN |
永久封禁。只有通过复活才能重新加入。 |
TEMP_BAN |
封禁 ban-duration-hours 小时。封禁结束后,以复活时的生命值数量回归,因此下一次死亡不会立即再次封禁。 |
SPECTATOR |
无封禁。停留在服务器中并锁定在旁观者模式,直到被复活。 |
复活
复活信标 是可以合成的。右键点击它,会打开一个菜单,显示所有生命值归零的玩家头像(包括被封禁和离线的玩家)。点击头像即可将其复活,恢复 3 条生命。
只有当有人实际被复活时,信标才会被消耗。关闭菜单不会消耗任何物品。
罪孽等级
现在,罪孽从 1 级 开始:仅包含被动技能和主动技能。终极技能被锁定,直到使用合成的 罪孽觉醒 将罪孽唤醒至 2 级。
锁定的终极技能不消耗任何东西。在冷却开始前拒绝使用该能力,这样就不会有人因为发现无法使用而浪费 3 分钟的冷却时间。
这是通过 Sins SMP 扩展 API 强制执行的,而不是通过编辑基础插件实现的。关闭 require-level-2-for-ultimate 设置后,所有终极技能将从 1 级开始生效。
额外生命
右键点击以获得一条生命,直至达到上限。如果已达到上限,则拒绝使用以避免浪费。
|
|
|
| 金块 |
钻石 |
金块 |
| 钻石 |
不死图腾 |
钻石 |
| 金块 |
钻石 |
金块 |
复活信标
右键点击以选择复活谁。
|
|
|
| 黑曜石 |
回声碎片 |
黑曜石 |
| 回声碎片 |
下界之星 |
回声碎片 |
| 黑曜石 |
黑曜石 |
黑曜石 |
罪孽觉醒
右键点击将你的罪孽从 1 级提升至 2 级,并解锁终极技能。
|
|
|
| 紫水晶碎片 |
哭泣的黑曜石 |
紫水晶碎片 |
| 哭泣的黑曜石 |
下界合金锭 |
哭泣的黑曜石 |
| 紫水晶碎片 |
哭泣的黑曜石 |
紫水晶碎片 |
这三种配方及其所有材料均在 config.yml 中设置。如果某个位置没有指定材料,该配方将被禁用,并在控制台中显示相应提示,而不是静默失败。
物品在其持久化数据中标记了标签,因此在铁砧上重命名不会破坏其功能,且普通信标绝不会表现得像复活信标。
| 命令 |
权限 |
作用 |
/lives |
sinsexpansion.lives |
查看你的生命数和罪孽等级 |
/lives <player> |
sinsexpansion.lives |
查看其他玩家的信息 |
/lives set <player> <n> |
sinsexpansion.admin |
直接设置生命值 |
/lives add <player> <n> |
sinsexpansion.admin |
增加或减少生命值 |
/lives revive <player> |
sinsexpansion.admin |
不使用信标进行复活 |
/lives level <player> <1-2> |
sinsexpansion.admin |
设置罪孽等级 |
/lives give <life|beacon|upgrader> [player] [amount] |
sinsexpansion.admin |
发放物品 |
/life 可作为别名使用。在这些命令中可以指定离线或被封禁的玩家——插件会在不向 Mojang 发起请求的情况下记住他们。
配置
config.yml 涵盖了初始生命值、最大生命值、每次死亡扣除量、复活恢复量、生命值归零时的惩罚措施、终极技能是否需要 2 级罪孽、所有三种配方以及所有消息文本。
值得关注的设置之一:sin-level.reset-on-sin-change 会在玩家的罪孽发生变化时将其重置回 1 级。开启此选项后,重铸罪孽之心也将消耗一次罪孽觉醒,这使得重铸成为一个真正的决策,而非免费的一次性操作。
生命数据存储于 plugins/SinsSMPExpansion/lives.json,罪孽等级存储于 levels.json。
依赖要求
需要 Sins SMP 3.0.0 或更高版本。缺少该插件时,本扩展将无法加载。
An official addon for the Sins SMP plugin.
Lives you can lose, lives you can craft, revives you have to earn, and sins that have to be awakened before their ultimate works.
Lives
Everyone starts with 5 lives and can hold at most 10. Every death costs one. Hit zero and you are out of the server until somebody brings you back.
None of this touches the sin system. You keep your sin, your weakness and your cooldowns the whole way down.
What "out" means is up to you:
out-of-lives.action |
What happens at zero lives |
BAN |
Permanently banned. Only a revive gets them back. |
TEMP_BAN |
Banned for ban-duration-hours. When the ban runs out they return with the revive amount of lives, so their next death does not instantly ban them again. |
SPECTATOR |
No ban at all. They stay on the server locked in spectator mode until revived. |
Revives
The Revive Beacon is craftable. Right-click it and a menu opens with the head of every player who is out of lives, including the ones who are banned and offline. Click a head and they come back with 3 lives.
The beacon is only spent when somebody is actually revived. Closing the menu costs you nothing.
Sin levels
A sin now starts at level 1: passive and active only. The ultimate is locked until the sin is awakened to level 2 with a crafted Sin Awakening.
A locked ultimate costs nothing. The ability is refused before the cooldown starts, so nobody burns a 3 minute cooldown finding out.
This is enforced through the Sins SMP addon API, not by editing the base plugin. Turn off require-level-2-for-ultimate and every ultimate works from level 1 again.
Extra Life
Right-click to gain one life, up to the maximum. Refuses to be wasted if you are already at the cap.
|
|
|
| Gold Block |
Diamond |
Gold Block |
| Diamond |
Totem of Undying |
Diamond |
| Gold Block |
Diamond |
Gold Block |
Revive Beacon
Right-click to choose who comes back.
|
|
|
| Obsidian |
Echo Shard |
Obsidian |
| Echo Shard |
Nether Star |
Echo Shard |
| Obsidian |
Obsidian |
Obsidian |
Sin Awakening
Right-click to take your sin from level 1 to level 2 and unlock your ultimate.
|
|
|
| Amethyst Shard |
Crying Obsidian |
Amethyst Shard |
| Crying Obsidian |
Netherite Ingot |
Crying Obsidian |
| Amethyst Shard |
Crying Obsidian |
Amethyst Shard |
All three shapes and every ingredient are set in config.yml. A letter that has no ingredient behind it disables that recipe and says so in the console instead of failing quietly.
Items are tagged in their persistent data, so renaming one in an anvil does not break it, and a normal beacon never behaves like a Revive Beacon.
| Command |
Permission |
What it does |
/lives |
sinsexpansion.lives |
Your lives and your sin level |
/lives <player> |
sinsexpansion.lives |
Somebody else's |
/lives set <player> <n> |
sinsexpansion.admin |
Set lives outright |
/lives add <player> <n> |
sinsexpansion.admin |
Add or subtract lives |
/lives revive <player> |
sinsexpansion.admin |
Revive without a beacon |
/lives level <player> <1-2> |
sinsexpansion.admin |
Set a sin level |
/lives give <life|beacon|upgrader> [player] [amount] |
sinsexpansion.admin |
Hand out items |
/life works as an alias. Offline and banned players can be named in any of these - the plugin remembers them without going out to Mojang.
Configuration
config.yml covers the starting, maximum, per-death and revive amounts, which punishment applies at zero lives, whether ultimates need level 2, all three recipes, and every message.
One setting worth a look: sin-level.reset-on-sin-change drops a player back to level 1 whenever their sin changes. Turn it on and a Sinner's Heart reroll costs a Sin Awakening too, which makes rerolling a real decision instead of a free spin.
Lives live in plugins/SinsSMPExpansion/lives.json, sin levels in levels.json.
Requirements
Sins SMP 3.0.0 or newer. The addon will not load without it.
评论 0
登录后参与评分
还没有评论,来抢沙发吧