Marketplace/Mini-games/PVPMODE+

PVPMODE+

minecraftFreev1.0.0

Description

Create a Minecraft Paper/Spigot plugin (version 1.20+ compatible) with the following system:

Core Feature:

* Players KEEP their inventory when dying from natural causes (fall damage, lava, mobs, etc.)
* Players LOSE their inventory ONLY if they die while in PvP combat

Combat System:

* When Player A hits Player B, BOTH players enter "PvP mode"
* PvP mode lasts 30 seconds
* If a player gets hit again during PvP mode, the timer resets to 30 seconds
* After 30 seconds without being hit, PvP mode ends automatically

Behavior:

* While in PvP mode:

* If the player dies → they DROP all items
* While NOT in PvP mode:

* If the player dies → they KEEP all items (like keepInventory true)

Requirements:

* Must override default Minecraft keepInventory behavior
* Must detect if death was caused by a player vs natural causes
* Must track PvP status per player independently
* Must reset PvP timer on every hit
* Must work with multiplayer servers

Extra Features:

* Show a countdown timer (action bar or boss bar) during PvP mode
* Send messages:

* "You are now in PvP!" when entering combat
* "You are no longer in PvP." when timer ends
* Config file:

* Change PvP duration (default 30 seconds)
* Toggle messages on/off

Performance:

* Optimized, no lag
* No memory leaks
* Clean code structure

Optional (if possible):

* Prevent combat logging (optional punishment or message)

Output:

* Full plugin code
* plugin.yml
* instructions on how to install and use

Reviews (0)

No reviews yet

Be the first to leave a review!

Seller

Ben Breitinger

0

downloads

Versionv1.0.0
Platformminecraft
Typepaper
Minecraft VersionMC 1.21
CategoryMinecraft Plugins > Mini-games
Published on21/03/2026
Last update21/04/2026
Free