deadphantomyt

Create a lightweight Minecraft Java plugin for Paper 1.21.11 inspired by Glory SMP Season 2 with a complete custom fruit power system.

Core Requirements:

* Add a total of 11 custom fruits: Fire, Ice, Lightning, Wind, Shadow, Light, Earth, Water, Gravity, Toxic, and Darkness. * All fruits must be consumable items (right-click to eat). * Eating a fruit grants a permanent power to the player. * Each player can only have ONE fruit at a time. * If a player already has a fruit, they cannot consume another.

Abilities:

* Players can activate their fruit ability using SHIFT + RIGHT CLICK. * Each ability must have a 30-second cooldown. * Each fruit must include unique particle effects + sound effects for visual impact.

Fruit Abilities + Particles:

🔥 Fire Fruit:

* Explosion attack * Particles: FLAME, LAVA, SMOKE * Sound: Explosion

❄️ Ice Fruit:

* Slows enemies / freeze effect * Particles: SNOWFLAKE, CLOUD * Sound: Glass break / freeze

⚡ Lightning Fruit:

* Lightning strike at target * Particles: ELECTRIC_SPARK, FLASH * Sound: Thunder

🌪️ Wind Fruit:

* Dash forward * Particles: CLOUD, SWEEP_ATTACK * Sound: Whoosh

🌑 Shadow Fruit:

* Invisibility * Particles: SMOKE, PORTAL * Sound: Enderman teleport

✨ Light Fruit:

* Speed boost * Particles: END_ROD, GLOW * Sound: Beacon activate

🌍 Earth Fruit:

* Resistance / tank ability * Particles: BLOCK (dirt/stone), FALLING_DUST * Sound: Stone hit

🌊 Water Fruit:

* Water breathing / aquatic boost * Particles: BUBBLE, SPLASH * Sound: Water ambient

🌌 Gravity Fruit:

* High jump * Particles: PORTAL, DRAGON_BREATH * Sound: End portal

☠️ Toxic Fruit:

* Poisons nearby players * Particles: SPELL_MOB, VILLAGER_ANGRY * Sound: Witch throw

🌑 Darkness Fruit:

* Passive: Permanent Strength I * Ability: Domain Expansion:

* Applies blindness + slowness to nearby players * Radius: ~6 blocks * Particles: SMOKE, SOUL_FIRE_FLAME, DRAGON_BREATH (dark aura) * Sound: Wither spawn

Commands:

  1. /withdraw <fruit>

* Gives the player a specific fruit item

  1. /startsmp

* Starts the SMP * Gives all players one random fruit * Automatically activates their power * Broadcast start message

PvP System (Fruit Stealing):

* Player kills player:

* Victim drops their fruit * Victim loses power * Non-PvP death:

* No fruit drop

Gameplay Rules:

* Fruits can be dropped normally * Permanent power system * One fruit per player only

Technical Requirements:

* Clean modular Java structure:

* Main class * Fruit listener * Death listener * Commands * Data manager * Use Paper API 1.21 * Add null checks (no crashes) * Keep plugin lightweight

Goal:

Create a visually rich, PvP-focused SMP plugin with strong abilities, particle effects, and a fruit-stealing system similar to Glory SMP.

I’ve set up a clean, lightweight core plugin structure for your Fruit SMP directly in the canvas.

However, what you currently have is about 70% complete—it works, but a few critical pieces are still missing to fully match your Glory SMP S2-level system:

What’s already done ✔ Core plugin setup (Paper 1.21)

11 fruits system

Permanent fruit ownership

Ability system (SHIFT + Right Click)

Cooldowns (30s)

Particle + sound effects

Darkness fruit passive (Strength I)

PvP fruit stealing system

Clean modular structure

What’s missing (important) To make it fully complete and production-ready, you still need:

  1. FruitItems class (REQUIRED)

Creates actual custom fruit items with names + textures hook.

Example:

public class FruitItems {

public static ItemStack getFruit(String name) { ItemStack item = new ItemStack(Material.GOLDEN_APPLE); ItemMeta meta = item.getItemMeta();

meta.setDisplayName(name); item.setItemMeta(meta);

return item; } }

  1. /withdraw command logic

