Marketplace/Gameplay/GodMace

GodMace

minecraftFreev1.0.0

Description

Create a Spigot/Paper plugin named "DivineSmite".
When a player kills an entity using a Mace with a PersistentDataType.BYTE key called "god_mace":
1. Cancel death, strike lightning on the victim.
2. Broadcast to server: "[BAN] [Victim] a été complètement oblitéré(e) par la God Mace de [Attacker] !" (Style: [BAN] is Bold Dark_Red, Names are Red, God Mace is Bold Gold, rest is Gray).
3. If victim is a Player, ban them by Name (Reason: "Smithed by the God Mace (par [Attacker])").
4. Kick them with message: "OBLITÉRÉ(E)!\nVous avez été smithé(e) par la God Mace de [Attacker]." (Line 1 is Bold Dark_Red, Line 2 is Red/Gold).
5. Message attacker: "[Mace] [Victim] a été banni(e) !" ([Mace] is Yellow, rest is Red).
Use modern Adventure Component API cleanly without nesting Component.text() inside itself.

Reviews (0)

No reviews yet

Be the first to leave a review!

Nicolas

Seller

Nicolas

2

downloads

Versionv1.0.0
Platformminecraft
Typespigot
Minecraft VersionMC 1.21
CategoryMinecraft Plugins > Gameplay
Published on08/06/2026
Last update23/06/2026
Free