๐
1 file
1,373 chars
๐
lifesmp_prompt.txt
txt
71 lines
โถ
lifesmp_prompt.txt
txt
71 lines
Create a fully functional Minecraft Paper plugin for version 1.21.1
using Java (Paper).
PLUGIN CONCEPT: This plugin is for an SMP server where players have
limited lives and can gain extra lives by killing others.
CORE FEATURES:
1. STARTING ITEMS:
- On first join, give player 1 Mace
- Only once per player
2. LIVES SYSTEM:
- Starting lives: 3
- Max lives: 6
3. DEATH SYSTEM:
- On death: -1 life
- At 0 lives: ban player
- Ban message: โYou have lost all your lives. You are eliminated from
the SMP.โ
4. KILL REWARDS:
- Killer gets: +1 life (if below max) 1 Nether Star
- If at max: only Nether Star
5. LIFE ITEM:
- Nether Star acts as life item
- Right-click = +1 life (if below max)
- Consume item
- If max lives: show โYou already have maximum lives!โ
6. DATA STORAGE:
- Use YAML or PersistentDataContainer
- Must persist after restart
7. COMMANDS:
- /lives โ shows current lives
- /setlives Permission: lifesmp.admin
8. PERMISSIONS:
- lifesmp.admin
9. MESSAGES:
- All configurable in config.yml
10. STRUCTURE:
- Main class
- Event listeners
- Command handlers
11.Life
life should be show above the hot bar
OUTPUT: - Full Java code - plugin.yml - config.yml
OPTIONAL: - Scoreboard - Action bar updates - Cooldown on Nether Star
GOAL: Hardcore Life SMP system for PvP survival gameplay.
KodariMar 17 at 12:36 pm 100 (v2)
The generation was stopped before any content could be produced.
Kodari can make mistakes. Review important code before using.
Files
No files in this session
Code