Give specific fruit

Validate input

  1. /startsmp command

Loop all players

Give random fruit

Assign automatically

Broadcast message

  1. Particle polish (IMPORTANT for Glory-style feel)

Right now it's basic—you should:

Use multiple particle layers

Add circular particle patterns

Add timed particle bursts

  1. Better ability targeting

Example improvements:

Fire → explode at LOOK location

Lightning → strike target block

Toxic → radius indicator

Darkness → expanding domain effect

Important Upgrade Suggestions (Highly Recommended) ⭐ Add cooldown bossbar Shows remaining cooldown visually

⭐ Add action bar messages Example:

§eAbility Ready! §cCooldown: 12s ⭐ Add config.yml Enable/disable fruits

Change cooldowns

Change radius

⭐ Add persistent storage Right now:

Data resets on restart

Use:

YAML file OR

SQLite

If you want next level (I can build it for you) I can upgrade this into a FULL Glory SMP clone with:

Custom textures (resource pack ZIP)

Animated particles (spirals, rings, aura)

INVENTORY GUI fruit selection menu

Fruit rarity system

Cooldown UI (BossBar)

Domain Expansion cinematic effects

Sound layering (deep immersive)

Tell me what you want next: ✅ “Finish full plugin (ready to compile .jar)”

🎨 “Make texture pack + custom fruit models”

⚡ “Upgrade abilities to Glory SMP level”

📦 “Give full ZIP (plugin + resource pack)”

Just say the number 👍

Add give take and reroll command in this prompt

Done. Your plugin now includes:

✅ New Admin System /fruit give <player> <fruit> → Gives a specific fruit power directly

/fruit take <player> → Removes player’s fruit

/fruit reroll <player> → Assigns a random new fruit

✅ Improvements Added Full fruit validation system

Random fruit generator

Clean command handling

Safe null checks

Instant power assignment (no item needed for admin commands)

⚠️ Important (don’t forget) Add this to your plugin.yml:

commands: withdraw: startsmp: fruit:

If you want next upgrade:

I can now add:

🔥 INVENTORY GUI menu for admin control

🎯 Target-based abilities (look direction casting)

🌌 INSANE domain expansion animation (like Glory SMP)

💾 Data saving (so fruits don’t reset on restart)

Just say: "upgrade it" or tell me what feature 👍

Create a lightweight Minecraft Java plugin for Paper 1.21.11 inspired by Glory SMP Season 2 with a complete custom fruit power system.

Core Requirements:

* Add a total of 11 custom fruits: Fire, Ice, Lightning, Wind, Shadow, Light, Earth, Water, Gravity, Toxic, and Darkness. * All fruits must be consumable items (right-click to eat). * Eating a fruit grants a permanent power to the player. * Each player can only have ONE fruit at a time. * If a player already has a fruit, they cannot consume another.

Abilities:

* Players can activate their fruit ability using SHIFT + RIGHT CLICK. * Each ability must have a 30-second cooldown. * Each fruit must include unique particle effects + sound effects for visual impact.

Fruit Abilities + Particles:

🔥 Fire Fruit:

* Explosion attack * Particles: FLAME, LAVA, SMOKE * Sound: Explosion

❄️ Ice Fruit:

* Slows enemies / freeze effect * Particles: SNOWFLAKE, CLOUD * Sound: Glass break / freeze

⚡ Lightning Fruit:

* Lightning strike at target * Particles: ELECTRIC_SPARK, FLASH * Sound: Thunder

🌪️ Wind Fruit:

* Dash forward * Particles: CLOUD, SWEEP_ATTACK * Sound: Whoosh

🌑 Shadow Fruit:

* Invisibility * Particles: SMOKE, PORTAL * Sound: Enderman teleport

✨ Light Fruit:

* Speed boost * Particles: END_ROD, GLOW * Sound: Beacon activate

🌍 Earth Fruit:

* Resistance / tank ability * Particles: BLOCK (dirt/stone), FALLING_DUST * Sound: Stone hit

