Marketplace/Gameplay/Random killeffect

Random killeffect

minecraftFreev1.0.0

Description

Create a Minecraft Paper plugin (latest version, 1.20+ / 1.21 compatible) with the following behavior:

CORE MECHANIC:

* When a player kills another player (PvP only), the killer receives a RANDOM potion effect.
* Effects must be PERMANENT.

IMPORTANT (CRITICAL REQUIREMENT):

* Effects MUST NOT be removable by:

* Drinking milk
* Dying
* Relogging
* Server restart
* If an effect is removed for ANY reason, it must be automatically re-applied immediately.

STACKING:

* Effects stack:

* If player already has the effect → increase amplifier by +1
* Otherwise → give level 1
* Respect a configurable MAX level per effect

EFFECT POOL:

* Default effects:
SPEED, STRENGTH, REGENERATION, RESISTANCE, HASTE, FIRE_RESISTANCE, JUMP_BOOST
* Configurable in config.yml
* Optional toggle to include negative effects (default: false)

PERSISTENCE SYSTEM:

* Store player effects and levels using PersistentDataContainer or a file (YAML/JSON)
* On player join:

* Reapply all stored effects
* On player respawn:

* Reapply all stored effects
* On milk consumption (PlayerItemConsumeEvent):

* Reapply effects immediately after milk clears them

ANTI-REMOVAL LOGIC:

* Continuously ensure players have their stored effects:

* Use event listeners and/or a lightweight repeating task
* Reapply missing effects if removed
* Effects should use very long duration (Integer.MAX_VALUE) but NOT rely on duration alone

COMMANDS:

* /effects → show player’s current effects and levels
* /reseteffects <player> → reset stored effects

PERMISSIONS:

* plugin.effects
* plugin.admin

CONFIG:

* effect pool
* max levels
* stacking on/off
* allow negative effects (true/false)

TECHNICAL:

* Use modern Paper API only
* No deprecated methods
* Efficient (no heavy ticking per player)
* Clean structure (listeners, manager class, storage class)

OUTPUT:

* Full source code
* plugin.yml
* config.yml
* Build setup (Maven or Gradle)
* Also compile and provide a downloadable .jar file

Reviews (0)

No reviews yet

Be the first to leave a review!

Branko18 Vantland

Seller

Branko18 Vantland

0

downloads

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