## BridgeBattle - Minecraft 桥战小游戏插件
**BridgeBattle** 是一个功能完整的 Minecraft 桥战小游戏插件,为您的服务器带来激动人心的团队对战体验!
#### 核心功能
**团队对战系统**
- 红队 vs 蓝队的经典桥战玩法
- 智能匹配系统,支持多人同时匹配
- 2分钟紧张刺激的游戏时间
- 通过踩踏对方颜色混凝土来得分
**完整的游戏体验**
- 自动倒计时系统(2分钟 → 1分钟 → 30秒 → 10秒 → 5、4、3、2、1秒)
- 旁观者模式,游戏进行中可以加入观看
- 队友伤害保护,红队不能攻击红队,蓝队不能攻击蓝队
- 血量恢复系统,掉入虚空或死亡后自动恢复满血
**数据统计系统**
- 实时排行榜显示玩家胜负记录和分数
- 多盔甲架排行榜,每个玩家信息独立显示
- 实时记分板显示当前游戏状态和玩家统计
- 持久化存储,服务器重启后数据不丢失
**管理功能**
- 完整的权限系统(玩家权限 + 管理员权限)
- 灵活的位置设置(等待大厅、队伍出生点)
- 全局记分板开关控制
- 游戏强制开始/结束功能
#### 🌍 多语言支持
- **中文** (默认)
- **English** (完整英文支持)
- 实时语言切换,无需重启服务器
- 管理员命令:`/bb language `
#### ⚙️ 技术特性
- 支持 Minecraft 1.21.4
- 基于 Spigot/Paper API
- Java 21 开发
- 使用 Gradle 构建
- 完整的配置化消息系统
- 高性能的事件处理
#### 🎯 适用场景
- **PvP 服务器** - 为玩家提供竞技对战体验
- **小游戏服务器** - 作为核心小游戏之一
- **社区服务器** - 增加玩家互动和娱乐性
- **竞技服务器** - 支持排名和统计系统
#### 📋 命令列表
**玩家命令**
- `/bb join` - 加入匹配队列
- `/bb leave` - 离开匹配/游戏
- `/bb` - 显示帮助信息
**管理员命令**
- `/bb setlobby` - 设置等待大厅
- `/bb setteamspawn ` - 设置队伍出生点
- `/bb start` - 强制开始游戏
- `/bb stopgame` - 强制结束游戏
- `/bb scoreboard` - 开关全局记分板
- `/bb ranking` - 创建排行榜
- `/bb ranking off` - 删除附近排行榜
- `/bb language ` - 切换语言
- `/bb reload` - 重载插件配置
#### 🔧 安装说明
1. 下载 `BridgeBattle-1.0.0.jar` 文件
2. 放入服务器的 `plugins` 文件夹
3. 重启服务器
4. 使用管理员命令设置游戏位置
5. 开始享受桥战游戏!
---
**BridgeBattle** is a feature-complete Minecraft bridge battle minigame plugin that brings exciting team-based combat to your server!
#### 🎮 Core Features
**Team Battle System**
- Classic Red Team vs Blue Team bridge battle gameplay
- Smart matchmaking system supporting multiple players
- Intense 2-minute game sessions
- Score by stepping on opponent-colored concrete blocks
**Complete Gaming Experience**
- Automatic countdown system (2min → 1min → 30sec → 10sec → 5,4,3,2,1sec)
- Spectator mode - join ongoing games to watch
- Team damage protection - teammates cannot harm each other
- Health restoration system - auto-heal when falling into void or dying
**Data & Statistics System**
- Real-time leaderboard displaying player win/loss records and scores
- Multi-armor stand leaderboard with individual player information
- Live scoreboard showing current game status and player statistics
- Persistent storage - data survives server restarts
**Administrative Features**
- Complete permission system (player + admin permissions)
- Flexible location setup (lobby, team spawn points)
- Global scoreboard toggle control
- Force start/end game functionality
#### 🌍 Multi-Language Support
- **Chinese** (default)
- **English** (full English support)
- Real-time language switching without server restart
- Admin command: `/bb language `
#### ⚙️ Technical Features
- Supports Minecraft 1.21.4
- Built on Spigot/Paper API
- Developed with Java 21
- Gradle build system
- Complete configurable message system
- High-performance event handling
#### Perfect For
- **PvP Servers** - Provide competitive battle experience
- **Minigame Servers** - Core minigame functionality
- **Community Servers** - Increase player interaction and entertainment
- **Competitive Servers** - Ranking and statistics support
#### 📋 Command List
**Player Commands**
- `/bb join` - Join matchmaking queue
- `/bb leave` - Leave matchmaking queue/game
- `/bb` - Show help information
**Admin Commands**
- `/bb setlobby` - Set lobby location
- `/bb setteamspawn ` - Set team spawn points
- `/bb start` - Force start game
- `/bb stopgame` - Force end game
- `/bb scoreboard` - Toggle global scoreboard
- `/bb ranking` - Create leaderboard display
- `/bb ranking off` - Remove nearby leaderboard
- `/bb language ` - Switch language
- `/bb reload` - Reload plugin configuration
#### 🔧 Installation
1. Download `BridgeBattle-1.0.0.jar` file
2. Place in server's `plugins` folder
3. Restart server
4. Use admin commands to set up game locations
5. Start enjoying bridge battles!