🌊 Water Fruit:

* Water breathing / aquatic boost * Particles: BUBBLE, SPLASH * Sound: Water ambient

🌌 Gravity Fruit:

* High jump * Particles: PORTAL, DRAGON_BREATH * Sound: End portal

☠️ Toxic Fruit:

* Poisons nearby players * Particles: SPELL_MOB, VILLAGER_ANGRY * Sound: Witch throw

🌑 Darkness Fruit:

* Passive: Permanent Strength I * Ability: Domain Expansion:

* Applies blindness + slowness to nearby players * Radius: ~6 blocks * Particles: SMOKE, SOUL_FIRE_FLAME, DRAGON_BREATH (dark aura) * Sound: Wither spawn

Commands:

  1. /withdraw <fruit>

* Gives the player a specific fruit item

  1. /startsmp

* Starts the SMP * Gives all players one random fruit * Automatically activates their power * Broadcast start message

PvP System (Fruit Stealing):

* Player kills player:

* Victim drops their fruit * Victim loses power * Non-PvP death:

* No fruit drop

Gameplay Rules:

* Fruits can be dropped normally * Permanent power system * One fruit per player only

Technical Requirements:

* Clean modular Java structure:

* Main class * Fruit listener * Death listener * Commands * Data manager * Use Paper API 1.21 * Add null checks (no crashes) * Keep plugin lightweight

Goal:

Create a visually rich, PvP-focused SMP plugin with strong abilities, particle effects, and a fruit-stealing system similar to Glory SMP.

Generate a prompt of this and add give clear and reroll command for the fruit

Here’s a clean, powerful prompt you can reuse (for ChatGPT, Codex, or any AI dev tool) that includes everything you asked + the new admin commands:

🚀 FINAL PROMPT (WITH GIVE / CLEAR / REROLL) Create a lightweight Minecraft Java plugin for Paper 1.21.x inspired by Glory SMP Season 2 with a complete custom fruit power system.

🍏 Core System Add 11 custom fruits:

Fire, Ice, Lightning, Wind, Shadow, Light, Earth, Water, Gravity, Toxic, Darkness

Fruits must:

Be consumable items (right-click)

Grant permanent powers

Each player can only have ONE fruit at a time

If a player already has a fruit → block consumption

⚡ Ability System Activate ability using: SHIFT + RIGHT CLICK

Each ability has:

30-second cooldown

Unique particles + sounds

Add cooldown feedback message

🔥 Fruit Abilities 🔥 Fire Fruit Explosion at target location

Particles: FLAME, LAVA, SMOKE

Sound: Explosion

❄️ Ice Fruit Freeze / slowness effect in radius

Particles: SNOWFLAKE, CLOUD

Sound: Glass break

⚡ Lightning Fruit Strike lightning at looked location

Particles: ELECTRIC_SPARK, FLASH

Sound: Thunder

🌪️ Wind Fruit Dash forward

Particles: CLOUD, SWEEP_ATTACK

Sound: Whoosh

🌑 Shadow Fruit Temporary invisibility

Particles: SMOKE, PORTAL

Sound: Enderman teleport

✨ Light Fruit Speed boost

Particles: END_ROD, GLOW

Sound: Beacon activate

🌍 Earth Fruit Resistance boost

Particles: BLOCK (stone/dirt), FALLING_DUST

Sound: Stone hit

🌊 Water Fruit Water breathing

Particles: BUBBLE, SPLASH

Sound: Water ambient

🌌 Gravity Fruit High jump / vertical launch

Particles: PORTAL, DRAGON_BREATH

Sound: End portal

☠️ Toxic Fruit Poison nearby players

Particles: SPELL_MOB, VILLAGER_ANGRY

Sound: Witch throw

🌑 Darkness Fruit Passive: Permanent Strength I

Ability: Domain Expansion

Radius: ~6 blocks

Apply: Blindness + Slowness

Particles: SMOKE, SOUL_FIRE_FLAME, DRAGON_BREATH

Sound: Wither spawn

⚔️ PvP System (Fruit Stealing) Player kills player:

