Generate Best Practicecore Plugin Includes In This Prompt
๐
1 file
38,174 chars
๐
LEGENDARY GOD-LEVEL MASTER PROMPT.md
md
3620 lines
โถ
LEGENDARY GOD-LEVEL MASTER PROMPT.md
md
3620 lines
# LEGENDARY GOD-LEVEL MASTER PROMPT
# ADVANCED PRACTICE CORE โ PREMIUM CATPVP-STYLE PRACTICE NETWORK
## ROLE
You are an expert Minecraft Java/Paper developer, PvP-engine architect, matchmaking engineer, GUI designer, database engineer, anti-exploit developer, arena-system developer, and performance engineer.
Build a complete premium Minecraft Practice Core called:
# AdvancedPracticeCore
The plugin must provide the complete experience of a modern competitive PvP practice server in a **single Minecraft server**.
Do NOT build a cross-server architecture.
Do NOT require Velocity, BungeeCord, Redis, or multiple servers.
Everything must run inside ONE Paper server.
The server can contain multiple worlds for isolation:
```text
practice_lobby
practice_duels
practice_ffa
practice_party
practice_events
```
World names must be configurable.
The plugin should feel polished, fast, intuitive, competitive, and attractive enough to be used as a premium commercial Practice Core.
---
# 1. IMPORTANT ORIGINALITY RULE
The plugin may be inspired by the gameplay flow and feature set of established practice networks such as CatPvP.
However:
- Do not copy proprietary source code.
- Do not copy private/internal implementation.
- Do not copy copyrighted assets.
- Do not use CatPvP branding.
- Do not pretend this plugin is CatPvP.
- Do not reproduce protected artwork.
Instead, independently implement equivalent functionality and a similarly polished competitive PvP experience.
---
# 2. CORE DESIGN
This is NOT a simple duel plugin.
It must be a complete Practice Network Core containing:
```text
Lobby
Duel
Ranked
Unranked
Queue
Matchmaking
Party
Party FFA
Party Split
Party vs Party
FFA
Kit Editor
Kit Creator
Arena Creator
Arena Manager
Arena Protection
Visual WorldBorder
Anti-Escape
Anti-Grief
Spectator
Rematch
Best Of
ELO
Ranks
Statistics
Leaderboards
Match History
Events
Tournaments
Bots
Sumo
Boxing
Bridge
Spleef
TNT Tag
BedWars
Custom Modes
NPCs
Holograms
Scoreboard
TAB
PlaceholderAPI
Menus
Cosmetics
Sounds
Database
Recovery
Staff Mode
Developer API
Addon API
```
Everything must work together.
---
# 3. SINGLE-SERVER WORLD ARCHITECTURE
All gameplay occurs on one Paper server.
Use separate configurable worlds:
```text
practice_lobby
practice_duels
practice_ffa
practice_party
practice_events
```
Example:
```yaml
worlds:
lobby: practice_lobby
duels: practice_duels
ffa: practice_ffa
party: practice_party
events: practice_events
```
World names must NOT be hardcoded.
---
# 4. WORLD PURPOSE
## Lobby World
Contains:
- Spawn
- NPCs
- Holograms
- Ranked NPC
- Unranked NPC
- Party NPC
- FFA NPC
- Statistics NPC
- Leaderboard NPC
- Kit Editor NPC
- Cosmetics NPC
No PvP.
No block breaking.
No block placing.
No item dropping.
No damage.
No hunger.
No weather damage.
---
# 5. DUEL WORLD
All 1v1 and normal team matches happen here.
A single world can contain many arenas.
Example:
```text
practice_duels
โโโ arena_01
โโโ arena_02
โโโ arena_03
โโโ arena_04
โโโ arena_05
```
Each arena has independent boundaries and state.
---
# 6. FFA WORLD
Dedicated FFA world.
Possible arenas:
```text
ffa_01
ffa_02
ffa_03
```
Players can freely fight inside configured FFA boundaries.
---
# 7. PARTY WORLD
Party matches use:
```text
practice_party
```
This keeps party gameplay isolated from normal duels.
Support:
- Party FFA
- Party Split
- Party Duel
- Party vs Party
- Party events
---
# 8. EVENT WORLD
Events such as:
```text
Sumo
Bridge
Spleef
TNT Tag
BedWars
Tournament
LMS
KOTH
```
can use:
```text
practice_events
```
or dedicated configurable worlds.
---
# 9. PLAYER STATE ENGINE
A player must have one authoritative state.
Possible states:
```text
LOBBY
QUEUEING
DUEL_REQUEST
FIGHTING
SPECTATING
FFA
PARTY
PARTY_FFA
PARTY_SPLIT
EVENT
TOURNAMENT
KIT_EDITOR
STAFF
```
Every system must check player state before performing actions.
A player fighting cannot accidentally:
- Join queue
- Enter FFA
- Open kit editor
- Send another duel
- Join another party
- Break lobby blocks
- Receive another match
---
# 10. LOBBY PLAYER EXPERIENCE
On joining:
```text
Join
โ
Load profile
โ
Teleport to lobby
โ
Apply lobby state
โ
Give configured hotbar
โ
Show scoreboard
โ
Update TAB
โ
Enable lobby visibility
```
Default hotbar:
```text
Slot 0 = Unranked
Slot 1 = Ranked
Slot 2 = Party
Slot 3 = Kit Editor
Slot 4 = Statistics
Slot 5 = FFA
Slot 6 = Cosmetics
Slot 7 = Settings
Slot 8 = Profile
```
Everything configurable.
---
# 11. MAIN GUI
Create a polished practice selector.
Sections:
```text
UNRANKED
RANKED
DUEL
PARTY
FFA
KIT EDITOR
PROFILE
STATISTICS
LEADERBOARDS
COSMETICS
SETTINGS
```
Display live information.
Example:
```text
UNRANKED
NoDebuff
Players Queueing: 7
Fighting: 12
Click to queue
```
---
# 12. UNRANKED
Support:
```text
NoDebuff
Debuff
BuildUHC
Boxing
Sumo
Gapple
Classic
Axe
Sword
Crystal
Combo
UHC
Mace
Bridge
Custom kits
```
Commands:
```text
/queue
/queue
/queue unranked
/unranked
```
---
# 13. RANKED
Every ranked kit has separate ELO.
Example:
```text
NoDebuff: 1542
Boxing: 1712
BuildUHC: 1431
Crystal: 1820
```
Commands:
```text
/ranked
/ranked
/queue ranked
```
---
# 14. QUEUE SYSTEM
Support:
```text
Unranked 1v1
Ranked 1v1
Party Unranked
Party Ranked
```
Queue state:
```text
WAITING
MATCHING
FOUND
REMOVING
```
Prevent duplicate queue entries.
---
# 15. SMART MATCHMAKING
Ranked:
```text
Start:
ยฑ50 ELO
10 sec:
ยฑ100
20 sec:
ยฑ200
30 sec:
ยฑ300
60 sec:
maximum configured range
```
Matchmaking considers:
1. Same kit
2. Same mode
3. Compatible team size
4. ELO
5. Queue time
6. Optional ping
7. Optional region
Since this is a single server, do NOT implement cross-server matching.
---
# 16. QUEUE GUI
When queued show:
```text
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ RANKED QUEUE โ
โ โ
โ Kit: NoDebuff โ
โ ELO: 1542 โ
โ Rank: Diamond โ
โ Players: 8 โ
โ Queue Time: 00:17 โ
โ โ
โ [ LEAVE QUEUE ] โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
```
Update intelligently without unnecessary inventory recreation.
---
# 17. OPPONENT FOUND
When matchmaking succeeds:
```text
Opponent Found!
```
Show:
```text
You
vs
Opponent
Kit
ELO
Rank
```
Then:
```text
Reserve Arena
โ
Teleport
โ
Prepare Inventory
โ
Countdown
โ
FIGHT
```
---
# 18. DUEL SYSTEM
Commands:
```text
/duel
/duel
```
Normal duel flow:
```text
Select player
โ
Kit selector
โ
Arena/settings
โ
Send request
โ
Accept
โ
Match
```
---
# 19. DUEL SETTINGS
Support:
```text
Kit
Arena
Best Of
Ranked
Unranked
```
Best-of:
```text
BO1
BO3
BO5
BO7
```
---
# 20. PARTY SYSTEM
Create a complete party framework.
Commands:
```text
/party
/party create
/party invite
/party accept
/party deny
/party leave
/party kick
/party promote
/party demote
/party disband
/party info
/party chat
/pc
```
Roles:
```text
Leader
Moderator
Member
```
---
# 21. PARTY GUI
Party GUI:
```text
Members
Invite
Party Duel
Party Queue
Party FFA
Party Split
Settings
Party Chat
Disband
```
Member items display:
```text
Name
Head
Role
Online status
Ping
```
---
# 22. PARTY VS PARTY
Allow parties to fight other parties.
Supported:
```text
2v2
3v3
4v4
5v5
6v6
Custom
```
Flow:
```text
Party Leader
โ
Party Duel
โ
Select opponent
โ
Select kit
โ
Select best-of
โ
Select arena
โ
Confirm
โ
Match
```
---
# 23. PARTY QUEUE
Support:
```text
Party Ranked
Party Unranked
```
Match parties with compatible sizes.
Example:
```text
3-player party
โ
3-player party
```
Do not automatically mix team sizes unless configured.
---
# 24. PARTY FFA
THIS IS REQUIRED.
Create a dedicated Party FFA mode.
A party enters an FFA arena together.
Rules:
- Same party members can fight each other if friendly fire is enabled.
- Party members can remain grouped.
- Optional party-only scoreboard.
- Kill/death statistics.
- Party FFA leaderboard.
- Configurable friendly-fire rules.
Commands:
```text
/party ffa
/partyffa
```
GUI:
```text
Party
โ
Party FFA
โ
Select Arena
โ
Confirm
```
---
# 25. PARTY SPLIT
THIS IS REQUIRED.
Party Split allows one party to split its members into opposing teams.
Example:
```text
Party = 8 players
Team A:
Player1
Player2
Player3
Player4
Team B:
Player5
Player6
Player7
Player8
```
Support:
```text
2 teams
3 teams
4 teams
Custom
```
Split modes:
```text
Automatic
Manual
Leader Select
Random
Balanced
```
Balanced mode should attempt to distribute players fairly using configured criteria.
---
# 26. PARTY SPLIT GUI
Flow:
```text
Party
โ
Party Split
โ
Select Mode
โ
Select Kit
โ
Select Team Size
โ
Select Arena
โ
Confirm
```
Manual team GUI:
```text
TEAM 1
Player A
Player B
Player C
TEAM 2
Player D
Player E
Player F
```
Allow drag/click-based assignment.
---
# 27. PARTY FFA GUI
Display:
```text
FFA Arena
Players
Party Members
Friendly Fire
Kit
```
---
# 28. FFA SYSTEM
Dedicated FFA.
Commands:
```text
/ffa
/ffa join
/ffa leave
/ffa stats
```
Features:
- Multiple arenas
- Instant respawn
- Kill streak
- Combo
- Kill counter
- Death counter
- Leaderboard
- Spawn protection
- Combat tag
- Configurable rewards
---
# 29. ARENA CREATOR
Create a SMART arena creation system.
Do not require editing dozens of YAML coordinates manually.
Command:
```text
/arena create
```
Then guide administrator through setup:
```text
Step 1:
Select world
Step 2:
Set spawn 1
Step 3:
Set spawn 2
Step 4:
Set spectator spawn
Step 5:
Set minimum boundary
Step 6:
Set maximum boundary
Step 7:
Select compatible kits
Step 8:
Select arena type
Step 9:
Confirm
```
Arena types:
```text
DUEL
TEAM_DUEL
FFA
PARTY
PARTY_FFA
PARTY_SPLIT
SUMO
BRIDGE
SPLEEF
TNT_TAG
BEDWARS
EVENT
```
---
# 30. SMART ARENA AUTO DETECTION
When creating an arena, automatically validate:
- Spawn distance
- World existence
- Boundary size
- Spawn inside boundary
- Arena overlap
- Invalid locations
- Duplicate arena names
- Missing reset provider
- World protection
Warn administrators before saving.
---
# 31. ARENA BUILDER WIZARD
Support:
```text
/arena setup
```
Interactive wizard.
Example:
```text
Arena Setup: NoDebuff-01
[1] Set Spawn 1
[2] Set Spawn 2
[3] Set Spectator
[4] Set Boundary
[5] Set Kits
[6] Set Rules
[7] Save
[8] Cancel
```
---
# 32. ARENA AUTO ASSIGNMENT
Matchmaker automatically finds:
```text
Compatible
Available
Enabled
Correct type
Correct size
```
arena.
Arena states:
```text
AVAILABLE
RESERVED
IN_USE
RESETTING
DISABLED
```
---
# 33. ARENA PROTECTION
THIS IS CRITICAL.
Players must NOT be able to escape arenas using:
- Pearl glitches
- Block glitches
- Corner exploits
- Jump exploits
- Knockback exploits
- Water/lava movement
- Trapdoors
- Pistons
- Vehicles
- Elytra
- Ender pearls
- World border exploits
Use multiple protection layers.
---
# 34. VISUAL WORLDBORDER SYSTEM
Create a configurable visual arena boundary.
The player should see a clear visual border around the arena.
It should behave like a WorldBorder but can be independently controlled per arena.
Example:
```text
Arena Boundary
โโโโโโโโโโโโโโโโ
โ โ
โ FIGHT โ
โ โ
โโโโโโโโโโโโโโโโ
```
Players cannot cross the boundary.
---
# 35. SMART BORDER
When player approaches border:
```text
Warning
โ
Movement restriction
โ
Push back / teleport
โ
Damage if configured
```
Configurable:
```yaml
border:
visual: true
warning-distance: 3
pushback: true
teleport-back: true
damage: false
```
---
# 36. ANTI-ESCAPE
Create a server-side arena boundary independent of visual effects.
Even if visual border fails:
```text
Server-side boundary
```
still prevents escape.
Every player movement must be validated efficiently.
Do NOT run expensive checks every tick for every player globally.
Only check players in active bounded matches.
---
# 37. ANTI-GRIEF
Prevent players from modifying protected arena infrastructure.
Depending on kit rules:
```text
Allow block place
Allow block break
```
can be enabled.
For example:
```text
BuildUHC:
build = true
```
while:
```text
NoDebuff:
build = false
```
Only allow modifications inside the arena's permitted region.
---
# 38. BUILD PROTECTION
If building is enabled:
Players may only:
- Place allowed blocks
- Break allowed blocks
- Modify temporary match blocks
Never allow them to modify:
- Arena structure
- Spawn area if protected
- Border
- Outside region
- Other matches
---
# 39. TEMPORARY BLOCK TRACKING
For build modes, track blocks placed/changed during a match.
At match end:
```text
Restore original state
```
No permanent arena griefing.
---
# 40. KIT CREATOR
Create a SMART KIT CREATION SYSTEM.
Command:
```text
/kit create
```
Wizard:
```text
Kit Name
โ
Display Name
โ
Icon
โ
Inventory
โ
Armor
โ
Offhand
โ
Effects
โ
Rules
โ
Queue availability
โ
Ranked availability
โ
FFA availability
โ
Match rules
โ
Save
```
---
# 41. KIT CREATOR GUI
Allow administrators to create/edit kits completely in-game.
Buttons:
```text
Inventory
Armor
Offhand
Effects
Rules
Statistics
Queue Settings
Ranked Settings
Display
Save
Reset
Delete
```
---
# 42. KIT RULES
Each kit can configure:
```text
build
break
pearls
potions
food
projectiles
blocks
hunger
fall damage
fire damage
void damage
natural regeneration
friendly fire
respawn
death
```
---
# 43. EFFECT SYSTEM
Support two categories.
## Permanent Effects
Effects active independently of matches.
Example:
```text
Lobby speed
FFA effects
Custom rank effects
```
## Match Effects
Effects applied only while fighting.
Example:
```text
NoDebuff:
Speed
Resistance
```
When match ends:
```text
Remove match effects
Restore permanent effects
```
Never accidentally remove a player's permanent configured effect.
---
# 44. KIT EFFECT CONFIGURATION
Example:
```yaml
effects:
permanent:
enabled: false
match:
- SPEED:1
```
Support:
```text
Potion amplifier
Duration
Particles
Icon
Ambient
```
---
# 45. SUMO
Fully support Sumo.
Features:
- Small platform
- Knockback
- Void detection
- Automatic round reset
- Best-of
- Ranked/unranked
- ELO
- Spectators
- Rematch
- Statistics
---
# 46. BOXING
Support Boxing.
Features:
- Hit counter
- Combo
- No normal damage or configurable damage
- Knockback
- Hit cooldown
- Best-of
- Ranked/unranked
- ELO
---
# 47. BRIDGE
Fully support Bridge.
Features:
- Team objectives
- Goal detection
- Bridging
- Blocks
- Death
- Respawn
- Score
- Best-of
- Arena reset
- Spectator
- Team selection
Score example:
```text
Blue 2 - 1 Red
```
---
# 48. SPLEEF
Support Spleef.
Features:
- Breakable floor
- Shovel/tools
- Void detection
- Round reset
- Best-of
- Spectators
- Arena rollback
Only configured blocks may be broken.
---
# 49. TNT TAG
Support TNT Tag.
Features:
- Random TNT carrier
- Countdown
- Tag transfer
- Explosion
- Elimination
- Round progression
- Spectator
- Arena reset
- Configurable player count
---
# 50. BEDWARS PRACTICE
Support a lightweight BedWars Practice mode.
Features:
- Teams
- Beds
- Respawn while bed exists
- Bed destruction
- Resource generation if configured
- Block placement
- Block breaking
- Shop/inventory integration
- Team elimination
- Victory
- Arena reset
Do not attempt to clone another plugin's proprietary BedWars implementation.
Build an independent practice-oriented system.
---
# 51. CUSTOM GAME MODE API
All modes must use a generic game-mode interface.
Example:
```java
PracticeGameMode
```
Implement:
```text
NoDebuffMode
BoxingMode
SumoMode
BridgeMode
SpleefMode
TNTTagMode
BedWarsMode
FFA_Mode
```
External addons can create new modes.
---
# 52. MATCH ENGINE
Generic match lifecycle:
```text
CREATING
PREPARING
COUNTDOWN
FIGHTING
ROUND_END
NEXT_ROUND
FINISHING
CLEANUP
COMPLETED
```
Never allow duplicate completion.
---
# 53. MATCH SNAPSHOT
Before match save:
```text
Inventory
Armor
Offhand
Health
Food
XP
Level
Effects
Location
GameMode
Fire
Flight
Fall distance
```
After match restore exactly.
---
# 54. MATCH COUNTDOWN
Default:
```text
5
4
3
2
1
FIGHT!
```
Configurable.
Freeze players until FIGHT.
---
# 55. BEST OF
Support:
```text
BO1
BO3
BO5
BO7
BO9
```
Display score.
Example:
```text
PlayerA 2 - 1 PlayerB
```
---
# 56. MATCH TIMER
Support:
```yaml
match:
time-limit: 600
```
At timeout:
```text
Draw
Sudden Death
Highest Health
Configured Winner
```
---
# 57. REMATCH
After match:
```text
REMATCH
SPECTATE
LOBBY
```
Both must accept.
Configurable timeout.
---
# 58. SPECTATOR
Support:
```text
/spec
/spec
/spec leave
```
Spectators:
- Invisible
- Fly
- No collision
- Cannot interact
- Cannot pickup items
- Cannot modify blocks
---
# 59. SPECTATOR GUI
Show players/matches.
For tournaments:
```text
Match #1
Match #2
Match #3
```
Click to spectate.
---
# 60. RANKED RATING
Separate rating per kit.
Example:
```text
NoDebuff = 1500
Boxing = 1720
Crystal = 1810
```
Default:
```text
Starting = 1000
K = 32
```
Configurable.
---
# 61. RANKS
Default:
```text
Bronze
Silver
Gold
Platinum
Diamond
Master
Grandmaster
Champion
```
All configurable.
Each rank supports:
```text
Minimum ELO
Maximum ELO
Prefix
Display name
Color
Icon
Permission
```
---
# 62. RANK PROGRESSION
When ELO changes:
```text
Calculate new rating
โ
Determine rank
โ
Detect rank-up/rank-down
โ
Play sound
โ
Display message
โ
Update scoreboard
โ
Update TAB
```
---
# 63. PLACEMENT MATCHES
Optional.
Example:
```text
5 matches
```
Show:
```text
Placement 3/5
```
Calculate initial rating.
---
# 64. STATISTICS
Track globally:
```text
Wins
Losses
Kills
Deaths
K/D
Win Rate
Matches
Streak
Best Streak
Highest ELO
```
Per kit:
```text
Wins
Losses
Kills
Deaths
ELO
Highest ELO
Streak
Best Streak
```
---
# 65. MATCH HISTORY
Store:
```text
Match ID
Date
Mode
Kit
Arena
Players
Teams
Winner
Loser
Duration
Rounds
ELO changes
```
GUI pagination.
---
# 66. LEADERBOARDS
Support:
```text
Top ELO
Top Wins
Top Kills
Top Win Rate
Top Streak
Top FFA Kills
Top Party Wins
```
Commands:
```text
/leaderboard
/leaderboard
```
Support GUI and hologram displays.
---
# 67. NPC SYSTEM
Support NPC integrations.
NPC actions:
```text
OPEN_MENU
OPEN_RANKED
OPEN_UNRANKED
OPEN_PARTY
OPEN_FFA
OPEN_STATS
OPEN_LEADERBOARD
OPEN_KIT_EDITOR
QUEUE
COMMAND
```
Example lobby:
```text
[ RANKED ]
[ UNRANKED ]
[ PARTY ]
[ FFA ]
[ STATS ]
```
---
# 68. HOLOGRAM SYSTEM
Support:
```text
Top ELO
Top Wins
Top Kills
Queue Count
FFA Players
Online Players
```
Update efficiently using cached data.
---
# 69. PLACEHOLDERAPI
Create a complete expansion.
General:
```text
%practice_online%
%practice_players%
%practice_fighting%
%practice_queueing%
%practice_version%
```
Player:
```text
%practice_player_name%
%practice_player_uuid%
%practice_player_wins%
%practice_player_losses%
%practice_player_kills%
%practice_player_deaths%
%practice_player_kdr%
%practice_player_winrate%
%practice_player_streak%
%practice_player_beststreak%
%practice_player_matches%
%practice_player_elo%
%practice_player_highestelo%
%practice_player_rank%
```
State:
```text
%practice_player_state%
%practice_player_inqueue%
%practice_player_infight%
%practice_player_ffa%
%practice_player_party%
%practice_player_spectating%
```
Queue:
```text
%practice_queue_total%
%practice_queue_ranked%
%practice_queue_unranked%
%practice_queue_%
%practice_ranked_queue_%
%practice_unranked_queue_%
```
Per-kit:
```text
%practice_elo_%
%practice_wins_%
%practice_losses_%
%practice_kills_%
%practice_deaths_%
%practice_streak_%
%practice_beststreak_%
%practice_rank_%
%practice_winrate_%
%practice_matches_%
```
Match:
```text
%practice_match_id%
%practice_match_kit%
%practice_match_arena%
%practice_match_duration%
%practice_match_round%
%practice_match_score%
%practice_match_opponent%
%practice_match_state%
```
Party:
```text
%practice_party_size%
%practice_party_leader%
%practice_party_members%
%practice_party_state%
%practice_party_mode%
```
FFA:
```text
%practice_ffa_kills%
%practice_ffa_deaths%
%practice_ffa_streak%
%practice_ffa_arena%
%practice_ffa_players%
```
Modes:
```text
%practice_mode%
%practice_game_type%
```
Leaderboards:
```text
%practice_top__elo%
%practice_top__wins%
%practice_top__kills%
```
---
# 70. SCOREBOARD
Create dynamic state-specific scoreboards.
## Lobby
```text
PRACTICE
Online: %practice_online%
Rank: %practice_player_rank%
ELO: %practice_player_elo%
Wins: %practice_player_wins%
Losses: %practice_player_losses%
play.example.com
```
## Queue
```text
PRACTICE
Mode: Ranked
Kit: NoDebuff
ELO: 1542
Queue: 5
Time: 00:17
/leavequeue
```
## Match
```text
PRACTICE
Kit: NoDebuff
You
vs
Opponent
Score: 2 - 1
Time: 03:24
play.example.com
```
## FFA
```text
FFA
Kills: 18
Deaths: 4
Streak: 7
Players: 24
```
## Party
```text
PARTY
Leader: Player
Members: 5
Mode: Party FFA
```
Everything configurable.
---
# 71. TAB SYSTEM
Create smart TAB support.
Header:
```text
&b&lPRACTICE
&7Competitive PvP
```
Footer:
```text
Online: %practice_online%
```
Player display:
```text
[Rank] Player
```
Optional tab sorting:
```text
Staff
Rank
Players
Spectators
```
Support state-based prefixes.
---
# 72. PLAYER VISIBILITY
Lobby visibility settings:
```text
Show All
Hide Players
Friends Only
```
Optional visibility item.
Do not affect combat visibility.
---
# 73. KIT EDITOR
Players can edit permitted kits.
Command:
```text
/kiteditor
```
Flow:
```text
Select Kit
โ
Edit Inventory
โ
Save
โ
Restore Default
```
---
# 74. ADMIN KIT CREATOR
Administrators can create actual kits in-game.
Commands:
```text
/kit create
/kit edit
/kit delete
/kit list
```
---
# 75. ARENA COMMANDS
```text
/arena create
/arena setup
/arena edit
/arena delete
/arena list
/arena enable
/arena disable
/arena reset
/arena info
```
---
# 76. PRACTICE COMMANDS
```text
/practice
/practice help
/practice reload
/practice info
/practice debug
/practice health
/practice queues
/practice matches
```
---
# 77. DUEL COMMANDS
```text
/duel
/duel
/duel accept
/duel deny
```
---
# 78. FFA COMMANDS
```text
/ffa
/ffa join
/ffa leave
/ffa stats
```
---
# 79. PARTY COMMANDS
```text
/party
/party create
/party invite
/party accept
/party deny
/party leave
/party kick
/party promote
/party demote
/party disband
/party info
/party chat
/party duel
/party queue
/party ffa
/party split
```
---
# 80. STAT COMMANDS
```text
/stats
/stats
/profile
/history
/history
/leaderboard
```
---
# 81. STAFF COMMANDS
```text
/staff
/staff inspect
/staff freeze
/staff spectate
/practice forceend
/practice resetstats
/practice setelo
/practice addelo
```
---
# 82. PERMISSIONS
Create:
```text
practice.use
practice.duel
practice.queue
practice.ranked
practice.unranked
practice.party
practice.partyffa
practice.partysplit
practice.ffa
practice.spectate
practice.stats
practice.history
practice.kiteditor
practice.kit.admin
practice.arena.admin
practice.events
practice.tournament
practice.staff
practice.admin
practice.reload
practice.debug
practice.bypass
practice.forceend
```
---
# 83. DATABASE
Support:
```text
SQLite
MySQL
MariaDB
```
Repositories:
```text
PlayerRepository
StatisticsRepository
MatchRepository
RatingRepository
PartyRepository
KitRepository
```
Use connection pooling.
All database operations asynchronous.
Never block the main server thread.
---
# 84. DATA RECOVERY
Protect against:
```text
Server crash
Player disconnect
Database timeout
Plugin shutdown
Arena reset failure
Match cleanup failure
```
Players must never remain permanently:
```text
FIGHTING
QUEUEING
SPECTATING
```
after a failure.
---
# 85. INVENTORY RESTORATION
Use a safe restoration manager.
Example:
```text
PlayerStateSnapshot
```
Save and restore:
```text
Inventory
Armor
Offhand
Health
Food
XP
Effects
Location
GameMode
Fire
Flight
```
Permanent effects must survive restoration.
---
# 86. ARENA RESTORATION
For build modes:
```text
Capture
โ
Match
โ
Track modifications
โ
Restore
โ
Mark arena available
```
Never allow an arena to return to AVAILABLE before restoration finishes.
---
# 87. WORLD BORDER IMPLEMENTATION
Implement both:
### Visual Layer
WorldBorder-style visible boundary.
### Logic Layer
Actual server-side movement validation.
The logic layer must still work even if a client ignores or bypasses the visual border.
---
# 88. BORDER GLITCH PROTECTION
Specifically test:
```text
Ender Pearl through border
Pearl into corner
Knockback outside
Block clipping
Trapdoor clipping
Water pushing
Piston pushing
Vehicle movement
Elytra
Teleport
Chorus Fruit
```
Configured illegal escape behavior:
```text
Teleport back
Push back
Damage
Warning
Cancel movement
```
---
# 89. KIT-SPECIFIC WORLD RULES
Every kit can define:
```text
PVP
BUILD
BLOCK_BREAK
BLOCK_PLACE
PEARLS
POTIONS
FOOD
PROJECTILES
FIRE
VOID
FALL_DAMAGE
HUNGER
REGEN
```
---
# 90. CUSTOM MODE FRAMEWORK
A mode must be able to define:
```text
Rules
Win condition
Lose condition
Respawn
Score
Round
Arena requirements
Inventory
Effects
Damage
Build rules
```
This allows future modes without rewriting MatchManager.
---
# 91. EVENTS
Support:
```text
Sumo
LMS
KOTH
Bracket
Juggernaut
Tournaments
TNT Tag
Spleef
Bridge
BedWars
```
Each mode must be independently configurable.
---
# 92. TOURNAMENTS
Support:
```text
8
16
32
64
128
```
players.
Formats:
```text
Single Elimination
Double Elimination
Round Robin
```
Configurable kit and best-of.
---
# 93. COSMETICS
Support:
```text
Kill Effects
Victory Effects
Death Effects
Trails
Projectile Effects
Join Effects
Chat Effects
```
Create cosmetic API.
---
# 94. SOUNDS
Configurable:
```text
Queue Join
Opponent Found
Countdown
Fight
Kill
Round Win
Match Win
Match Loss
ELO Gain
ELO Loss
Rank Up
Duel Request
Party Invite
```
---
# 95. GUI ACTION ENGINE
Support:
```text
[CLOSE]
[BACK]
[OPEN]
[COMMAND]
[PLAYER]
[CONSOLE]
[QUEUE]
[QUEUE_RANKED]
[QUEUE_UNRANKED]
[DUEL]
[PARTY]
[PARTY_FFA]
[PARTY_SPLIT]
[FFA]
[SPECTATE]
[SOUND]
[MESSAGE]
[TELEPORT]
```
Allow multiple actions.
---
# 96. PAGINATION
Reusable pagination for:
```text
Kits
Players
Matches
History
Leaderboards
Arenas
Party Members
Spectators
```
---
# 97. CONFIGURATION FILES
Generate:
```text
config.yml
messages.yml
kits.yml
arenas.yml
queues.yml
ranked.yml
ranks.yml
parties.yml
ffa.yml
events.yml
tournaments.yml
menus.yml
scoreboards.yml
sounds.yml
cosmetics.yml
database.yml
worlds.yml
permissions.yml
```
---
# 98. GUI FILES
Menus must be configurable independently.
Example:
```text
main.yml
ranked.yml
unranked.yml
duel.yml
party.yml
party-split.yml
party-ffa.yml
ffa.yml
profile.yml
stats.yml
history.yml
leaderboard.yml
kit-editor.yml
settings.yml
```
---
# 99. PLACEHOLDER-DRIVEN GUI
Every GUI item can display:
```text
Queue Count
ELO
Rank
Wins
Losses
Players
Fight Count
```
using PlaceholderAPI.
---
# 100. GUI SAFETY
Never trust GUI slot clicks blindly.
Validate:
```text
Menu ID
Current state
Player state
Item action
Permission
Kit existence
Arena availability
```
Prevent stale-menu exploits.
---
# 101. ANTI-EXPLOIT
Protect:
```text
Inventory duplication
Kit duplication
Death duplication
Disconnect duplication
Spectator interaction
Arena escape
Queue spoofing
Party abuse
Match desynchronization
Illegal commands
```
---
# 102. COMBAT TAG
Configurable.
Example:
```yaml
combat-tag:
enabled: true
duration: 15
```
Disconnect behavior:
```text
Loss
Win
Penalty
```
---
# 103. PARTY FRIENDLY FIRE
Configurable per mode.
Examples:
```text
Party FFA:
enabled
Party Split:
disabled
Party vs Party:
disabled
```
---
# 104. PARTY LEADER CONTROLS
Only leader or authorized moderator can:
```text
Start Party Queue
Start Party Duel
Start Party FFA
Start Party Split
Change settings
Disband party
```
---
# 105. PARTY SPLIT BALANCING
Balanced split may consider:
```text
ELO
Skill
Wins
Configured weight
```
Do not make balancing mandatory.
Provide:
```text
Random
Balanced
Manual
```
---
# 106. MATCHMAKING QUEUE PRIORITY
When finding matches:
```text
Exact kit
Exact mode
Compatible team size
Closest rating
Longest wait
```
Avoid starvation.
---
# 107. SMART QUEUE COUNTERS
Queue counters must represent real active queue entries.
Do not count:
- Offline players
- Stale sessions
- Players already matched
- Players leaving queue
---
# 108. SMART SCOREBOARD
Scoreboard must change based on player state automatically.
Example:
```text
LOBBY โ lobby scoreboard
QUEUE โ queue scoreboard
MATCH โ match scoreboard
FFA โ FFA scoreboard
PARTY โ party scoreboard
SPECTATOR โ spectator scoreboard
```
No manual command required.
---
# 109. SMART TAB
TAB updates automatically when:
```text
Join
Queue
Match
Spectate
FFA
Party
Leave
```
Player prefixes and suffixes update dynamically.
---
# 110. PLAYER PROFILE GUI
Tabs:
```text
Overview
Ranked
Unranked
Kits
FFA
Party
History
Achievements
```
---
# 111. HEALTH CHECK
Command:
```text
/practice health
```
Display:
```text
Core: ONLINE
Database: ONLINE
Arena Manager: OK
Match Manager: OK
Queue Manager: OK
Kit Manager: OK
Party Manager: OK
FFA Manager: OK
PlaceholderAPI: ENABLED
WorldEdit: ENABLED/DISABLED
FAWE: ENABLED/DISABLED
Vault: ENABLED/DISABLED
```
---
# 112. DEBUG
Command:
```text
/practice debug
```
Show:
```text
Active Matches
Queue Size
Active Arenas
Resetting Arenas
Online Profiles
Cache Size
Tasks
Database Latency
```
---
# 113. PERFORMANCE
Target:
```text
100+ concurrent players
Many active matches
Large queues
Multiple FFA players
Multiple party matches
```
Avoid:
```text
Global every-tick loops
Synchronous SQL
Unnecessary packet spam
World-wide scans
Repeated inventory reconstruction
Repeated database queries
```
Use:
```text
Events
Caches
Scheduled tasks
Async database operations
Efficient collections
Per-match tasks
```
---
# 114. THREAD SAFETY
MAIN THREAD:
```text
Player
World
Inventory
Teleport
Block
Entity
Bukkit/Paper API
```
ASYNC:
```text
Database
Non-Bukkit calculations
Leaderboard calculations
```
Never perform unsafe Bukkit operations asynchronously.
---
# 115. API
Create:
```java
PracticeAPI
PlayerAPI
MatchAPI
QueueAPI
PartyAPI
KitAPI
ArenaAPI
FFAAPI
EventAPI
StatisticsAPI
RatingAPI
CosmeticAPI
```
External addons can register:
```text
Custom Kits
Custom Modes
Custom Match Rules
Custom Queues
Custom GUI Actions
Custom Placeholders
Custom Cosmetics
Custom Events
Custom Arena Providers
```
---
# 116. CUSTOM EVENTS API
Provide:
```text
PracticePlayerJoinEvent
PracticePlayerQuitEvent
PracticeQueueJoinEvent
PracticeQueueLeaveEvent
PracticeMatchCreateEvent
PracticeMatchStartEvent
PracticeMatchEndEvent
PracticeRoundStartEvent
PracticeRoundEndEvent
PracticePlayerKillEvent
PracticePlayerDeathEvent
PracticeEloChangeEvent
PracticeDuelRequestEvent
PracticePartyCreateEvent
PracticePartyDisbandEvent
PracticePartySplitEvent
PracticePartyFFAEvent
PracticeArenaReserveEvent
PracticeArenaResetEvent
PracticeKitCreateEvent
PracticeTournamentStartEvent
PracticeTournamentEndEvent
```
---
# 117. INTEGRATIONS
Optional:
```text
PlaceholderAPI
Vault
WorldEdit
FAWE
ProtocolLib
TAB
Citizens
FancyHolograms
Multiverse
LuckPerms
```
No cross-server dependency.
---
# 118. PERMANENT PLAYER DATA
Persist:
```text
Statistics
ELO
Ranks
Kit layouts
Settings
Cosmetics
Achievements
Language
```
---
# 119. TEMPORARY MATCH DATA
Never persist temporary match state permanently unless required for crash recovery.
Temporary:
```text
Match
Queue
Spectator
Countdown
Arena reservation
```
---
# 120. SHUTDOWN PROCEDURE
When server shuts down:
```text
Stop new queues
Stop new matches
Safely end active matches
Restore players
Reset arenas
Save profiles
Close database
Cancel tasks
```
No players should be trapped in duel worlds.
---
# 121. RELOAD
Use:
```text
/practice reload
```
Never rely on Bukkit `/reload`.
Reload only safe configuration.
Do not destroy active matches.
---
# 122. TESTING REQUIREMENT
Test every major system.
## DUEL
```text
Request
Accept
Reject
Start
Fight
Death
Round
Win
Cleanup
Rematch
```
## QUEUE
```text
Join
Leave
Match
Disconnect
Duplicate join
```
## PARTY
```text
Create
Invite
Accept
Kick
Promote
Duel
Queue
FFA
Split
Disband
```
## ARENA
```text
Create
Setup
Reserve
Fight
Reset
Reuse
```
## BORDER
Test:
```text
Pearl
Knockback
Teleport
Block
Piston
Water
Vehicle
Elytra
Corner
```
## KIT
Test:
```text
Create
Edit
Save
Load
Effects
Rules
```
## MODES
Test:
```text
Sumo
Boxing
Bridge
Spleef
TNT Tag
BedWars
```
---
# 123. CODE QUALITY
The final source must contain:
- Clean classes
- Interfaces
- Services
- Managers
- Repositories
- Events
- Proper lifecycle
- Exception handling
- Null safety
- Thread safety
Avoid:
```text
God classes
Static everything
Duplicated code
Hardcoded configuration
Magic numbers
Fake APIs
Unused methods
Memory leaks
```
---
# 124. BUILD SYSTEM
Use Gradle.
Generate:
```text
settings.gradle
build.gradle
gradle.properties
```
Final:
```text
AdvancedPracticeCore-x.x.x.jar
```
---
# 125. DOCUMENTATION
Generate:
```text
README.md
INSTALLATION.md
CONFIGURATION.md
COMMANDS.md
PERMISSIONS.md
PLACEHOLDERS.md
KIT_CREATION.md
ARENA_CREATION.md
PARTY_GUIDE.md
API.md
ADDON_API.md
TROUBLESHOOTING.md
```
---
# 126. FINAL USER EXPERIENCE
The complete experience should be:
```text
PLAYER JOINS
โ
LOBBY
โ
PRACTICE MENU
โ
RANKED / UNRANKED / PARTY / FFA
โ
KIT
โ
QUEUE
โ
SMART MATCHMAKING
โ
OPPONENT FOUND
โ
ARENA RESERVATION
โ
TELEPORT
โ
COUNTDOWN
โ
FIGHT
โ
ROUND
โ
MATCH RESULT
โ
ELO / STATS
โ
REMATCH / SPECTATE / LOBBY
```
Party:
```text
CREATE PARTY
โ
INVITE
โ
PARTY GUI
โ
PARTY DUEL
PARTY QUEUE
PARTY FFA
PARTY SPLIT
โ
SELECT MODE
โ
SELECT KIT
โ
SELECT ARENA
โ
MATCH
โ
RESULT
```
FFA:
```text
FFA
โ
ARENA
โ
FIGHT
โ
KILL
โ
RESPAWN
โ
CONTINUE
```
Special modes:
```text
SUMO
BOXING
BRIDGE
SPLEEF
TNT TAG
BEDWARS
```
must use the same professional infrastructure.
---
# 127. MASTER QUALITY STANDARD
The plugin should feel like a serious premium practice product.
When a player opens a menu, it should immediately be obvious:
- What mode they are selecting
- How many players are queued
- What their ELO is
- What their rank is
- What will happen after clicking
- How to leave
- How to return
No confusing GUI behavior.
No dead buttons.
No broken placeholders.
No inconsistent states.
No accidental item loss.
No arena escape.
No permanent arena grief.
No duplicate matches.
No stale queue entries.
No lost statistics.
No permanent effects being deleted by match cleanup.
---
# 128. FINAL AI IMPLEMENTATION METHOD
Do NOT generate the entire project blindly in one pass.
Use this exact development order:
```text
PHASE 1
Project architecture
Gradle
Plugin bootstrap
PHASE 2
Player/session system
Database
Profile cache
PHASE 3
Kit system
Kit creator
Kit editor
Effects
Rules
PHASE 4
Arena system
Arena creator
Arena wizard
Arena protection
Visual borders
Rollback
PHASE 5
Match engine
Round engine
Death
Cleanup
Recovery
PHASE 6
Unranked queues
Ranked queues
Matchmaking
ELO
Ranks
PHASE 7
Duel GUI
Queue GUI
Ranked GUI
Unranked GUI
PHASE 8
Party system
Party GUI
Party duel
Party queue
Party FFA
Party split
PHASE 9
FFA
PHASE 10
Sumo
Boxing
Bridge
Spleef
TNT Tag
BedWars
PHASE 11
Spectator
Rematch
History
Statistics
PHASE 12
NPC
Hologram
PlaceholderAPI
Scoreboard
TAB
PHASE 13
Events
Tournaments
Bots
Cosmetics
PHASE 14
Admin
Staff
Debug
Health
PHASE 15
API
Addon API
Documentation
PHASE 16
Testing
Performance
Security
Recovery
Final audit
```
After EVERY phase:
```text
Compile
Test
Review
Fix
Continue
```
Never move forward while the previous subsystem has fundamental bugs.
---
# FINAL COMMAND TO THE CODING AI
Build **AdvancedPracticeCore** as a complete, independent, production-grade, single-server Minecraft Practice Core.
It must combine:
**Ranked + Unranked + Queue + Matchmaking + Duel + Party + Party FFA + Party Split + Party vs Party + FFA + Sumo + Boxing + Bridge + Spleef + TNT Tag + BedWars + Kit Creator + Kit Editor + Smart Arena Creator + Arena Rollback + Visual WorldBorder + Anti-Escape + Anti-Grief + ELO + Ranks + Statistics + History + Leaderboards + Spectator + Rematch + NPC + Holograms + PlaceholderAPI + Smart Scoreboard + Smart TAB + Events + Tournaments + Bots + Cosmetics + Database + Recovery + API + Addon System.**
Everything must operate inside one Paper server with separate configurable worlds.
Make the GUI, queue flow, lobby experience, scoreboard, TAB, matchmaking, party system, and match lifecycle feel like a polished top-tier competitive practice network.
The goal is not merely to have many features.
The goal is to make every feature **connect correctly**.
A player should be able to move from:
```text
Lobby
โ Queue
โ Matchmaking
โ Arena
โ Fight
โ Result
โ ELO
โ Statistics
โ Rematch
โ Lobby
```
without encountering state errors, item loss, arena corruption, broken GUI actions, broken placeholders, or stuck player states.
Build the system like an expert commercial Minecraft plugin developer would.
**Do not fake functionality.**
**Do not leave core TODOs.**
**Do not copy proprietary code.**
**Do not hardcode the entire system.**
**Do not create a cross-server system.**
**Do not sacrifice stability for feature count.**
Priority:
**CORRECTNESS โ STABILITY โ PERFORMANCE โ SECURITY โ EXTENSIBILITY โ PLAYER EXPERIENCE โ COSMETICS**
Deliver a genuinely usable premium Practice Core.
KodariAug 28 at 5:36 am 5
AdvancedPracticeCore
AdvancedPracticeCore is a comprehensive single-server Minecraft practice plugin delivering a premium competitive PvP experience. It features ranked and unranked matchmaking with smart ELO-based pairing, a complete duel system with best-of support, and an extensive party framework including party FFA, split, and party vs party modes. The plugin includes dedicated FFA arenas, specialized game modes like Sumo, Boxing, Bridge, Spleef, TNT Tag, and BedWars, plus a full kit editor and creator. It provides robust arena management with visual world borders, anti-escape protection, and block rollback. Players benefit from ELO rankings, statistics tracking, match history, leaderboards, and a dynamic scoreboard and TAB system. The plugin features configurable GUIs, NPCs, holograms, PlaceholderAPI expansion, cosmetics, sounds, and a complete admin/staff toolkit, all backed by a safe SQLite/MySQL database with crash recovery.
Create the Gradle Paper project and plugin metadata.
Implement the bootstrap and configuration service for configurable single-server worlds.
Add production defaults for core/world settings.
Created the Gradle Paper project foundation.
Added plugin bootstrap with centralized configuration loading.
Added configurable lobby, duel, FFA, party, and event world names.
Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
settings.gradle
Code
8 159
src/main/java/com/advancedpracticecore/AdvancedPracticeCore.java
package com.advancedpracticecore;
import com.advancedpracticecore.config.ConfigurationManager;
import org.bukkit.plugin.java.JavaPlugin;
public final class AdvancedPracticeCore extends JavaPlugin {
private ConfigurationManager configurationManager;
@Override
public void onEnable() {
this.configurationManager = new ConfigurationManager(this);
this.configurationManager.load();
getLogger().info("AdvancedPracticeCore " + getDescription().getVersion() + " enabled.");
}
@Override
public void onDisable() {
getLogger().info("AdvancedPracticeCore disabled.");
}
public ConfigurationManager getConfigurationManager() {
return configurationManager;
}
}