Create a complete Minecraft Paper plugin called "DomainSMP".
Target Minecraft version: 1.21.1+ Platform: Paper Language: Java
PLUGIN CONCEPT:
DomainSMP is a custom SMP progression and ability system inspired by anime-style domain powers. The plugin should feel unique, polished, powerful, and suitable for a public SMP server.
CORE SYSTEM:
- Every player can obtain a unique Domain.
- Domains have Levels 1-10.
- Each Domain has:
1. Passive Ability 2. Active Ability 3. Ultimate / Domain Expansion
- Abilities must have configurable cooldowns.
- Damage, duration, range and effects must all be configurable.
- Players earn Domain XP through gameplay.
- Domain XP increases the Domain level.
- Save player data permanently.
COMMANDS: /domain /domain menu /domain info /domain abilities /domain level /domain select <domain> /domain give <player> <domain> /domain admin /domain reload
GUI:
Create a clean modern inventory GUI for /domain.
Main GUI:
- Player head/profile
- Current Domain
- Domain Level
- Domain XP
- Progress bar
- Ability buttons
- Domain Expansion button
- Statistics
DOMAIN TYPES:
Add these starter Domains:
- Flame Domain
- Passive: Fire Resistance
- Active: Fire Burst
- Ultimate: Flame Domain Expansion
- Feather Domain
- Passive: Reduced Fall Damage
- Active: Wind Dash
- Ultimate: Heavenly Wind Domain
- Shadow Domain
- Passive: Night Vision
- Active: Shadow Dash
- Ultimate: Shadow Domain Expansion
- Thunder Domain
- Passive: Small chance to strike lightning on attack
- Active: Thunder Strike
- Ultimate: Thunder Domain Expansion
- Void Domain
- Passive: Resistance
- Active: Void Pull
- Ultimate: Void Domain Expansion
DOMAIN EXPANSION:
When a player activates their ultimate:
- Create a configurable visual area around the player.
- Apply the Domain's special effects to enemies inside.
- Show particles and sounds.
- Display an action-bar/title message.
- Have a configurable duration.
- Have a configurable cooldown.
- Do not permanently destroy the world.
- Prevent excessive particle/entity usage to protect server TPS.
COMBAT:
- Abilities must work correctly with PvP.
- Respect WorldGuard/protection regions if available.
- Do not allow abilities to bypass protected areas.
- Prevent friendly-fire where configured.
- Add configurable damage limits.
PROGRESSION:
Level 1 starts at 0 XP.
Each level requires more XP.
Unlock stronger effects at higher levels.
Show XP and level-up messages.
Give configurable rewards on level-up.
ADMIN SYSTEM:
Create an admin GUI and commands allowing administrators to:
- Give Domains
- Remove Domains
- Set Domain Level
- Add/remove XP
- Reset player data
- Enable/disable abilities
- Change cooldowns
- Reload configuration
CONFIGURATION:
Put all important values in config.yml:
- Damage
- Cooldowns
- Duration
- Range
- XP requirements
- Particle settings
- Sound settings
- Messages
- Ability settings
- Domain settings
PERMISSIONS: domainsmp.use domainsmp.admin domainsmp.reload domainsmp.give domainsmp.bypass
DATA:
Use SQLite by default.
Store:
- UUID
- Domain
- Level
- XP
- Statistics
- Unlocked abilities
PERFORMANCE:
- Optimize for SMP servers.
- Avoid unnecessary repeating tasks.
- Avoid excessive entities.
- Avoid memory leaks.
- Use efficient event handling.
- Make all major systems configurable.
QUALITY:
- Clean Java architecture.
- Separate classes for Domains, Abilities, GUI, Commands, Data, Managers and Utilities.
- Proper error handling.
- No placeholder code.
- No missing classes.
- Include plugin.yml.
- Include config.yml.
- Include Maven pom.xml or Gradle build files.
- Include complete source code.
- The project must compile successfully.
- Explain how to build the JAR and install it on a Paper server.
IMPORTANT:
Do not create a basic example or prototype.
Create a complete production-ready DomainSMP plugin with a polished player experience.
Now actually build the complete DomainSMP Minecraft Paper plugin.
Do not only explain the plugin or show reasoning.
Generate the complete working Java project with all source files.
I need:
- Complete Java source code
- plugin.yml
- config.yml
- pom.xml
- All required classes
- SQLite database system
- All 5 Domains
- Passive, Active and Ultimate abilities
- Level 1-10 progression
- XP system
- GUI
- Commands
- Permissions
- Admin system
- Configurable cooldowns/damage/range
- Paper 1.21.1+ compatibility
The final project must compile into a working .jar.
Do not give me only a description.
Actually create the complete plugin project/files.
I’ll start by checking the WorldGuard API reference, since region protection checks depend on it.
No files in this session