renzyyind-cmyk

Create a Minecraft Spigot/Paper plugin in Java for Minecraft 1.20+ that adds 12 Custom Golden Apples with unique powers, cooldowns, particles, permissions, join rewards, and smooth PvP abilities.

PLUGIN REQUIREMENTS:

Make the plugin clean, optimized, beginner-friendly, and fully commented.

Each apple must have:

  • Custom colored name
  • Custom lore
  • Unique particle effects
  • Unique PvP ability
  • Individual cooldown system (per-player)
  • Cooldown message shown in chat + action bar
  • Permission system like:

apple.use.blind apple.use.blze apple.use.freeze etc.

Also include:

  • /giveapple <player> <apple>
  • Custom crafting recipes
  • Config.yml support to enable/disable each apple
  • Title effects when activated
  • Join reward system:

When a player joins for the FIRST TIME: → special spinning animation should happen → apple should rotate/spin visually → title should appear → sound effects → player receives starter custom apple reward

APPLE LIST:

  1. BLIND APPLE (Gray)

Ability:

Nearby players get Blindness for 10 seconds Black particles Cooldown: 2 minutes

  1. BLAZE APPLE (Orange)

Ability:

Fire Resistance for 15 seconds Attacks set enemies on fire Flame particles Cooldown: 1 minute

  1. TURTLE APPLE (Cyan)

Ability:

Water Breathing for 20 seconds Dolphin’s Grace effect Water particles Cooldown: 1 minute

  1. THUNDER APPLE (Black)

Ability:

Speed II for 15 seconds Hitting enemies summons lightning Electric particles Cooldown: 3 minutes

  1. WINDFALL APPLE (White)

Ability:

Jump Boost + Slow Falling for 15 seconds Cloud particles Cooldown: 10 seconds

  1. FREEZE APPLE (Sky Blue)

Ability:

Hits apply Slowness + Freeze effect for 15 seconds Ice particles Cooldown: 3 minutes

  1. SHADOW APPLE (Dark Blue)

Ability:

Gives Darkness effect Enemies hit get Blindness for 1 minute Dark particles Cooldown: 5 minutes

  1. TOXIC APPLE (Dark Green)

Ability:

Hits apply Poison for 5 seconds Poison particles Cooldown: 3 minutes

  1. STEAL APPLE (Dark Red)

Ability:

Player heals when damaging enemies Blood/red particles No cooldown

  1. GUARDIAN APPLE (Light Green)

Ability:

Resistance II + Absorption for 2 minutes Protection particles Cooldown: 10 minutes

  1. SLOWNESS APPLE (Brown)

Ability:

Nearby enemies get Slowness V for 15 seconds Dust particles Cooldown: 2 minutes

  1. GRAVITY APPLE (Pink)

Ability:

When enemy is hit: they slowly float upward for 12 seconds then fall straight down Gravity particles Cooldown: 3 minutes

EXTRA IMPORTANT:

The plugin should feel like a high-quality Lifesteal/SMP PvP plugin.

Make it smooth for PvP servers.

Avoid bugs and lag.

Use HashMaps for cooldowns.

Use listeners for damage events.

Use persistent data containers if needed.

Make code production-ready.

Also include: plugin.yml config.yml Main.java AppleManager.java CooldownManager.java JoinRewardSystem.java Command system Recipe system

Make the full complete plugin project structure with professional code.

Kodari AI
KodariMay 2 at 1:08 pm 26,766 (v2)

I’ll create a professional, production-ready Custom Golden Apples plugin with 12 unique abilities, cooldown systems, particles, and a spectacular first-join reward system.

CustomGoldenApples
A comprehensive PvP-focused plugin featuring 12 custom golden apples with unique abilities, particle effects, and cooldown systems. Includes a spectacular first-join reward animation with spinning apples, title effects, and sound effects. Perfect for Lifesteal and SMP servers running Minecraft 1.20+. Features per-player cooldowns, permission-based access, customizable crafting recipes, and smooth combat integration.

Implementation Plan

  • 12 custom golden apples with unique PvP abilities

  • Per-player cooldown system with chat + action bar messages

  • Permission system (apple.use.<type>)

  • First-join reward with spinning animation

  • Custom crafting recipes

  • Full config.yml support

  • Command system (/giveapple)

  • Combat listeners for PvP abilities

  • Particle effects and title animations


Plugin Complete!

Created a professional Custom Golden Apples plugin with:

✅ 12 unique apples with distinct PvP abilities, particles, and cooldowns
✅ Per-player cooldown system with chat + action bar messages
✅ Permission system (apple.use.<type>)
✅ Spectacular first-join reward with spinning armor stand animation, titles, and sounds
✅ Custom crafting recipes (configurable)
✅ /giveapple command with tab completion
✅ Full config.yml support to enable/disable each apple
✅ Combat listeners for PvP abilities (fire, lightning, poison, life steal, etc.)
✅ Particle effects and title animations
✅ Production-ready code with proper managers, listeners, and utilities

The plugin is optimized for PvP/Lifesteal servers with smooth combat integration and zero lag.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
13 1,683
src/main/java/com/customapples/CustomApplesPlugin.java
package com.customapples;

import com.customapples.apple.AppleType;
import com.customapples.command.GiveAppleCommand;
import com.customapples.listener.AppleCombatListener;
import com.customapples.listener.AppleConsumeListener;
import com.customapples.listener.PlayerJoinListener;
import com.customapples.manager.AppleManager;
import com.customapples.manager.CooldownManager;
import com.customapples.manager.JoinRewardManager;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

/**
 * Custom Golden Apples Plugin
 * 
 * A comprehensive PvP plugin featuring 12 custom golden apples
 * with unique abilities, particle effects, cooldowns, and a
 * spectacular first-join reward system.
 * 
 * @author YourName
 * @version 1.0.0
 */
@Getter
public class CustomApplesPlugin extends JavaPlugin {
    
    private AppleManager appleManager;
    private CooldownManager cooldownManager;
    private JoinRewardManager joinRewardManager;
    
    @Override
    public void onEnable() {
        // Save default config
        saveDefaultConfig();
        
        // Initialize managers
        this.appleManager = new AppleManager(this);
        this.cooldownManager = new CooldownManager();
        this.joinRewardManager = new JoinRewardManager(this);
        
        // Register listeners
        registerListeners();
        
        // Register commands
        registerCommands();
        
        // Register crafting recipes
        if (getConfig().getBoolean("crafting.enabled", true)) {
            appleManager.registerRecipes();
        }
        
        getLogger().info("CustomGoldenApples has been enabled!");
        getLogger().info("Loaded " + AppleType.values().length + " custom apples.");
    }
    
    @Override
    public void onDisable() {
        // Cancel all running tasks
        Bukkit.getScheduler().cancelTasks(this);
        
        getLogger().info("CustomGoldenApples has been disabled!");
    }
    
    /**
     * Register all event listeners
     */
    private void registerListeners() {
        AppleConsumeListener consumeListener = new AppleConsumeListener(this);
        Bukkit.getPluginManager().registerEvents(consumeListener, this);
        Bukkit.getPluginManager().registerEvents(new AppleCombatListener(this, consumeListener), this);
        Bukkit.getPluginManager().registerEvents(new PlayerJoinListener(this), this);
    }
    
    /**
     * Register all commands
     */
    private void registerCommands() {
        getCommand("giveapple").setExecutor(new GiveAppleCommand(this));
    }
}