Marketplace/Admin Tools/HeadBan-2.0

HeadBan-2.0

minecraftFreev1.0.0

Description

Create a Minecraft Paper plugin (API version 1.21+) with the following behavior:

CORE MECHANIC:
- When a player is killed by another player (PvP only), the victim drops their own player head.
- If the player dies from any other cause (mob, fall, lava, etc.), nothing happens.

HEAD ITEM:
- The dropped item must be a PLAYER_HEAD with the correct skin of the dead player.
- The head must store the victim’s UUID using PersistentDataContainer and a NamespacedKey.
- This tag must uniquely identify the head as a special “HeadBan” head.

BAN SYSTEM:
- When a player is killed by another player, they are permanently banned (no expiration date).
- The ban reason should be: "Banned until your head is placed!"
- The player must be kicked immediately after death with a clear message.
UNBAN SYSTEM:
- When a player places the special head block, the plugin should:
1. Read the UUID stored in the head
2. Find the corresponding player
3. Remove their ban immediately
4. Broadcast a message: "<pla

Reviews (0)

No reviews yet

Be the first to leave a review!

Adam Nowak

Seller

Adam Nowak

0

downloads

Versionv1.0.0
Platformminecraft
Typepaper
Minecraft VersionMC 1.21
CategoryMinecraft Plugins > Admin Tools
Published on18/04/2026
Last update21/04/2026
Free