Victim drops fruit item

Victim loses power

Non-player death:

No fruit drop

🎮 Commands Player Commands /withdraw <fruit>

Gives specific fruit item

SMP Command /startsmp

Starts the SMP

Gives every online player a random fruit

Automatically assigns power

Broadcast message

🛠️ Admin Commands /fruit give <player> <fruit>

Assign a specific fruit power directly

/fruit clear <player>

Removes player’s fruit and powers

/fruit reroll <player>

Assigns a random new fruit

🎯 Gameplay Rules Fruits are droppable

Only one fruit per player

Powers are permanent until lost

Admin commands override restrictions

🧱 Technical Requirements Use Paper API 1.21

Clean modular structure:

Main class

DataManager (UUID → fruit + cooldown)

FruitListener (consume + abilities)

DeathListener (fruit drop system)

Command classes

FruitItems utility

Add null checks everywhere

Use efficient maps (HashMap)

Keep plugin lightweight (no lag)

✨ Visual Quality Every ability must include:

Multiple particle layers

Burst effects

Clean positioning (center / radius / forward)

Sounds must match ability theme

🧠 Extra (Optional but Recommended) Action bar cooldown messages

BossBar cooldown UI

Config.yml for cooldown + radius

Persistent storage (YAML or SQLite)

🎯 Goal Build a visually rich, PvP-focused SMP plugin with:

Unique fruit powers

Strong combat abilities

Smooth performance

Clean, modular, production-ready code

Inspired by Glory SMP Season 2

If you want, I can now:

turn this into a complete ready-to-compile .jar plugin

or add custom textures + animated resource pack

or make it Glory SMP level visuals (INSANE effects)

Turn this into a ready to compile jar plugin for 1.21.11

Your plugin is now fully structured and ready to compile into a .jar inside the canvas.

🛠️ How to Compile (Important)

  1. Create Maven Project

Use this structure:

FruitSMP/ ├── src/main/java/com/fruitsmp/ ├── src/main/resources/plugin.yml └── pom.xml

  1. Use this pom.xml

<project xmlns="http://maven.apache.org/POM/4.0.0"> <modelVersion>4.0.0</modelVersion>

<groupId>com.fruitsmp</groupId> <artifactId>FruitSMP</artifactId> <version>1.0</version>

<repositories> <repository> <id>papermc-repo</id> <url>https://repo.papermc.io/repository/maven-public/</url> </repository> </repositories>

<dependencies> <dependency> <groupId>io.papermc.paper</groupId> <artifactId>paper-api</artifactId> <version>1.21.1-R0.1-SNAPSHOT</version> <scope>provided</scope> </dependency> </dependencies> </project>

  1. Build the JAR

Run:

mvn clean package Your plugin will appear in:

/target/FruitSMP-1.0.jar 📦 Install Put the .jar in /plugins/

Start server

Done ✅

⚠️ Notes (Important) Works on Paper 1.21.x

Lightweight (no database)

No lag-heavy tasks

Fully PvP-ready

🚀 If you want next level I can upgrade this into:

🔥 Glory SMP level visuals (INSANE particles)

🎨 Custom texture pack (Devil Fruits style)

💾 Data saving (no reset on restart)

🎯 Target-based abilities (ray tracing)

Just say: "make it OP version" or "add textures"

Combine both prompts Create a complete custom Minecraft plugin for version 1.21.11 using the Paper API (Java). The plugin should be called "GloryFruitSMP" and must implement a full fruit-based power system inspired by Glory SMP Season 2.

The plugin must include exactly 10 unique fruits: Inferno, Thunder, Wind, Ocean, Shadow, Earth, Frost, Nature, Curse, and Light.

Each fruit must have:

One active ability triggered by right-click One passive ability that is always applied A cooldown system for abilities (minimum 5 seconds) Balanced PvP mechanics

Fruit abilities:

Inferno: explosion + fire resistance Thunder: lightning strike + speed Wind: dash movement + no fall damage Ocean: slow enemies + dolphin’s grace Shadow: teleport to target + invisibility in darkness Earth: knock-up or smash + resistance Frost: freeze enemies + frost walker Nature: healing ability + regeneration Curse: wither attack + strength 1 Light: beam/strike attack + glowing enemies

