Create a complete, production-ready Minecraft Java Edition plugin named LiStar SMP.
The plugin is a 4-Life Star SMP with a personal random Ability Star system, animated Life Stars, cinematic spawn/revive animations, and Shift + Right Click ability activation.
---
- LIFE STAR SYSTEM
- Every new player starts with 4 Life Stars (★).
- Life Stars are displayed above the player's hotbar using the Action Bar.
- Do NOT use hearts ("❤" / "♥") for the life display.
- Use Star symbols such as:
"★★★★" "★★★" "★★" "★"
- The Life Star display must be animated.
Example:
"★★★☆ | Lives: 3"
The exact display format must be configurable in "config.yml".
Kill System
When Player A kills Player B:
- Player A receives +1 Life Star.
- Player B loses -1 Life Star.
- The transferred Life Star comes from the victim and is given to the killer.
- Update both players' Action Bars immediately.
When a player gains a Star:
"★★★☆ → ★★★✦ → ★★★★"
When a player loses a Star:
"★★★★ → ★★★✦ → ★★★☆"
Add:
- Star animation
- Particles
- Sound
- Optional title/message
The animation should last approximately 1–2 seconds and be configurable.
---
- FOUR-LIFE ELIMINATION SYSTEM
Every player has 4 starting Life Stars.
When a player reaches 0 Life Stars:
- Automatically switch the player to Spectator Mode.
- Display a cinematic elimination animation.
- Show:
NO LIFE STARS LEFT
YOU ARE ELIMINATED
The player must not be able to return to Survival normally.
Admins can revive the player using:
"/listar revive <player>"
---
- ANIMATED LIFE STAR DISPLAY
The Life Star counter must always appear above the hotbar.
Example:
"★★★★"
or
"★★★☆"
Do NOT use heart symbols.
The display should have smooth animation.
When gaining a Star:
"★★★☆ → ★★★✦ → ★★★★"
When losing a Star:
"★★★★ → ★★★✦ → ★★★☆"
Features:
- Smooth animation
- Star particles
- Sound effects
- Configurable animation speed
- Configurable Star symbols
- Configurable messages
- Configurable sounds
- Configurable particles
---
- PERSONAL ABILITY STAR
Every player receives one unique personal Ability Star.
IMPORTANT:
The Ability Star is completely separate from Life Stars.
The Ability Star:
- Belongs only to its assigned player.
- Cannot be transferred to another player.
- Cannot be traded.
- Cannot be dropped.
- Cannot be put into chests.
- Cannot be stored in containers.
- Cannot be duplicated.
- Must not transfer after death.
- Must not become another player's Ability Star.
- Must be permanently linked to the player's UUID.
Use PersistentDataContainer / custom NBT to identify the Ability Star.
Do NOT identify it only using the item display name.
---
- RANDOM ABILITY SYSTEM
When a completely new player joins the SMP for the first time:
- Randomly assign them ONE Ability Star.
- The ability must be randomly selected.
- Any player can receive any ability.
- Multiple players may receive the same ability unless configured otherwise.
- Once assigned, the ability must be permanently saved.
- Relogging must NOT change the ability.
- Server restart must NOT change the ability.
Create at least 6 different abilities.
Example abilities:
- Speed Star
Temporarily gives the player increased movement speed.
- Strength Star
Temporarily gives increased attack damage.
- Regeneration Star
Gives temporary regeneration.
- Teleport Star
Allows the player to teleport a configurable short distance.
- Fire Star
Provides fire-related powers and/or fire resistance.
- Shadow Star
Provides temporary invisibility/stealth effects.
Make the ability system modular so more abilities can easily be added later.
---
- ABILITY ACTIVATION
ALL abilities must be activated using:
SHIFT + RIGHT CLICK
Requirements:
- Player must hold their personal Ability Star in their main hand.
- Player must press Shift + Right Click.
- Normal Right Click must NOT activate the ability.
- Shift + Right Click should detect the Ability Star and activate the assigned ability.
- If the item belongs to another player, it must NOT activate.
- Cooldown must be checked before activation.
- Ability cannot be spammed during cooldown.
When activated:
- Play ability-specific sound.
- Create particles.
- Show title/action bar.
- Activate the ability.
- Start cooldown.
- Show remaining cooldown when appropriate.
Example:
"SHIFT + RIGHT CLICK"
↓
"🔥 FIRE STAR"
↓
"ABILITY ACTIVATED!"
↓
"Cooldown: 60s"
All cooldowns and durations must be configurable.
---
- ABILITY REVEAL / SKY ANIMATION
When a player receives their Ability Star for the first time:
- Teleport the player to a configurable location high in the sky.
- Temporarily prevent movement.
- Start a cinematic ability-reveal animation.
- Use particles, sounds and effects.
- Reveal the random Ability Star.
- Give the player their personal Ability Star.
- Display a title.
Example:
YOUR STAR
🔥 FIRE STAR
Then:
ABILITY UNLOCKED!
After the animation:
- Safely return the player to the normal SMP spawn/location.
- Unlock movement.
- Start normal gameplay.
The sky/reveal location must be configurable.
---
- ABILITY STAR ITEM
Create a custom item:
★ Ability Star
The item should have:
- Custom name
- Custom lore
- Enchantment glow
- Custom Model Data support
- Unique PersistentDataContainer ID
- Owner UUID
- Ability type
Example lore:
"★ Ability Star"
"Ability: Fire Star"
"Owner: <player>"
"This Star belongs only to you."
The item must be protected against:
- Dropping
- Trading
- Container storage
- Duplication
- Item cloning
- Death drops
- Hopper movement
- Inventory exploits
---
- PLAYER DEATH SYSTEM
When a player dies:
- Remove exactly 1 Life Star.
- If there is a valid player killer, transfer that Star to the killer.
- The victim's personal Ability Star remains assigned to them.
- The Ability Star must NOT drop.
- The Ability Star must NOT transfer to the killer.
If the death is caused by:
- Fall damage
- Lava
- Void
- Fire
- Mob
- Other environmental damage
make this behavior configurable.
For environmental deaths, the server owner should be able to configure whether a Life Star is removed.
Only a valid player killer should receive the transferred Life Star.
---
- REVIVE SYSTEM
Admin command:
"/listar revive <player>"
When a player is revived:
Do NOT instantly put them into Survival.
Instead create a cinematic Revive Animation.
Steps:
- Teleport the player to a configurable Revive Location.
- Temporarily lock movement.
- Protect them from damage.
- Create magical/star particles around them.
- Play cinematic sounds.
- Slowly reveal their Life Stars.
- Show a Star animation.
Example:
"☆ → ✦ → ★ → ★★ → ★★★ → ★★★★"
Then show:
★ REVIVED ★
YOUR JOURNEY CONTINUES!
After the animation:
- Put player into Survival Mode.
- Unlock movement.
- Restore configured number of Life Stars.
- Update the Action Bar.
- Allow normal gameplay.
The entire animation must be configurable.
---
- FIRST SPAWN ANIMATION
When a player joins the SMP for the FIRST TIME:
Do not instantly spawn them normally.
Play a cinematic spawn animation.
Steps:
- Teleport player to a configured spawn/reveal location.
- Temporarily lock movement.
- Create particles around the player.
- Play sounds.
- Show stars/energy effects.
- Display:
WELCOME TO LiSTAR SMP
YOUR JOURNEY BEGINS...
Then reveal their Life Stars.
If Ability Star assignment happens during first spawn, play the Ability Reveal animation.
After the animation:
- Teleport player to normal SMP spawn.
- Unlock movement.
- Start normal gameplay.
The first-spawn status must be saved in the database so the animation does NOT play every time the player relogs.
---
- BAN / NEW PLAYER SYSTEM
If a player is banned or permanently removed:
- Their personal Ability Star must NOT be transferred.
- Their Ability Star must NOT automatically be given to another player.
- A completely new player must receive a new randomly generated Ability Star.
- Never duplicate an old player's Ability Star.
Use UUID-based data storage.
---
- COMMANDS
Create:
"/listar"
"/listar help"
"/listar lives <player>"
"/listar setlives <player> <amount>"
"/listar addlife <player>"
"/listar removelife <player>"
"/listar revive <player>"
"/listar ability <player>"
"/listar setability <player> <ability>"
"/listar randomize <player>"
"/listar menu"
"/listar reload"
Admin commands must require:
"listar.admin"
---
- GUI
Create an optional:
"/listar menu"
GUI showing:
- Player's current Life Stars
- Ability Star
- Current Ability
- Ability description
- Cooldown
- Ability status
Use a clean SMP-style Minecraft GUI.
---
- CONFIG.YML
Make everything configurable.
Include:
- Starting Life Stars
- Maximum Life Stars
- Star symbols
- Star animation
- Action Bar format
- Ability types
- Ability cooldowns
- Ability duration
- Ability reveal location
- Spawn location
- Revive location
- Spawn animation duration
- Revive animation duration
- Sounds
- Particles
- Titles
- Messages
- Environmental death rules
- Duplicate ability rules
- Spectator settings
- Ability Star name
- Ability Star lore
- Custom Model Data
---
- DATA STORAGE
Use reliable persistent storage.
Prefer SQLite for production.
Store:
- Player UUID
- Player name
- Life Stars
- Ability type
- Ability Star ownership
- First-spawn status
- Cooldowns
- Required player data
Always use UUID as the primary identifier, NOT player name.
Data must survive:
- Relog
- Server restart
- Server crash
- Death
---
- EXPLOIT PROTECTION
The plugin must prevent:
- Life Star duplication
- Ability Star duplication
- Ability Star trading
- Ability Star dropping
- Chest storage
- Hopper storage
- Death duplication
- Item cloning
- Inventory exploits
- Relog exploits
- Restart exploits
- Ability duplication
- Random ability reassignment on relog
The plugin should be carefully event-safe.
---
- VISUAL QUALITY
Make the plugin feel like a professional high-quality SMP plugin.
Use:
- Animated Stars
- Particles
- Sounds
- Titles
- Subtitles
- Action Bar
- Ability-specific effects
- Cinematic spawn animation
- Cinematic revive animation
- Cinematic ability reveal
All animations should be smooth and optimized.
Avoid excessive particle spawning that can cause server lag.
---
- CODE STRUCTURE
Write clean, modular and maintainable code.
Separate systems into classes/modules such as:
- LifeManager
- AbilityManager
- AbilityStarManager
- PlayerDataManager
- DeathListener
- KillListener
- SpawnManager
- ReviveManager
- AnimationManager
- CommandManager
- GUIManager
- ConfigManager
Make it easy to add new abilities in the future.
---
- FINAL REQUIREMENTS
Provide the complete working plugin including:
- Full source code
- plugin.yml
- config.yml
- SQLite database system
- Life Star system
- Animated Life Star display
- Kill/Death Life Star transfer
- 0-Life Spectator system
- Personal Ability Star
- 6 random abilities
- Shift + Right Click activation
- Ability cooldown system
- Sky Ability Reveal animation
- First Spawn animation
- Revive animation
- Admin commands
- GUI
- Permissions
- Exploit protection
- README
- Installation instructions
The final result should be production-ready, optimized, bug-resistant, and easy to expand with more Star abilities later.
IMPORTANT:
The Life Star system uses ★ Stars, NOT hearts.
Every Ability Star power is activated using SHIFT + RIGHT CLICK.
The Ability Star is personal and permanently bound to its owner.