VaultSMP
VaultSMP 是一款适用于 Paper 1.21.1 的插件,为你的 Minecraft 服务器引入了 10 种独特的物理 Vault 物品,每种都具有其特有的能力——从瞬移和吸收等主动技能,到永久药水增益和命中控制等被动效果。Vaults 完全绑定灵魂(soulbound):玩家无法丢弃、交易、存入箱子、放置为方块或放入物品展示框/盔甲架上。这确保了 Vaults 成为与玩家直接绑定的持久且风险可控的资产。
PvP Vault 交换系统
核心 PvP 机制基于排名的交换。当一名玩家(击杀者)淘汰另一名玩家(受害者)时,如果受害者的 Vault 排名高于(即排名数字小于)击杀者最弱的 Vault,则击杀者最弱的 Vault 将与受害者最强的 Vault 进行交换。这创造了一个动态的竞争经济体系:持有高排名 Vault 会让你成为众矢之的,但同时也通过积极的战斗行为奖励玩家的 Vault 进阶。
示例: 如果击杀者持有虚空(Void,排名 1)和风(Wind,排名 6),而受害者持有死灵(Necro,排名 3),由于死灵优于风,交换后击杀者获得死灵,受害者获得风。
完整 Vault 列表
| 排名 |
Vault |
类型 |
冷却时间 |
能力描述 |
| 1 |
Void |
主动 |
60秒 |
右键点击向注视方向传送 15 格。非常适合逃生和地图穿梭。 |
| 2 |
Dragon |
主动 |
10分钟 |
右键点击获得 +5 额外生命之心(10 点吸收伤害),持续 60 秒。在持久战中提供强大的生存提升。 |
| 3 |
Necro |
被动 |
即时 |
击杀任何玩家立即将生命值恢复至满值。无冷却时间——每次淘汰均触发。 |
| 4 |
Shadow |
主动 |
60秒 |
潜行 3 秒以变得完全隐形,持续 5 秒。适合伏击和撤退。 |
| 5 |
King |
被动 |
始终有效 |
手持该 Vault 时永久获得抗性 I 和力量 I。提供巨大的全方位战斗优势。 |
| 6 |
Wind |
被动 |
始终有效 |
永久获得跳跃提升 II,并且每次攻击有 10% 几率施加额外的击退效果。控制交战距离。 |
| 7 |
Storm |
被动 |
始终有效 |
永久获得速度 I,并且暴击时有 20% 几率召唤闪电视觉效果。高机动性。 |
| 8 |
Frost |
被动 |
始终有效 |
对玩家造成的每次攻击有 15% 几率将其冻结原地 3 秒。强大的控制效果。 |
| 9 |
Blaze |
被动 |
始终有效 |
永久获得火焰抗性。对于下界探索和基于熔岩的 PvP 至关重要。 |
| 10 |
Ocean |
被动 |
始终有效 |
永久获得水下呼吸。在水上战斗和水下探索中占据主导地位。 |
起始 Vault
新玩家在首次加入服务器时将收到 2 个随机 Vault,使用加权随机系统从所有 10 种 Vault 类型中进行抽取。权重可在 config.yml 中完全配置,因此服务器管理员可以控制稀有度分布——使高排名 Vault 罕见,低排名 Vault 常见,或者根据偏好设置任何自定义平衡。
死亡安全保护
Vault 在死亡掉落和玩家库存中会自动移除,存储在持久的待处理队列中,并在重生或下次加入服务器时恢复。这防止了因死亡导致的 Vault 丢失,并消除了 Vault 洒落在地上的可能性。该系统还处理死亡期间的断开连接:如果玩家在重生前退出,其 Vault 将被保存到磁盘,并在下次登录时恢复。
命令(管理员)
| 命令 |
描述 |
| /vaultsmp give <player> <type> |
给予特定 Vault 物品给玩家(每位玩家最多 2 个 Vault)。 |
| /vaultsmp remove <player> <type> |
从玩家库存中移除特定 Vault。 |
| /vaultsmp list [player] |
列出玩家库存中的所有 Vault 及其排名。 |
| /vaultsmp reload |
重新加载配置文件并应用权重/冷却时间的更改。 |
权限:vaultsmp.admin
配置示例
# config.yml
vault-weights:
VOID: 60
DRAGON: 60
NECRO: 40
SHADOW: 40
KING: 20
WIND: 20
STORM: 15
FROST: 10
BLAZE: 5
OCEAN: 5
vault-cooldowns:
VOID: 60
DRAGON: 600
SHADOW: 60
权重越高 = 作为起始 Vault 被抽中的概率越大。
要求
- Paper 1.21.1(或兼容分支)
- Java 21
安装
- 将
VaultSMP.jar 文件放入服务器的 plugins 文件夹。
- 重启服务器。
- 如需调整,请在
plugins/VaultSMP/config.yml 中配置权重和冷却时间。
- 使用
/vaultsmp reload 应用配置更改,无需完全重启服务器。
VaultSMP
VaultSMP is a Paper 1.21.1 plugin that introduces 10 unique physical vault items to your Minecraft server, each with its own distinct ability — ranging from active powers like teleportation and absorption to passive effects such as permanent potion buffs and on-hit crowd control. Vaults are fully soulbound: players cannot drop them, trade them, store them in chests, place them as blocks, or put them in item frames or armor stands. This ensures vaults remain a persistent, risk-managed asset tied directly to the player.
PvP Vault Swap System
The core PvP mechanic works on a rank-based swap. When a player (the killer) eliminates another player (the victim), the killer's weakest vault is exchanged for the victim's strongest vault — provided the victim's vault is a higher rank (lower rank number) than the killer's weakest. This creates a dynamic, competitive economy where holding high-rank vaults paints a target on your back, but also rewards aggressive play with vault progression.
Example: If the killer holds a Void (rank 1) and a Wind (rank 6), and the victim holds a Necro (rank 3), the swap gives the killer the Necro and the victim the Wind, since Necro outranks Wind.
Full Vault List
| Rank |
Vault |
Type |
Cooldown |
Ability Description |
| 1 |
Void |
Active |
60s |
Right-click to teleport 15 blocks forward in the direction you're looking. Great for escapes and map traversal. |
| 2 |
Dragon |
Active |
10min |
Right-click to gain +5 extra hearts (10 absorption HP) for 60 seconds. A powerful survival boost in prolonged fights. |
| 3 |
Necro |
Passive |
Instant |
Killing any player instantly restores your health to maximum. No cooldown — triggers on every elim. |
| 4 |
Shadow |
Active |
60s |
Sneak for 3 seconds to become fully invisible for 5 seconds. Ideal for ambushes and retreats. |
| 5 |
King |
Passive |
Always |
Grants permanent Resistance I and Strength I while holding the vault. A massive all-around combat advantage. |
| 6 |
Wind |
Passive |
Always |
Permanent Jump Boost II and a 10% chance on each hit to apply extra knockback. Controls engagement distance. |
| 7 |
Storm |
Passive |
Always |
Permanent Speed I and a 20% chance on critical hits to summon a lightning visual. High mobility. |
| 8 |
Frost |
Passive |
Always |
Every hit on a player has a 15% chance to freeze them in place for 3 seconds. Strong crowd control. |
| 9 |
Blaze |
Passive |
Always |
Grants permanent Fire Resistance. Essential for Nether exploration and lava-based PvP. |
| 10 |
Ocean |
Passive |
Always |
Grants permanent Water Breathing. Dominates水上 fights and underwater exploration. |
Starter Vaults
New players receive 2 random vaults on their first join, selected using a weighted random system that pulls from all 10 vault types. The weights are fully configurable in config.yml, so server admins can control the rarity distribution — making high-rank vaults rare and low-rank vaults common, or any custom balance they prefer.
Safe on Death
Vaults are automatically removed from death drops and the player's inventory on death, stored in a persistent pending queue, and restored on respawn or next server join. This prevents vault loss from dying and eliminates the possibility of vaults spilling onto the ground. The system also handles disconnects during death: if a player quits before respawning, their vaults are saved to disk and restored on their next login.
Commands (Admin)
| Command |
Description |
| /vaultsmp give <player> <type> |
Gives a specific vault item to a player (max 2 vaults per player). |
| /vaultsmp remove <player> <type> |
Removes a specific vault from a player's inventory. |
| /vaultsmp list [player] |
Lists all vaults in a player's inventory with their ranks. |
| /vaultsmp reload |
Reloads the configuration file and applies weight/cooldown changes. |
Permission: vaultsmp.admin
Configuration Example
# config.yml
vault-weights:
VOID: 60
DRAGON: 60
NECRO: 40
SHADOW: 40
KING: 20
WIND: 20
STORM: 15
FROST: 10
BLAZE: 5
OCEAN: 5
vault-cooldowns:
VOID: 60
DRAGON: 600
SHADOW: 60
Higher weight = more likely to be given as a starter vault.
Requirements
- Paper 1.21.1 (or compatible fork)
- Java 21
Installation
- Place the VaultSMP.jar file into your server's plugins folder.
- Restart your server.
- Configure weights and cooldowns in plugins/VaultSMP/config.yml if desired.
- Use /vaultsmp reload to apply configuration changes without a full restart.
评论 0
登录后参与评分
还没有评论,来抢沙发吧