Marketplace/Gameplay/Deathnote

Deathnote

minecraftFreev1.0.0

Description

You are an expert Java developer specializing in Minecraft Paper plugins (Paper 1.21).

Create a production-ready plugin called "DeathNote".

CORE IDEA:
Inspired by the anime Death Note, this plugin gives players a special book that can kill other players by writing their name inside it.

FEATURES:

1. COMMAND:
- /deathnote
- Gives the player a written book named: "&0&lDeath Note"
- Lore: "&7The human whose name is written in this note shall die..."

2. KILL SYSTEM:
- When a player writes another player's exact username in the book and signs it:
- Instantly kill that player
- Ignore armor, health, and potion effects
- Must work anywhere on the server (no distance limit)
- Optional: lightning strike effect on the victim

3. COOLDOWN:
- 30-minute cooldown (1800 seconds) per player between each kill
- If player tries during cooldown:
- Cancel the action
- Send: "&cThe Death Note is not ready yet..."
- Cooldown must persist after relog (use UUID system)

4. BOOK HANDLING:
- Detect when a book is signed/edited (PlayerEditBookEvent)
- Read the name written inside
- Validate:
- Player must be online
- Cannot kill yourself
- Name must be valid
- After successful use:
- Either clear the book OR consume it (configurable)

5. PERMISSIONS:
- deathnote.use → required to use command and book

6. CONFIG (config.yml):
- cooldown: 1800
- consume-book: true/false
- lightning-effect: true/false
- customizable messages

7. CODE REQUIREMENTS:
- Clean, modular Java
- Use Paper API
- UUID-based cooldown tracking
- Optimized and thread-safe
- No memory leaks

8. OUTPUT:
- Full source code
- plugin.yml included
- Ready to compile into a working .jar

BONUS (if possible):
- Custom death message: "<player> had their name written in the Death Note."
- Optional immunity list (admins cannot be killed)
- Sound and particle effects on death

If anything is unclear, make reasonable assumptions and document them.

Reviews (0)

No reviews yet

Be the first to leave a review!

Uwamo Uwamo

Seller

Uwamo Uwamo

0

downloads

Versionv1.0.0
Platformminecraft
Typepaper
Minecraft VersionMC 1.21
CategoryMinecraft Plugins > Gameplay
Published on28/03/2026
Last update21/04/2026
Free