每位玩家都注定归属于七宗罪之一。
一个始终生效的被动态,一个主动技能,一个终极技能,以及一个永不消失的弱点。
当玩家首次加入时,会随机分配一种罪孽,且无法更改。没有职业菜单,也没有选择可言:你得到什么就是什么,然后学会围绕它进行游戏。
每种罪孽的设计结构相同。一个全程生效的被动态,一个短冷却的主动技能,一个长冷却的终极技能,以及一个旨在造成负面影响的弱点。暴怒(Wrath)在濒死时伤害更高,但受到的所有伤害也更多。懒惰(Sloth)永久减速,并将受到的伤害反弹给攻击者。傲慢(Pride)在满血时最强,且无法躲在盾牌后面。
可以重掷罪孽,但必须使用罪人之核(Sinner's Heart),这需要制作。新玩家在首次加入时会获得一个。
所有技能的冷却时间都位于 config.yml 中,因此注重战斗的服务器和建造服务器可以使用相同的 jar 包配置出截然不同的数值。
控制键
| 输入 |
能力 |
| F (切换手持物品) |
主动技能 |
| Shift + F |
终极技能 |
/sin active |
主动技能 |
/sin ult |
终极技能 |
当你拥有某种罪孽时,切换手持物品的功能会被完全接管,因此在战斗中不会意外交换物品。
暴怒 (Wrath)
你的血量越少,挥击越猛。
- 被动: 最多造成 50% 额外伤害,根据你缺失的生命值比例递增。
- 主动 (45s): 狂怒 (Rage) - 获得力量、速度和抗性提升,持续 10 秒。
- 终极 (90s): 鲜血冲刺 (Blood Dash) - 向前冲刺,对路径上的所有目标造成 8 点伤害。
- 弱点: 来自所有来源的伤害增加 20%。
贪婪 (Greed)
你触碰的一切价值倍增,而火焰对此恨之入骨。
- 被动: 方块掉落如同你的工具附魔了精准采集 II,生物掉落如同你的武器附魔了抢夺 II。如果你的原有附魔已经更好,则优先保留原有附魔。
- 主动 (60s): 估价 (Appraise) - 修复手中物品耐久度的 15%,并有 25% 的概率添加或提升其附魔等级。
- 终极 (120s): 命运之轮 (Wheel of Fortune) - 旋转并产生八种结果之一。四种是力量 III、速度 III、生命恢复 II 或抗性提升 III,持续 15 秒。另外四种是缓慢 II、失明、剧毒 II 或虚弱 II,持续 10 秒。
- 弱点: 火焰和岩浆对你造成的伤害增加 50%。
傲慢 (Pride)
未受触碰时坚不可摧,一旦失足便脆弱不堪。
- 被动: 生命值高于 80% 时,伤害增加 25%。
- 主动 (40s): 坚定不移 (Unshakable) - 获得 5 秒的完全击退免疫。
- 终极 (150s): 宏伟竞技场 (Grand Arena) - 挑战你视线内 15 格内的玩家。持续 15 秒,一圈火环将你们困在一个直径 6 格的圆圈内。
- 弱点: 摔落伤害加倍,且盾牌对你无效。
嫉妒 (Envy)
你想要别人拥有的东西,于是你将其夺走。
- 被动: 注视 20 格内的玩家,他们的罪孽会显示在你的动作栏中。
- 主动 (60s): 模仿 (Mimic) - 施放最近玩家的罪孽主动技能,范围 15 格内。
- 终极 (180s): 分身 (Doppelganger) - 穿戴其他玩家的皮肤和名称,持续 3 分钟。
- 弱点: 如果 15 格内没有其他玩家,伤害减少 20%。
暴食 (Gluttony)
无论你是否愿意,你都吃得好且吃得频繁。
- 被动: 食物恢复 50% 更多的饥饿值和饱和度。
- 主动 (45s): 吞噬 (Devour) - 从你注视的玩家身上窃取一个随机的正面药水效果,范围 12 格内。
- 终极 (90s): 灵魂盛宴 (Soul Feast) - 你造成的每次命中都会为你恢复最大生命值的 2%,持续 20 秒。
- 弱点: 饥饿值消耗速度加倍,低饥饿值会导致恶心效果。
懒惰 (Sloth)
太慢去追逐任何人,太固执以至于不愿倒下。
- 主动 (60s): 冬眠 (Hibernate) - 原地冻结并无敌 5 秒,每秒恢复最大生命值的 6%。
- 终极 (120s): 报应 (Retribution) - 所有 incoming 伤害的一半将在 15 秒内返还给攻击者。
- 弱点: 永久缓慢 I 和近战伤害减少 20%。
色欲 (Lust)
没有人能离开你身边,也没有人能正常治疗。
- 主动 (35s): 诱惑 (Seduction) - 将 12 格内的所有玩家拉向你。
- 终极 (120s): 致命吸引力 (Fatal Attraction) - 锁定 15 格内的玩家。持续 15 秒,他们受到的治疗减少 30%,而你获得力量和速度加成。
- 弱点: 来自背后的攻击对你造成的伤害增加 20%。
Sins SMP 提供了一个小型 API,允许插件读取罪孽、修改它们,并在不接触核心 jar 包的情况下阻止技能。
SinsSmpApi api = SinsSmpProvider.get();
SinType sin = api.getSin(player.getUniqueId());
api.rerollSin(player.getUniqueId());
// 根据你的规则拒绝释放终极技能。门控逻辑在冷却开始前运行,因此被阻止的技能不会消耗玩家的资源。
api.registerAbilityGate(this, (p, s, kind) -> {
if (kind == AbilityKind.ULTIMATE && notReady(p)) {
return GateResult.deny("&cYour sin is not ready for that yet.");
}
return GateResult.allow();
});
每当玩家(包括离线玩家)的罪孽发生变化时,都会触发 PlayerSinChangeEvent。
在 plugin.yml 中添加 depend: [SinsSMP],API 就会在 onEnable 中可用。
Sins SMP Expansion 基于此 API 构建,增加了生命值、复活和罪孽等级功能。
物品
罪人之核 (Sinner's Heart) - 右键点击可将你的罪孽重掷为另一种。绝不会重掷为你当前已有的罪孽。新玩家在首次加入时会获得一个。
|
|
|
| 金锭 |
红石 |
金锭 |
| 红石 |
下界之星 |
红石 |
| 金锭 |
红石 |
金锭 |
形状和所有材料均在 config.yml 中设置,因此你可以将其制作得更便宜或更昂贵。
命令
| 命令 |
权限节点 |
功能 |
/sin info |
sinssmp.command.sin |
查看你的罪孽及其所有功能 |
/sin active |
sinssmp.command.sin |
使用主动技能 |
/sin ult |
sinssmp.command.sin |
使用终极技能 |
/sin set <player> <sin> |
sinssmp.admin |
分配一个罪孽 |
/sin reroll |
sinssmp.admin |
无需物品即可重新随机分配你自己的罪孽 |
/sin give [player] |
sinssmp.admin |
发放罪人之心 |
sinsmp.command.sin 默认开启。sinssmp.admin 仅限操作员(OP)使用。
配置
config.yml 包含每个主动技能和终极技能的冷却时间、罪人之心的合成配方以及插件发送的所有消息。玩家的罪孽数据存储在 plugins/SinsSMP/player_data.json 中。
从 SevenSins 2.x 升级
此插件此前名为 SevenSins。重命名更改了插件文件夹名称和权限节点:
- 删除旧的
SevenSins.jar,放入 SinsSMP.jar。
- 首次启动时,
plugins/SevenSins/player_data.json 会自动导入,因此不会丢失任何人的罪孽。设置 migrate-from-sevensins: false 可跳过此步骤。
- 权限已从
sevensins.* 迁移至 sinssmp.*。请在重启前更新你的权限插件,否则管理员将失去对 /sin set 的访问权限。
Every player is bound to one of the seven deadly sins.
A passive that is always on, an active, an ultimate, and a weakness that never goes away.
A sin is rolled the first time a player joins, and it sticks. There is no class menu and nothing to pick: you get what you get, and you learn to play around it.
Every sin is built the same way. One passive that runs the whole time, one active on a short cooldown, one ultimate on a long one, and one weakness that is meant to hurt. Wrath hits harder the closer it is to dying but takes more damage from everything. Sloth is permanently slowed and reflects damage back at whoever hits it. Pride is strongest at full health and cannot hide behind a shield.
Rerolling is possible, but only with a Sinner's Heart, which has to be crafted. New players get one on their first join.
Every cooldown lives in config.yml, so a fight-heavy server and a build server can run very different numbers off the same jar.
Controls
| Input |
Ability |
| F (swap hands) |
Active |
| Shift + F |
Ultimate |
/sin active |
Active |
/sin ult |
Ultimate |
Swapping hands is taken over completely while you have a sin, so nothing gets swapped by accident mid-fight.
Wrath
The less blood you have left, the harder you swing.
- Passive: Up to 50% more damage, scaling with how much health you are missing.
- Active (45s): Rage - Strength, Speed and Resistance for 10 seconds.
- Ultimate (90s): Blood Dash - launch forward and hit everything you pass through for 8 damage.
- Weakness: You take 20% more damage from every source.
Greed
Everything you touch is worth more, and fire hates you for it.
- Passive: Blocks drop as if your tool had Fortune II, and mobs drop as if your weapon had Looting II. Your own enchantments win if they are already better.
- Active (60s): Appraise - repairs the held item by 15% of its durability, with a 25% chance to add or raise an enchantment on it.
- Ultimate (120s): Wheel of Fortune - spins into one of eight results. Four are Strength III, Speed III, Regeneration II or Resistance III for 15 seconds. Four are Slowness II, Blindness, Poison II or Weakness II for 10 seconds.
- Weakness: Fire and lava deal 50% more damage to you.
Pride
Strong while untouched, fragile the moment you slip.
- Passive: 25% more damage while above 80% health.
- Active (40s): Unshakable - complete knockback immunity for 5 seconds.
- Ultimate (150s): Grand Arena - challenges the player you are looking at within 15 blocks. For 15 seconds a ring of fire holds you both inside a 6 block circle.
- Weakness: Double fall damage, and shields simply do not work for you.
Envy
You want what everyone else has, so you take it.
- Passive: Look at a player within 20 blocks and their sin is shown on your action bar.
- Active (60s): Mimic - casts the active ability of the nearest player's sin, up to 15 blocks away.
- Ultimate (180s): Doppelganger - wear another player's skin and name for 3 minutes.
- Weakness: 20% less damage while no other player is within 15 blocks.
Gluttony
You eat well, and you eat often, whether you want to or not.
- Passive: Food restores 50% more hunger and saturation.
- Active (45s): Devour - steals a random positive potion effect off the player you are looking at, up to 12 blocks away.
- Ultimate (90s): Soul Feast - every hit you land heals you for 2% of your max health, for 20 seconds.
- Weakness: Hunger drains twice as fast, and low hunger makes you nauseous.
Sloth
Too slow to chase anyone, too stubborn to go down.
- Active (60s): Hibernate - frozen in place and invincible for 5 seconds, healing 6% of your max health each second.
- Ultimate (120s): Retribution - half of all incoming damage is returned to the attacker for 15 seconds.
- Weakness: Permanent Slowness I and 20% less melee damage.
Lust
Nobody walks away from you, and nobody heals properly either.
- Active (35s): Seduction - drags every player within 12 blocks toward you.
- Ultimate (120s): Fatal Attraction - locks onto a player within 15 blocks. For 15 seconds they heal 30% less while you gain Strength and Speed.
- Weakness: Hits from behind deal 20% more damage to you.
Sins SMP exposes a small API so addons can read sins, change them, and block abilities without touching the jar.
SinsSmpApi api = SinsSmpProvider.get();
SinType sin = api.getSin(player.getUniqueId());
api.rerollSin(player.getUniqueId());
// Refuse an ultimate under your own rules. Gates run before the
// cooldown starts, so a blocked ability costs the player nothing.
api.registerAbilityGate(this, (p, s, kind) -> {
if (kind == AbilityKind.ULTIMATE && notReady(p)) {
return GateResult.deny("&cYour sin is not ready for that yet.");
}
return GateResult.allow();
});
PlayerSinChangeEvent fires whenever a player's sin changes, including offline players.
Put depend: [SinsSMP] in your plugin.yml and the API is there in onEnable.
Sins SMP Expansion is built on this API and adds lives, revives and sin levels.
Items
Sinner's Heart - right-click to reroll your sin into a different one. Never rolls the sin you already have. New players are given one on their first join.
|
|
|
| Gold Ingot |
Redstone |
Gold Ingot |
| Redstone |
Nether Star |
Redstone |
| Gold Ingot |
Redstone |
Gold Ingot |
The shape and every ingredient are set in config.yml, so you can make it cheaper or far more expensive.
Commands
| Command |
Permission |
What it does |
/sin info |
sinssmp.command.sin |
Your sin and everything it does |
/sin active |
sinssmp.command.sin |
Fire your active |
/sin ult |
sinssmp.command.sin |
Fire your ultimate |
/sin set <player> <sin> |
sinssmp.admin |
Assign a sin |
/sin reroll |
sinssmp.admin |
Reroll your own sin without an item |
/sin give [player] |
sinssmp.admin |
Hand out a Sinner's Heart |
sinssmp.command.sin is on by default. sinssmp.admin is operators only.
Configuration
config.yml holds the cooldown for every active and ultimate, the Sinner's Heart recipe, and every message the plugin sends. Player sins are stored in plugins/SinsSMP/player_data.json.
Upgrading from SevenSins 2.x
This plugin used to be called SevenSins. The rename changed the plugin folder and the permission nodes:
- Delete the old
SevenSins.jar, drop in SinsSMP.jar.
- On first start,
plugins/SevenSins/player_data.json is imported automatically, so nobody loses their sin. Set migrate-from-sevensins: false to skip it.
- Permissions moved from
sevensins.* to sinssmp.*. Update your permission plugin before restarting, or admins will lose access to /sin set.
评论 0
登录后参与评分
还没有评论,来抢沙发吧