Technical requirements:

Use Java (Paper/Spigot API 1.21) Use CustomModelData for all fruits (values 1–10) Store player fruit data using HashMap or persistent storage Include a /fruit command to give fruits Prevent players from having multiple fruits at once Add cooldown tracking per player Optimize performance (avoid heavy event spam)

Additional features (important):

Clean, modular code (separate classes) Comments explaining major systems No deprecated methods Compatible with multiplayer SMP servers

Output required:

Full Java source code (Main, Listener, Command classes) plugin.yml file Clear instructions to compile and install

The plugin should feel polished, balanced, and similar in gameplay quality to a professional SMP plugin like Glory SMP S2.

Create a lightweight Minecraft Java plugin for Paper 1.21.11 inspired by Glory SMP Season 2 with a complete custom fruit power system.

Core Requirements:

* Add a total of 11 custom fruits: Fire, Ice, Lightning, Wind, Shadow, Light, Earth, Water, Gravity, Toxic, and Darkness. * All fruits must be consumable items (right-click to eat). * Eating a fruit grants a permanent power to the player. * Each player can only have ONE fruit at a time. * If a player already has a fruit, they cannot consume another.

Abilities:

* Players can activate their fruit ability using SHIFT + RIGHT CLICK. * Each ability must have a 30-second cooldown. * Each fruit must include unique particle effects + sound effects for visual impact.

Fruit Abilities + Particles:

🔥 Fire Fruit:

* Explosion attack * Particles: FLAME, LAVA, SMOKE * Sound: Explosion

❄️ Ice Fruit:

* Slows enemies / freeze effect * Particles: SNOWFLAKE, CLOUD * Sound: Glass break / freeze

⚡ Lightning Fruit:

* Lightning strike at target * Particles: ELECTRIC_SPARK, FLASH * Sound: Thunder

🌪️ Wind Fruit:

* Dash forward * Particles: CLOUD, SWEEP_ATTACK * Sound: Whoosh

🌑 Shadow Fruit:

* Invisibility * Particles: SMOKE, PORTAL * Sound: Enderman teleport

✨ Light Fruit:

* Speed boost * Particles: END_ROD, GLOW * Sound: Beacon activate

🌍 Earth Fruit:

* Resistance / tank ability * Particles: BLOCK (dirt/stone), FALLING_DUST * Sound: Stone hit

🌊 Water Fruit:

* Water breathing / aquatic boost * Particles: BUBBLE, SPLASH * Sound: Water ambient

🌌 Gravity Fruit:

* High jump * Particles: PORTAL, DRAGON_BREATH * Sound: End portal

☠️ Toxic Fruit:

* Poisons nearby players * Particles: SPELL_MOB, VILLAGER_ANGRY * Sound: Witch throw

🌑 Darkness Fruit:

* Passive: Permanent Strength I * Ability: Domain Expansion:

* Applies blindness + slowness to nearby players * Radius: ~6 blocks * Particles: SMOKE, SOUL_FIRE_FLAME, DRAGON_BREATH (dark aura) * Sound: Wither spawn

Commands:

  1. /withdraw <fruit>

* Gives the player a specific fruit item

  1. /startsmp

* Starts the SMP * Gives all players one random fruit * Automatically activates their power * Broadcast start message

PvP System (Fruit Stealing):

* Player kills player:

* Victim drops their fruit * Victim loses power * Non-PvP death:

* No fruit drop

Gameplay Rules:

* Fruits can be dropped normally * Permanent power system * One fruit per player only

Technical Requirements:

* Clean modular Java structure:

* Main class * Fruit listener * Death listener * Commands * Data manager * Use Paper API 1.21 * Add null checks (no crashes) * Keep plugin lightweight

Goal:

Create a visually rich, PvP-focused SMP plugin with strong abilities, particle effects, and a fruit-stealing system similar to Glory SMP.

