Create a Minecraft plugin named "DNASMP" for Paper (latest version).
CORE IDEA:
Each player gets ONE random DNA on first join. DNA is permanent until death. When a player dies, their DNA drops as an item that can be picked up and used by another player.
IMPORTANT:
Focus on FUN but BALANCED gameplay. Prevent extreme lag or crashes.
---
- DNA SYSTEM:
Assign 1 random DNA (from 30+ types) on first join
Player can only have ONE DNA
No manual change
Stored permanently until death
---
- DNA DROP:
On death:
Drop special glowing item: "<PlayerName>'s DNA" Lore: "<DNA Type>"
Remove DNA from player
Pickup:
If player has no DNA โ assign
If already has DNA โ cancel pickup (default)
---
- DNA ABILITIES (30+ UNIQUE)
๐ฅ SPECIAL (USER REQUESTED - IMPROVED & BALANCED):
Slime DNA:
Ability: Change size (Small / Normal / Giant)
Small โ fast + low hitbox
Giant โ high damage + knockback
Cooldown: 30s
Wither DNA:
Ability: Shoot Wither Skulls (right-click)
Limit: 1 skull per 3 seconds
Explosion radius reduced for balance
Skeleton DNA:
Ability: Arrow Barrage (360ยฐ)
Fires 50 arrows in all directions
Cooldown: 45s
Reduce arrow damage to prevent OP
---
โ๏ธ COMBAT DNA:
Zombie โ Life steal
Creeper โ Controlled explosion
Enderman โ Short teleport
Wither Skeleton โ Wither effect
Iron Golem โ Massive knockback
Pillager โ Rapid crossbow shots
Ravager โ Charge attack
Vindicator โ High crit damage
---
๐ง UTILITY DNA:
Spider โ Wall climbing
Cow โ Regeneration
Wolf โ Speed + tracking
Bee โ Poison sting
Fox โ Jump boost
Cat โ Fall resistance
Slime โ (already above)
---
๐ฅ NETHER DNA:
Blaze โ Fireball + fire immunity
Ghast โ Explosive projectile (slow)
Piglin โ Gold bonus
Hoglin โ Knockback attack
Magma Cube โ Lava immunity + burn aura
Strider โ Lava walking
---
๐ OCEAN DNA:
Dolphin โ Swim speed
Guardian โ Laser attack
Drowned โ Water breathing + trident
Squid โ Ink blindness (escape ability)
Turtle โ Damage resistance underwater
---
๐ RARE / BOSS DNA:
Ender Dragon โ Glide / short flight (limited)
Wither โ (already above)
Warden โ Sonic boom
Elder Guardian โ Mining fatigue aura
Phantom โ Night flight boost
---
- COOLDOWNS & BALANCE:
Every active ability must have cooldown
Configurable values
Limit entity spam (arrows, projectiles, explosions)
Use caps (e.g., max arrows, max entities)
---
- VISUALS:
Particles for each DNA
Sounds on ability use
Glow effect on dropped DNA
---
- COMMANDS:
/dna โ show current DNA
/dna info โ show ability
/dna admin give <player> <dna>
/dna admin remove <player>
/dna reload
---
- CONFIG:
Enable/disable DNA types
Cooldowns
Drop settings
Max entity limits
---
- DATA STORAGE:
YAML or JSON per player
Save on quit, load on join
---
- PERFORMANCE:
Use scheduler tasks efficiently
Avoid lag from arrows/explosions
Optimize for multiplayer PvP servers
---
OUTPUT:
Full Java plugin source code
plugin.yml
config.yml
Clean package structure
Well-commented code
Ensure plugin is stable, optimized, and fun for public servers.
No files in this session