Team Deathmatch 插件
在此处请求版本更新 here!
一款适用于 Minecraft Paper 1.21.1 的竞技性团队死斗(Team Deathmatch)插件,包含基于职业的战斗、多种游戏模式以及完善的计分系统。
概述
Team Deathmatch 为你的服务器带来快节奏的 PvP 动作体验,支持经典的 4v4 团队对战和最多 10 个彩色编码团队的自由混战(Free-For-All)。玩家可以选择独特的战斗职业,争夺击杀数和助攻数,并在实时记分牌上追踪自己的表现。
游戏模式
4v4 模式
经典的红队对蓝队团队对战,具备自动队伍平衡功能。非常适合有组织的竞技比赛。
自由混战模式
支持最多 10 个彩色编码团队(红、蓝、绿、黄、紫、橙、青、灰、白、黑)。管理员可以通过管理界面启用或禁用特定团队,以自定义比赛规模。
玩家指令
加入比赛
- 向玩家广播一条可点击的聊天消息
/tdm join - 自动将你分配到人数最少的队伍以实现平衡
- 如果所有已启用的队伍人数相等,则随机选择一支队伍
- 如果管理员启用了“仅随机”模式,则始终从已启用的队伍中随机选择
/tdm join <team> - 加入特定队伍(例如 /tdm join red)
- 可用队伍:red, blue, green, yellow, purple, orange, aqua, gray, white, black
- Tab 补全会显示当前已启用的队伍
职业选择
当你加入比赛时,你会看到一个用于选择战斗职业的 GUI。根据你的玩法风格明智地选择吧!
战斗职业
Sharpshooter
擅长远程精确打击的专家
- 弓配 20 支箭
- 皮革甲(轻便,利于机动)
- 适合:偏好远程作战和走位的玩家
Berserker
高伤害输出的激进近战战士
- 铁斧(高伤害)
- 链甲
- 盾牌用于防御
- 适合:喜欢近身肉搏的激进玩家
Knight
拥有坚实防御的均衡战士
- 铁剑
- 全套铁甲
- 盾牌用于格挡
- 适合:追求耐久性和多功能性的玩家
Glass Cannon
高风险高回报的远程攻击者
- 附魔了快速装填 II (Quick Charge II) 的弩
- 3 支带有伤害效果的药箭,造成毁灭性伤害
- 10 支普通箭
- 无护甲(脆弱但致命)
- 适合:能够边躲避伤害边命中目标的技巧型玩家
还有更多……
计分系统
分数
- 击杀: 20 分
- 助攻: 10 分
- 爆头奖励: +5 分
爆头
在敌人上半部分命中 projectile 或近战攻击即可得分额外的爆头分。游戏根据命中位置检测爆头。
助攻
如果在过去 10 秒内你曾伤害过最终获得击杀的人,你将因助攻该击杀而获得奖励分。
击杀连杀
连续击杀而不死亡以触发特殊公告:
- 3 次击杀:击杀连杀公告
- 5 次击杀:统治局势公告
- 10 次击杀:传奇状态
- 当你死亡时连杀中断,服务器会宣布是谁终结了你的连杀
记分牌
侧边栏实时记分牌显示:
- 队伍分数(首先达到胜利阈值的队伍获胜)
- 你的个人分数
- 你的击杀、助攻和爆头数
- 比赛期间的实时更新
比赛流程
- 激活:管理员通过管理界面或执行
/tdm activate (FFA) 或 /tdm activate 4v4 激活一场比赛
- 加入:玩家看到可点击的广播消息,或使用
/tdm join <team> 加入
- 职业选择:每位玩家从 GUI 中选择自己的战斗职业
- 开始:一旦有足够多的玩家加入,管理员通过点击广播链接或运行
/tdm start 开始比赛
- 战斗:为了达到目标击杀数而战(默认值:30 次团队击杀)
- 重生:当你死亡后,你会观看倒计时(默认值:5 秒),然后重生
- 胜利:首先达到击杀阈值的队伍获胜,并显示详细统计数据
- 个人积分:也会为击杀和爆头等事件颁发个人积分,并宣布个人获胜者。
管理员指令
-
/tdm activate [4v4] - 激活新比赛
- 无参数:自由混战模式
4v4:经典红队对蓝队模式
- 向所有玩家广播可点击的加入链接
- 仅向管理员发送可点击的开始链接
-
/tdm start - 手动开始已激活的比赛
-
/tdm end - 立即结束当前比赛并显示最终统计数据
-
/tdm setspawn <team> - 设置队伍的出生点
- 站在你想设为出生点的位置并运行命令
- 适用于所有 10 种队伍颜色
- 出生点位置保存到 config.yml
-
/tdm gui - 打开管理控制面板
- 激活比赛
- 查看队伍名单
- 在队伍间移动玩家
- 切换队伍可用性(FFA 模式)
- 配置游戏设置
配置
该插件通过 config.yml 高度可配置。关键设置包括:
游戏设置
wins-needed:获胜所需的击杀数(默认值:3)
respawn-time:重生倒计时秒数(默认值:5)
min-players:开始所需的最少玩家数(默认值:2)
max-players:允许的最大玩家数(默认值:20)
auto-balance-teams:启用自动队伍平衡
队伍设置
为 FFA 模式启用或禁用特定队伍:
teams:
enabled:
red: true
blue: true
green: false
# ... etc
计分
自定义击杀、助攻和爆头的分数值:
scoring:
kill-points: 20
assist-points: 10
headshot-bonus: 5
游戏规则
friendly-fire:允许队伍间伤害(默认:false)
fall-damage:启用坠落伤害(默认:true)
spectator-death:让死亡玩家保持在旁观者模式,直到重生(默认:true)
伤害乘数
微调伤害数值:
global-damage-multiplier:全局伤害乘数
fall-damage-multiplier:调整坠落伤害
projectile-damage-multiplier:调整箭/弩的伤害
melee-damage-multiplier:调整剑/斧的伤害
爆头检测
head-region-percentage:被视为“头部”的实体高度比例(默认:0.20 = 顶部 20%)
音效
启用/禁用音效并调整音量/音调:
sounds:
death-sound: true
kill-sound: true
victory-sound: true
sound-volume: 1.0
职业自定义
每个职业都可以在 config.yml 中进行完全自定义。您可以修改现有职业或添加新职业:
classes:
# 职业标识符(内部使用)
sharpshooter:
enabled: true
name: "Sharpshooter" # GUI 中显示的名称
helmet: LEATHER_HELMET
chestplate: LEATHER_CHESTPLATE
leggings: LEATHER_LEGGINGS
boots: LEATHER_BOOTS
weapon: BOW
off-hand: NONE # 或 SHIELD 等
extra-items:
- "ARROW:20" # 格式:"MATERIAL:AMOUNT"
enchantments:
- "BOW:POWER:1" # 格式:"ITEM:ENCHANTMENT:LEVEL"
health-bonus: 0 # 额外生命值(2 = 1 颗心)
armor-bonus: 0 # 额外护甲点数
要添加新职业:
- 复制
config.yml 中的现有职业部分
- 更改职业标识符(例如
my_custom_class)
- 自定义名称、盔甲、武器和物品
- 设置
enabled: true
- 重载服务器或重启
插件将自动从配置中加载所有启用的职业,并在职业选择 GUI 中显示它们。
功能
- 多种游戏模式(4v4 和 FFA)
- 4 种独特的战斗职业,拥有不同的玩法风格
- 爆头检测以获得额外分数
- 击杀连击追踪与公告
- 实时记分板,包含详细统计数据
- 重生倒计时系统
- 助攻追踪(造成伤害的玩家获得功劳)
- 管理员 GUI,便于比赛管理
- 可点击的聊天消息,快速加入比赛
- 每队可配置的出生点
- 队伍平衡选项
- 全面的赛后统计
- 游戏事件音效
- 命令补全支持
- 通过 config.yml 高度可配置
权限
tdm.admin - 访问管理员命令和 GUI(默认:op)
要求
- Minecraft Server:Paper 1.21.1 或兼容分支
- Java:21 或更高版本
安装
- 下载插件 JAR 文件
- 将其放入服务器的
plugins 文件夹
- 重启服务器
- 使用
/tdm setspawn <team> 配置出生点
- 在
plugins/TeamDeathmatch/config.yml 中自定义设置
- 使用
/reload confirm 重载或重启服务器
- 运行
/tdm gui 配置比赛
Team Deathmatch Plugin
Request version updates here!
A competitive Team Deathmatch plugin for Minecraft Paper 1.21.1 featuring class-based combat, multiple game modes, and comprehensive scoring systems.
Overview
Team Deathmatch brings fast-paced PvP action to your server with support for both classic 4v4 team battles and free-for-all matches with up to 10 color-coded teams. Players choose from unique combat classes, compete for kills and assists, and track their performance on a live scoreboard.
Game Modes
4v4 Mode
Classic Red vs Blue team battles with automatic team balancing. Perfect for organized competitive matches.
Free-For-All Mode
Support for up to 10 color-coded teams (Red, Blue, Green, Yellow, Purple, Orange, Aqua, Gray, White, Black). Admins can enable/disable specific teams through the admin GUI to customize the match size.
Player Commands
Joining a Match
- A clickable chat message is broadcast to players
/tdm join - Automatically assigns you to the team with the fewest players for balance
- If all enabled teams have equal players, picks a random team
- If random-only mode is enabled by admin, always picks randomly from enabled teams
/tdm join <team> - Join a specific team (e.g., /tdm join red)
- Available teams: red, blue, green, yellow, purple, orange, aqua, gray, white, black
- Tab completion shows currently enabled teams
Class Selection
When you join a match, you'll see a GUI to select your combat class. Choose wisely based on your playstyle!
Combat Classes
Sharpshooter
Long-range specialist with precision weaponry
- Bow with 20 arrows
- Leather armor (lightweight for mobility)
- Best for: Players who prefer ranged combat and positioning
Berserker
Aggressive melee fighter with high damage output
- Iron axe (high damage)
- Chainmail armor
- Shield for defense
- Best for: Aggressive players who like close combat
Knight
Balanced warrior with solid defense
- Iron sword
- Full iron armor
- Shield for blocking
- Best for: Players who want durability and versatility
Glass Cannon
High-risk, high-reward ranged attacker
- Crossbow with Quick Charge II enchantment
- 3 tipped arrows (harming) for devastating damage
- 10 regular arrows
- No armor (vulnerable but deadly)
- Best for: Skilled players who can land shots while avoiding damage
And more...
Scoring System
Points
- Kill: 20 points
- Assist: 10 points
- Headshot Bonus: +5 points
Headshots
Land projectile or melee hits on the upper portion of an enemy to score bonus headshot points. The game detects headshots based on hit location.
Assists
If a kill is awarded to a person you damaged in the last 10 seconds you will recieve a bonus for assisting the kill
Kill Streaks
Build up consecutive kills without dying to trigger special announcements:
- 3 kills: Kill streak announcement
- 5 kills: Dominating announcement
- 10 kills: Legendary status
- Your streak ends when you die, and the server announces who ended it
Scoreboard
A live sidebar scoreboard displays:
- Team scores (first to reach the win threshold wins)
- Your personal points
- Your kills, assists, and headshots
- Real-time updates throughout the match
Match Flow
- Activation: An admin activates a match though the admin GUI or
/tdm activate (FFA) or /tdm activate 4v4
- Joining: Players see a clickable broadcast message or can join with
/tdm join <team>
- Class Selection: Each player chooses their combat class from the GUI
- Start: Once enough players join, an admin starts the match by clicking the broadcast link or running
/tdm start
- Combat: Fight to reach the target kill count (default: 30 team kills)
- Respawn: When you die, you spectate for a countdown (default: 5 seconds) before respawning
- Victory: First team to reach the kill threshold wins, and detailed statistics are displayed
- Individual points are also awarded for events such as kill and headshot and an individual winner is announced.
Admin Commands
-
/tdm activate [4v4] - Activate a new match
- No argument: Free-for-all mode
4v4: Classic red vs blue mode
- Broadcasts clickable join links to all players
- Sends clickable start link to admins only
-
/tdm start - Manually start the activated match
-
/tdm end - End the current match immediately and display final statistics
-
/tdm setspawn <team> - Set the spawn point for a team
- Stand where you want the spawn point and run the command
- Works for all 10 team colors
- Spawn locations are saved to config.yml
-
/tdm gui - Open the admin control panel
- Activate matches
- View team rosters
- Move players between teams
- Toggle team availability (FFA mode)
- Configure game settings
Configuration
The plugin is highly configurable through config.yml. Key settings include:
Game Settings
wins-needed: Kills required to win (default: 3)
respawn-time: Respawn countdown in seconds (default: 5)
min-players: Minimum players to start (default: 2)
max-players: Maximum players allowed (default: 20)
auto-balance-teams: Enable automatic team balancing
Team Settings
Enable or disable specific teams for FFA mode:
teams:
enabled:
red: true
blue: true
green: false
# ... etc
Scoring
Customize point values for kills, assists, and headshots:
scoring:
kill-points: 20
assist-points: 10
headshot-bonus: 5
Game Rules
friendly-fire: Allow team damage (default: false)
fall-damage: Enable fall damage (default: true)
spectator-death: Keep dead players in spectator mode until respawn (default: true)
Damage Multipliers
Fine-tune damage values:
global-damage-multiplier: Multiply all damage
fall-damage-multiplier: Adjust fall damage
projectile-damage-multiplier: Adjust arrow/crossbow damage
melee-damage-multiplier: Adjust sword/axe damage
Headshot Detection
head-region-percentage: Fraction of entity height considered "head" (default: 0.20 = top 20%)
Sounds
Enable/disable sound effects and adjust volume/pitch:
sounds:
death-sound: true
kill-sound: true
victory-sound: true
sound-volume: 1.0
Class Customization
Each class can be fully customized in config.yml. You can modify existing classes or add new ones:
classes:
# Class identifier (used internally)
sharpshooter:
enabled: true
name: "Sharpshooter" # Display name in GUI
helmet: LEATHER_HELMET
chestplate: LEATHER_CHESTPLATE
leggings: LEATHER_LEGGINGS
boots: LEATHER_BOOTS
weapon: BOW
off-hand: NONE # or SHIELD, etc.
extra-items:
- "ARROW:20" # Format: "MATERIAL:AMOUNT"
enchantments:
- "BOW:POWER:1" # Format: "ITEM:ENCHANTMENT:LEVEL"
health-bonus: 0 # Additional hearts (2 = 1 heart)
armor-bonus: 0 # Additional armor points
To add a new class:
- Copy an existing class section in
config.yml
- Change the class identifier (e.g.,
my_custom_class)
- Customize the name, armor, weapons, and items
- Set
enabled: true
- Reload the server or restart
The plugin will automatically load all enabled classes from the config and display them in the class selection GUI.
Features
- Multiple game modes (4v4 and FFA)
- 4 unique combat classes with distinct playstyles
- Headshot detection for bonus points
- Kill streak tracking and announcements
- Live scoreboard with detailed statistics
- Respawn countdown system
- Assist tracking (damage contributors get credit)
- Admin GUI for easy match management
- Clickable chat messages for quick joining
- Configurable spawn points per team
- Team balancing options
- Comprehensive end-game statistics
- Sound effects for game events
- Tab completion for commands
- Highly configurable through config.yml
Permissions
tdm.admin - Access to admin commands and GUI (default: op)
Requirements
- Minecraft Server: Paper 1.21.1 or compatible fork
- Java: 21 or higher
Installation
- Download the plugin JAR file
- Place it in your server's
plugins folder
- Restart your server
- Configure spawn points with
/tdm setspawn <team>
- Customize settings in
plugins/TeamDeathmatch/config.yml
- Reload with
/reload confirm or restart the server
- Run
/tdm gui to configure matches
评论 0
登录后参与评分
还没有评论,来抢沙发吧