NexusCoreTeams
NexusCoreTeams 是一款适用于 Paper/Purpur/Spigot/Bukkit 服务器的插件。
每个记分板队伍守护一个末影水晶——即他们的 核心(Nexus)。当水晶被摧毁后,该队伍的后续重生将以旁观者模式进行。当所有队员都变为旁观者时,该队伍将被宣告淘汰。
使用此插件,你可以打造流行的团队竞技小游戏,例如“摧毁核心”、“歼灭战”、“超级墙战”、“床战”、“核心战争”等。

功能概览
-
可配置的生命值
你可以通过 /nexus set <team> <hp> 设置核心,并通过 /nexus hp <team> <hp> 随时更改其生命值。
-
武器伤害
如果 weapon-damage-enabled = true,核心将扣除等同于玩家武器攻击力的生命值;否则,任何武器对核心造成的伤害均为 1 点。
-
箭矢开关
如果 arrow-damage-enabled = false,箭矢将被忽略;否则,箭矢会对核心造成伤害。
-
命中冷却
受到攻击后,水晶将在 x 秒内处于无敌状态(通过 hit-cooldown 配置)。

-
爆炸免疫
TNT、苦力怕及其他方块/实体的爆炸不会对核心造成伤害。
-
毁灭时的爆炸效果
当玩家摧毁核心时,会产生一小股爆炸效果。
-
HUD 显示
标签页列表的头部会显示所有存活核心的当前生命值。

- 伤害警报 与 淘汰消息
队伍会在达到每 y%(通过 notify-percent 配置)的伤害时收到聊天通知。当某队最后一名玩家被淘汰时,所有玩家将收到淘汰消息。

插件命令
| 命令 |
描述 |
/nexus set <team> <hp> |
在你所在的位置为指定队伍放置一个核心。 |
/nexus hp <team> <amount> |
手动调整队伍核心的当前生命值。 |
/nexus clear <team> |
从世界中移除所有队伍或特定队伍的核心水晶。 |
/nexus enable/disable |
在不重启服务器的情况下启用或禁用 NexusCoreTeams 插件。 |
/nexus info <team> |
显示所有队伍或特定队伍核心的生命值。 |
/nexus reload |
重新加载 config.yml 以应用配置更改。 |
使用方法
使用原版 Minecraft 命令创建记分板队伍并为其分配颜色:
/team add Red
/team modify Red color red
加入已创建的队伍:
/team join Red <nickname>
然后使用插件命令放置核心:
/nexus set Red <hp>
配置文件 (plugins/NexusCoreTeams/config.yml)
# 启用/禁用插件
enabled: true
# 如果用户未使用 </nexus set> 命令指定数值,则分配给核心的默认生命值
default-nexus-hp: 30
# 伤害百分比阈值,每当达到该百分比时,
# 队伍将收到通知。
# 例如,设置为 20 - 则在造成 20%、40%、60%、80% 伤害时发送通知。
notify-percent: 20
# 阻止下一次对核心造成伤害的时间间隔(秒)
hit-cooldown: 0.5
# 如果为 true,核心将扣除等同于玩家武器攻击值的生命值
# 如果为 false,每次攻击固定造成 1 点生命值伤害
weapon-damage-enabled: true
# 如果为 true,向核心射击箭矢会造成伤害
# 如果为 false,箭矢对核心无效
arrow-damage-enabled: true
NexusCoreTeams
NexusCoreTeams is a plugin for the Paper/Purpur/Spigot/Bukkit servers.
Each scoreboard team protects one End Crystal - their Nexus. When the crystal is destroyed, further respawns for that team occur in spectator mode. When all team members are spectators the team is declared eliminated.
Using this plugin, you can create popular team‑based minigames such as "Destroy the Core", "Annihilation", "Mega Walls", "Bed Wars", "Core Wars", and more.

Functional overview
-
Configurable health
You can set the Nexus using /nexus set <team> <hp> and change it later via /nexus hp <team> <hp>.
-
Weapon damage
If weapon-damage-enabled = true the Nexus loses HP equal to the attack damage of the player’s weapon, else any weapon will deal 1 damage to the Nexus.
-
Arrow toggle
If arrow-damage-enabled = false arrows are ignored, else arrows will damage the Nexus.
-
Hit cooldown
After a hit the crystal becomes invulnerable for x seconds (configured via hit-cooldown).

-
Explosive immunity
TNT, creeper and other block/entity explosions do not harm the Nexus.
-
Explosion on destruction
The Nexus creates a small explosion when a player destroys it.
-
HUD
The tab-list header shows the current HP of all live Nexuses.

- Damage alerts and Elimination message
A team receives a chat notice every y% (configured via notify-percent). When the last player on a team is eliminated, all players receive the elimination message.

-
Plugin loading and Server restarting
On load, the plugin clears any End Crystals within a 2x3x2 area around each Nexus to prevent duplicates.
-
Hot reload
Reload the plugin’s configuration without restarting the server using /nexus reload.
Plugin сommands
| Command |
Description |
/nexus set <team> <hp> |
Place a Nexus for the specified team at your location. |
/nexus hp <team> <amount> |
Manually adjust the current HP of the team’s Nexus. |
/nexus clear <team> |
Remove the Nexus crystal(s) from the world for all teams or a specific team. |
/nexus enable/disable |
Enable or disable the NexusCoreTeams plugin without restarting the server. |
/nexus info <team> |
Displays the HP of all teams’ Nexuses or a specific team’s Nexus. |
/nexus reload |
Reload config.yml to apply configuration changes. |
How to use
Create a scoreboard team and assign it a color using vanilla Minecraft commands:
/team add Red
/team modify Red color red
Join the created team:
/team join Red <nickname>
Then place the Nexus using the plugin command:
/nexus set Red <hp>
Configuration (plugins/NexusCoreTeams/config.yml)
# Enable/disable the plugin
enabled: true
# The HP that will be assigned to the nexus
# if the user did not specify the value with the </nexus set> command
default-nexus-hp: 30
# The percentage of damage, when each of which is reached,
# the team will receive a notification.
# For example, 20 - notify at 20%, 40%, 60%, 80% damage.
notify-percent: 20
# Time to block the next damage to the Nexus in seconds
hit-cooldown: 0.5
# If true, the Nexus loses HP equal to the player’s weapon attack value
# If false, every hit always deals exactly 1 HP
weapon-damage-enabled: true
# If true, shooting arrows at the Nexus will deal damage
# If false, arrows have no effect on the Nexus
arrow-damage-enabled: true
评论 0
登录后参与评分
还没有评论,来抢沙发吧