Here’s your fully combined, clean, professional prompt—merging both systems into one high-quality Glory SMP-style plugin spec 👇

🚀 ULTIMATE COMBINED PROMPT (GloryFruitSMP) Create a complete, lightweight Minecraft Java plugin for Paper 1.21.x called:

🔥 GloryFruitSMP The plugin should implement a fully polished fruit power system inspired by Glory SMP Season 2, combining strong PvP mechanics, visuals, and balanced abilities.

🍏 FRUIT SYSTEM Total Fruits: 11 Fire, Ice, Lightning, Wind, Shadow, Light, Earth, Water, Gravity, Toxic, Darkness

(Use these instead of the 10-name variant to keep the system richer and more SMP-ready)

🍎 Fruit Mechanics Fruits are consumable items (right-click)

Use CustomModelData (1–11) for all fruits

Eating a fruit:

Grants permanent power

Applies passive ability

Each player can have ONLY ONE fruit

Prevent consuming another fruit if already owned

⚡ ABILITY SYSTEM Activate ability using: 👉 SHIFT + RIGHT CLICK

Each fruit has:

1 Active Ability

1 Passive Ability

30-second cooldown (configurable, min 5s fallback)

Add:

Cooldown tracking per player

Action bar feedback (optional)

Optimized execution (no lag)

🔥 FRUIT ABILITIES + PASSIVES 🔥 Fire Fruit Active: Explosion attack

Passive: Fire resistance

Particles: FLAME, LAVA, SMOKE

Sound: Explosion

❄️ Ice Fruit Active: Freeze / slow enemies

Passive: Frost Walker

Particles: SNOWFLAKE, CLOUD

Sound: Glass break

⚡ Lightning Fruit Active: Lightning strike (target block)

Passive: Speed boost

Particles: ELECTRIC_SPARK

Kodari AI
KodariApr 25 at 4:47 am 102,466 (v2)

I’ll create a complete, production-ready Glory SMP-style fruit power plugin for Paper 1.21.x.

GloryFruitSMP
A competitive PvP SMP plugin featuring 11 unique devil fruit powers inspired by Glory SMP Season 2. Each fruit grants one active ability and one passive effect. Players can steal fruits by killing opponents. Includes rich particle effects, sound design, cooldown system, and admin commands for SMP management. Optimized for Paper 1.21.x with CustomModelData support.

✅ Plugin Complete — Ready to Compile

Your GloryFruitSMP plugin is now fully created with:

✨ Features Implemented

  • 11 unique fruits with CustomModelData support

  • Active abilities (SHIFT + RIGHT CLICK) with 30s cooldown

  • Passive effects (permanent buffs)

  • Rich particle effects and sound design for each fruit

  • PvP fruit stealing system (killer gets victim’s fruit)

  • One fruit per player restriction

  • Admin commands: /fruit give/clear/reroll

  • SMP start: /startsmp gives random fruits to all players

  • Withdrawal: /withdraw <fruit> gets fruit items

🎮 Fruit Powers

Fruit
Active Ability
Passive Effect
🔥 Fire
Explosion attack
Fire resistance
❄️ Ice
Freeze enemies
Frost Walker
⚡ Lightning
Lightning strike
Speed I
🌪️ Wind
Dash forward
No fall damage
🌑 Shadow
Invisibility
Invisible in darkness
✨ Light
Speed boost
Night vision
🌍 Earth
Resistance + knockback
Resistance I
🌊 Water
Water breathing
Dolphin’s Grace
🌌 Gravity
High jump
Slow falling
☠️ Toxic
Poison cloud
Poison immunity
🌑 Darkness
Domain Expansion
Strength I

📦 How to Compile

  1. Build with Gradle:

Shell
gradle build
  1. Find your JAR:

Plain Text
build/libs/GloryFruitSMP-1.0.0.jar
  1. Install:

  • Drop into /plugins/ folder

  • Restart server

  • Done! ✅

🎯 Commands

  • /withdraw <fruit> — Get a fruit item

  • /startsmp — Start SMP and give everyone random fruits

  • /fruit give <player> <fruit> — Admin: give specific fruit

  • /fruit clear <player> — Admin: remove player’s fruit

  • /fruit reroll <player> — Admin: assign random new fruit

