Marketplace/Gameplay/SmashPotionSTEAL

SmashPotionSTEAL

minecraftFreev1.0.0

Description

Create a Minecraft Paper plugin for version 1.21.11 called SmashPotions.

This plugin is a PvP-based potion system where players gain and remove potion effects depending on kills and deaths.

IMPORTANT RULES

• Potion effects must be INFINITE (very large duration like Integer.MAX_VALUE).
• Players cannot stack unlimited effects.
• Maximum positive effects a player can have = 4
• Maximum negative effects a player can have = 3
• If player already has the maximum effects, the system should upgrade levels instead of giving new effects.

CORE SYSTEM

When a player kills another player:

1 kill = 1 effect interaction.

CASE 1 — Killer has NO negative effects

If the killer has no negative effects, the plugin should give the killer 1 random positive effect.

Example positive effects:

SPEED
STRENGTH
REGENERATION
JUMP_BOOST
HASTE
RESISTANCE
FIRE_RESISTANCE
ABSORPTION
NIGHT_VISION
HEALTH_BOOST
SATURATION
DOLPHINS_GRACE
SLOW_FALLING

Effects must be applied with infinite duration.

MAX POSITIVE EFFECT LIMIT

Players can only have maximum 4 positive effects.

If a player kills someone and:

• They have less than 4 positive effects → give a random new positive effect.
• They already have 4 positive effects → randomly select one of their current positive effects and increase its level (amplifier +1).

Example:

Player has:
Speed I
Strength I
Regeneration I
Jump Boost I

Next kill →
Random effect levels up.

Example result:
Speed II

CASE 2 — Killer HAS negative effects

If the killer currently has negative effects:

• Killing a player removes ONE random negative effect from the player.

Example:

Player has:
Blindness
Weakness

Kill someone →
Randomly remove one of them.

CASE 3 — After all negative effects removed

When all negative effects are removed, the next kill will again give a positive effect.

DEATH SYSTEM

When a player dies in PvP:

They receive 1 random negative potion effect.

Negative effects list example:

BLINDNESS
POISON
WITHER
SLOWNESS
WEAKNESS
MINING_FATIGUE
HUNGER
DARKNESS
NAUSEA

MAX NEGATIVE EFFECT LIMIT

Players can only have maximum 3 negative effects.

If a player already has 3 negative effects and dies again:

• Randomly select one existing negative effect and increase its level.

Example:

Player has:
Weakness I
Blindness I
Slowness I

Next death →
Random effect level increases.

Example result:
Weakness II

All negative effects must also be infinite duration.

CHAT MESSAGES

The plugin should send chat messages to players when events happen.

Example messages:

Positive gain:
[SmashPotions] You gained {effect}

Negative gain:
[SmashPotions] You received negative effect {effect}

Negative removed:
[SmashPotions] One negative effect has been removed!

Kill reward:
[SmashPotions] You killed {player} and gained {effect}

Level up message:
[SmashPotions] Your {effect} leveled up to {level}

All messages must be configurable in config.yml.

COMMAND SYSTEM

Main command:
/smashpotions

Permission:
smashpotions.admin

ADMIN COMMANDS

Give positive effect:
/smashpotions add <player> positive <effect>

Give negative effect:
/smashpotions add <player> negative <effect>

Remove specific effect:
/smashpotions remove <player> <effect>

Clear all effects:
/smashpotions clear <player>

Reload config:
/smashpotions reload

VIEW COMMAND

Players or admins should be able to check current effects.

Command:
/smashpotions view <player>

Example output:

Positive Effects:
Speed II
Strength I

Negative Effects:
Weakness I

TECHNICAL REQUIREMENTS

• Plugin must be written in Java.
• Compatible with PaperMC 1.21.11.
• Potion effects must be applied with infinite duration.
• Efficient event handling for PvP kills.
• No console errors.
• Clean and organized code.

Suggested project structure:

SmashPotions
│
├ SmashPotions.java
├ KillListener.java
├ EffectManager.java
├ CommandManager.java
├ ViewCommand.java
└ ConfigManager.java

plugin.yml example:

name: SmashPotions
version: 1.0
main: com.smashpotions.SmashPotions
api-version: 1.21

commands:
smashpotions:
permission: smashpotions.admin

permissions:
smashpotions.admin:
default: op

Reviews (0)

No reviews yet

Be the first to leave a review!

Choco Milk

Seller

Choco Milk

0

downloads

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