# 🔥 ThreeOrDie — ULTRA EXTREME MASTER PLUGIN MASTER PROMPT
Create a **production-ready, fully functional, highly optimized Minecraft Spigot/Paper plugin** named:
**ThreeOrDie**
Version: Minecraft 1.20+
Target: 50+ concurrent players
Goal: ZERO bugs, fully stable, modular, maintainable, visually appealing, AI-ready.
---
## 🔹 MODULE STRUCTURE & CONFIG
* Every system/module has its **own configuration section or file**, fully configurable.
Modules:
* Combat → combat.yml
* Teams → teams.yml
* Admin → admin.yml
* Events → events.yml
* Border → border.yml
* Revive → revive.yml
* Revive Item → revive-item.yml
* Troll commands → troll.yml
* Logout system → logout.yml
* TAB → tab.yml
* Config allows enabling/disabling, times, limits, effects, colors, and custom messages.
* Modular: each module can function independently or be toggled off.
---
## 🔹 CORE LIVES SYSTEM
* Default lives: 3 (configurable)
* Display: GREEN HEARTS (❤) in ACTION BAR
* Lives lost only from:
* PvP death
* Combat log
* At 0 lives → Spectator or ban (configurable)
* Admin team is **excluded** from lives system.
---
## 🔹 TEAM SYSTEM (ADMIN CONTROLLED)
* Max team size: 3 players per team
* Admins can assign/remove teams. Players cannot join themselves.
* Commands:
```
/tod team create
/tod team assign
/tod team remove
/tod team delete
```
* **Friendly Fire**: teammates can fight each other but **do not lose lives**
* Config example:
```yaml id="ky64v3"
team-friendly-fire: true
team-friendly-fire-lose-lives: false
max-team-kills-per-minute: 5
```
---
## 🔹 ADMIN SYSTEM
* Admins are in a special team "ADMIN"
* Admins:
* No lives
* Not affected by PvP, events, border, or combat system
* Hidden from TAB and player lists
* Nametag above head hidden
* Can see everything
* Optional: fake chat name "ADMIN"
* Config:
```yaml id="4ckt8s"
admin-anonymous-name: "ADMIN"
admin-visible-to-admins: true
```
---
## 🔹 COMBAT SYSTEM
* Combat timer: 30s (configurable)
* Players enter combat on hit, timer resets each hit
* BossBar:
* Title: "⚔ In Combat"
* Red, smooth, no flicker
* Combat log system:
* Logout in combat → spawn zombie
* Zombie wears player head + same HP
* Zombie killed → 1 life lost
* Friendly-fire team kills → no lives lost
* Restrict commands during combat: /spawn, /home, /warp (configurable)
---
## 🔹 EVENTS SYSTEM
* Command: `/tr3 event `
* Event types: glowing, strength 2, speed 2, slowness, blindness
* Applies to non-admins only
* Configurable durations and effects
* Broadcast message on start/end
---
## 🔹 WORLD BORDER SYSTEM
* Commands:
```
/tod border start
KodariApr 5 at 4:21 pm 28,384 (v2)
I’ll create a comprehensive, production-ready ThreeOrDie plugin with all requested features.
ThreeOrDie
An extreme survival plugin with a 3-life system, team mechanics, combat logging, admin tools, revive beacons, world border shrinking, server events, troll commands, and a modern dashboard-style TAB system. Features include friendly-fire team combat without life loss, craftable revive items with GUI, logout penalties, and comprehensive admin controls. Fully modular and configurable for 50+ concurrent players.
ThreeOrDie plugin created successfully!
✅ Complete feature set implemented:
Lives system with action bar hearts
Team system (max 3 players, admin-controlled, friendly-fire without life loss)
Admin system (hidden, anonymous, excluded from mechanics)
Combat system (30s timer, bossbar, combat logging with zombie spawn)
Events system (glowing, strength, speed, slowness, blindness)
World border system (shrinking, finale mode)
Revive system (admin commands + craftable beacon item)
Revive beacon GUI (displays recipe and crafting instructions)