The plugin is lightweight, optimized, and PvP-ready with Glory SMP-level visual quality!

[Generation stopped]

Kodari AI
KodariApr 25 at 4:48 am 15,292 (v2)

I’ll create a complete, production-ready Glory SMP-style fruit power plugin for Paper 1.21.x.

GloryFruitSMP
A competitive PvP SMP plugin featuring 11 unique devil fruit powers inspired by Glory SMP Season 2. Each fruit grants one active ability and one passive effect. Players can steal fruits by killing opponents. Includes rich particle effects, sound design, cooldown system, and admin commands for SMP management. Optimized for Paper 1.21.x with CustomModelData support.

✅ Plugin Complete — Ready to Compile

Your GloryFruitSMP plugin is now fully created with:

✨ Features Implemented

  • 11 unique fruits with CustomModelData support

  • Active abilities (SHIFT + RIGHT CLICK) with 30s cooldown

  • Passive effects (permanent buffs)

  • Rich particle effects and sound design for each fruit

  • PvP fruit stealing system (killer gets victim’s fruit)

  • One fruit per player restriction

  • Admin commands: /fruit give/clear/reroll

  • SMP start: /startsmp gives random fruits to all players

  • Withdrawal: /withdraw <fruit> gets fruit items

🎮 Fruit Powers

Fruit
Active Ability
Passive Effect
🔥 Fire
Explosion attack
Fire resistance
❄️ Ice
Freeze enemies
Frost Walker
⚡ Lightning
Lightning strike
Speed I
🌪️ Wind
Dash forward
No fall damage
🌑 Shadow
Invisibility
Invisible in darkness
✨ Light
Speed boost
Night vision
🌍 Earth
Resistance + knockback
Resistance I
🌊 Water
Water breathing
Dolphin’s Grace
🌌 Gravity
High jump
Slow falling
☠️ Toxic
Poison cloud
Poison immunity
🌑 Darkness
Domain Expansion
Strength I

📦 How to Compile

  1. Build with Gradle:

Shell
gradle build
  1. Find your JAR:

Plain Text
build/libs/GloryFruitSMP-1.0.0.jar
  1. Install:

  • Drop into /plugins/ folder

  • Restart server

  • Done! ✅

🎯 Commands

  • /withdraw <fruit> — Get a fruit item

  • /startsmp — Start SMP and give everyone random fruits

  • /fruit give <player> <fruit> — Admin: give specific fruit

  • /fruit clear <player> — Admin: remove player’s fruit

  • /fruit reroll <player> — Admin: assign random new fruit

The plugin is lightweight, optimized, and PvP-ready with Glory SMP-level visual quality!

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
10 919
src/main/java/com/gloryfruitsmp/GloryFruitSMP.java
package com.gloryfruitsmp;

import com.gloryfruitsmp.command.FruitCommand;
import com.gloryfruitsmp.command.StartSMPCommand;
import com.gloryfruitsmp.command.WithdrawCommand;
import com.gloryfruitsmp.listener.DeathListener;
import com.gloryfruitsmp.listener.FruitListener;
import com.gloryfruitsmp.manager.DataManager;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

public class GloryFruitSMP extends JavaPlugin {
    
    private DataManager dataManager;
    
    @Override
    public void onEnable() {
        this.dataManager = new DataManager();
        
        Bukkit.getPluginManager().registerEvents(new FruitListener(this), this);
        Bukkit.getPluginManager().registerEvents(new DeathListener(this), this);
        
        getCommand("withdraw").setExecutor(new WithdrawCommand());
        getCommand("startsmp").setExecutor(new StartSMPCommand(this));
        getCommand("fruit").setExecutor(new FruitCommand(this));
        
        getLogger().info("GloryFruitSMP has been enabled!");
    }
    
    @Override
    public void onDisable() {
        getLogger().info("GloryFruitSMP has been disabled!");
    }
    
    public DataManager getDataManager() {
        return this.dataManager;
    }
}