📎
1 file
6,193 chars
📄
pasted-code-1771859315527.txt
txt
252 lines
▶
pasted-code-1771859315527.txt
txt
252 lines
I need a fully designed and production-ready Minecraft plugin for Java Edition 1.21.11 (Paper/Spigot compatible).
The SMP name is: Curious SMP
The server has 20–30 active players and revolves around an Origins-based power system, kingdom politics, PvP tension, and cinematic world events.
This must be scalable, balanced, and optimized for performance.
--------------------------------------------------
CORE CONCEPT
--------------------------------------------------
The world has “shattered” and players are born with supernatural Origins that grant:
- Passive abilities
- Active abilities (with cooldowns)
- Clear weaknesses for balance
- Awakening upgrades later in the season
The server progresses in 4 phases:
1) Awakening Phase
- PvP disabled
- Players build and form kingdoms
2) Fractures Phase
- PvP enabled outside safe zones
- Tension and minor wars
3) Dominion War Phase
- Full PvP
- Awakening unlocks
- Bounty system active
4) Collapse Phase
- World disasters
- Blood Moons
- Endgame war
--------------------------------------------------
ORIGIN SYSTEM
--------------------------------------------------
There are 3 tiers of origins + 1 unique origin.
COMMON ORIGINS (Unlimited):
- Pyromancer
- Tideborn
- Earthshaper
- Stormcaller
- Floramancer
- Beastkin
- Artificer
- Shadowblade
- Windrunner
- Juggernaut
RARE ORIGINS (Max 2 players each):
- Voidwalker
- Nightborn
- Frostborn
- Gemforged
- Plaguebringer
- Draconic
LEGENDARY ORIGINS (Max 1 player each):
- Celestial
- Ancient Colossus
- Leviathan King
UNIQUE ORIGIN (Hard-locked):
- Psycho
--------------------------------------------------
PSYCHO RULES (VERY IMPORTANT)
--------------------------------------------------
The Psycho origin must NEVER be randomly assigned.
It must ONLY be assigned to the player with username:
RizzStray
Lock by UUID once assigned.
If RizzStray joins after /smpstart:
Automatically assign Psycho.
Psycho mechanics:
- Gains Strength I + 3 hearts on player kill (2 min)
- Has Rampage Mode (Strength II, Speed II for 15 sec, 10 min cooldown)
- Has Insanity Meter (0–100)
- Killing increases insanity
- Not killing for 7 in-game days reduces max health
- At 100 insanity: forced 10-sec rampage trigger
- Cannot officially join kingdoms
- Light sensitivity: slow damage in daylight
- Cannot sleep
Must be strong but counterable.
--------------------------------------------------
ORIGIN ASSIGNMENT SYSTEM
--------------------------------------------------
Add command:
/smpstart
Permission: curious.admin
When executed:
1) Set time to midnight
2) Set weather to thunder
3) Freeze all players (Slowness 255 + Resistance 255)
4) Apply levitation (float 5 blocks)
5) Spawn ritual particles around each player
6) After 10 seconds:
- If player name == "RizzStray" → assign Psycho
- Else assign random origin
Weighted distribution:
- Common = 60%
- Rare = 30%
- Legendary = 10%
Remove origins from pool if:
- Rare already has 2 players
- Legendary already taken
After assignment:
- Particle burst themed to origin
- Title message with origin name
- Remove levitation and freeze effects
Set global variable:
originsActive = true
--------------------------------------------------
AUTO-ASSIGN SYSTEM
--------------------------------------------------
After /smpstart is used:
Whenever a new player joins:
If originsActive == true AND player has no origin:
- Assign origin automatically
- Follow same weighting rules
- Respect origin limits
- Psycho only if username == RizzStray
If player already has origin:
- Do NOT reroll
- Origins permanently tied to UUID
--------------------------------------------------
KINGDOM SYSTEM
--------------------------------------------------
- Minimum 4 players to form kingdom
- Kingdom claim system (chunk-based)
- War declaration command required
- Optional tax system
- Bounty command allowed
- Psycho cannot join kingdoms
--------------------------------------------------
AWAKENING SYSTEM
--------------------------------------------------
Unlock Awakening if:
- Survive 30 in-game days
OR
- 3 player kills
OR
- Participate in major war
Awakening:
- Stronger active ability
- Slight additional weakness
- Cosmetic particle aura
--------------------------------------------------
DEATH SYSTEM
--------------------------------------------------
After 5 total deaths:
- Player loses origin
- Becomes “Originless”
- Must complete quest to regain origin
Prevent infinite stacking exploits.
--------------------------------------------------
WORLD EVENTS (Every 10 In-Game Days)
--------------------------------------------------
Randomly trigger one:
1) Blood Moon
- PvP forced ON
- Abilities 25% stronger
- Mobs stronger
2) Arcane Surge
- Cooldowns reduced 30%
3) Cataclysm
- Lightning storms
- Random explosions
- Environmental chaos
--------------------------------------------------
TECHNICAL REQUIREMENTS
--------------------------------------------------
- Must work on Minecraft Java 1.21.11
- Compatible with Paper
- Efficient performance for 30 players
- Use UUID-based data storage
- Save all origin data persistently
- Config.yml for:
- Cooldowns
- Damage values
- Health modifiers
- Percentages
- Admin commands:
/origincheck
/originset
/originreset
/phase set <1-4>
/bounty
- Prevent duplication glitches
- Prevent re-rolling exploits
- Fully documented code structure
--------------------------------------------------
Now:
1) Design exact stats for every origin (health, damage %, cooldowns).
2) Design Insanity Meter logic mathematically.
3) Provide plugin architecture structure.
4) Provide command structure.
5) Provide example config.yml.
6) Suggest optimization strategies.
7) Ensure no origin is overpowered in 30-player scaling.
Make it balanced, competitive, cinematic, and long-term sustainable.
This is for Curious SMP.
Minecraft Java Edition 1.21.11.
Kodari can make mistakes. Review important code before using.
Files
No files in this session
Code