bariskhan365-art

Create a Minecraft plugin using Java (Spigot/Paper API 1.21+).

Plugin Name: Arise Version: 1.0

Core Concept:

Players can create a special potion called "Arise Potion" using a ritual system. This potion allows them to turn killed mobs into shadow soldiers that fight for them.

---

🔮 ARISE POTION SYSTEM:

  • When a player kills any mob, nothing happens immediately.
  • Player must craft an "Arise Potion" using:

1. Splash Potion (base) 2. Nether Star (to start ritual)

---

🌀 RITUAL SYSTEM:

  • When player combines Splash Potion + Nether Star:

- A ritual starts at that location. - Spawn magical particle circle effects (like magic symbols). - Ground symbol (yellow/golden circle) - Floating circular particles around (color changes per phase)

  • Show BossBar to ALL players:

- Text: "Ritual Started at X: ___ Y: ___ Z: ___" - Include countdown timer

---

⏳ RITUAL PHASES:

Phase 1:

  • Color: Blue
  • Duration: 1 minute

Phase 2:

  • Color: Green
  • Duration: 3 minutes

Phase 3:

  • Color: Red
  • Duration: 6 minutes
  • Smooth transition between phases (particles + sound effects)

---

✅ COMPLETION:

  • After all phases complete:

- Show Title/Popup: "Arise Potion is Created" - Give player the custom Arise Potion

---

💀 SHADOW SYSTEM:

  • When player throws Arise Potion on a mob:

- Mob dies instantly - Play animation: - Black + Blue particles - Soul absorption effect into player

  • Store that mob as "Shadow Soldier"

---

👥 SUMMON SYSTEM:

  • On SHIFT + RIGHT CLICK:

- All stored shadow mobs spawn around player - Each mob: - Normal appearance OR optional dark/blue particles - Custom name: "Arise by <player>"

  • Behavior:

- All shadows attack the entity that player hits - Passive mobs → low damage - Hostile mobs → keep their original damage

---

⚔️ COMBAT RULES:

  • Shadow mobs:

- Have same HP as original mob - If they die → permanently gone - Cannot respawn again

---

⚙️ TECHNICAL REQUIREMENTS:

  • Use:

- PlayerInteractEvent - EntityDeathEvent - BossBar API - PersistentDataContainer (for saving shadows)

  • Add cooldown for summon ability
  • Prevent abuse / lag (limit number of shadows)

---

✨ OPTIONAL:

  • Add config.yml:

- Change ritual time - Max shadows limit - Particle intensity

  • Add sounds:

- Ritual start/end - Shadow summon

---

OUTPUT REQUIRED:

  • Full Java source code
  • plugin.yml
  • File structure explanation
Kodari AI
KodariMar 26 at 10:07 pm 17,035 (v2)

I’ll create a comprehensive Shadow Soldier plugin with ritual system, boss bar phases, and summonable mobs.

Arise
A shadow soldier summoning plugin that allows players to create special Arise Potions through a multi-phase ritual system. Players can capture killed mobs as shadow soldiers by throwing the potion, then summon them to fight alongside them. Features include animated particle rituals with boss bar progression, persistent shadow storage, and coordinated combat AI where all shadows target the player's enemies.

Complete plugin created with the following features:

Core Systems:

  • ✅ Multi-phase ritual system (3 phases: blue → green → red)

  • ✅ Boss bar showing ritual location and countdown

  • ✅ Circular particle effects that rotate around ritual location

  • ✅ Phase transitions with sound effects

Shadow Mechanics:

  • ✅ Arise Potion creation after ritual completion

  • ✅ Capture mobs by throwing potion (instant kill + particle effects)

  • ✅ Store up to 50 shadows per player (configurable)

  • ✅ Summon all shadows with Shift + Right Click

  • ✅ Shadows named “Arise by <player>”

  • ✅ Coordinated combat: all shadows attack player’s target

Technical Features:

  • ✅ PersistentDataContainer for tracking potions and shadow mobs

  • ✅ Data persistence (shadows.yml saves captured mobs)

  • ✅ Cooldown system (30 seconds default)

  • ✅ Fully configurable timings, limits, and messages

  • ✅ XSeries for cross-version compatibility

File Structure:

Plain Text
Arise/
├── build.gradle
├── src/main/
│   ├── java/com/arise/plugin/
│   │   ├── ArisePlugin.java (main class)
│   │   ├── config/ConfigManager.java
│   │   ├── ritual/
│   │   │   ├── RitualManager.java
│   │   │   ├── RitualData.java
│   │   │   └── RitualPhase.java
│   │   ├── shadow/
│   │   │   ├── ShadowManager.java
│   │   │   └── ShadowData.java
│   │   ├── listener/
│   │   │   ├── PlayerInteractListener.java
│   │   │   ├── EntityDeathListener.java
│   │   │   └── EntityDamageListener.java
│   │   └── util/ParticleUtil.java
│   └── resources/
│       ├── plugin.yml
│       └── config.yml
bariskhan365-art

Create a Minecraft plugin using Java (Spigot/Paper API 1.20+).

Plugin Name: Arise Version: 1.0

---

🔮 ARISE POTION SYSTEM:

  • Use custom crafting (NOT default brewing)

---

🧪 CUSTOM RECIPE:

  • Crafting Table (3x3):

- Center: Nether Star - All other slots: Splash Potion of Water

  • On craft:

- Cancel crafting result - Start ritual at crafting table location

---

🌀 RITUAL SYSTEM:

  • Start ritual with particles:

- Ground: Yellow/Golden circle - Floating: animated magic circles

---

⏳ RITUAL PHASES (CONFIGURABLE):

  • Phase 1:

- Color: Blue - Time: config.yml se

  • Phase 2:

- Color: Green - Time: config.yml se

  • Phase 3:

- Color: Red - Time: config.yml se

---

📢 BOSSBAR:

  • Show to ALL players:

"Ritual Started at X: ___ Y: ___ Z: ___"

  • Show countdown timer
  • Update every second

---

✅ COMPLETION:

  • Show Title:

"Arise Potion is Created"

  • Give player custom Arise Potion

---

💀 SHADOW SYSTEM:

  • Arise potion use:

- Mob dies - Black + Blue particles - Soul absorb animation

  • Store mob as Shadow

---

👥 SUMMON SYSTEM:

  • SHIFT + RIGHT CLICK:

- Spawn all saved shadows

  • Each mob:

- Name: "Arise by <player>"

  • Behavior:

- Attack player's target

---

⚔️ RULES:

  • Shadow HP same as original
  • If dead → permanently gone

---

⚙️ CONFIG.YML:

phase1-time: 60 phase2-time: 180 phase3-time: 360

max-shadows: 10 ritual-particle-intensity: 2

bossbar-enabled: true show-coordinates: true

cooldown: 30

messages: ritual-start: "&bRitual Started!" ritual-complete: "&aArise Potion is Created!"

---

⚙️ TECH:

  • Use:

- CraftItemEvent - PlayerInteractEvent - BossBar API - Scheduler - PersistentDataContainer

---

📦 OUTPUT:

  • Java code
  • plugin.yml
  • config.yml
  • Folder structure
Kodari AI
KodariMar 26 at 10:17 pm 37,166 (v2)

I’ll read all the existing files to understand what’s already implemented and what needs to be completed or fixed.

Looking at the existing code, I can see the plugin is mostly complete but is missing the CraftItemListener for detecting the custom 3x3 crafting recipe. The current PlayerInteractListener has incorrect ritual-starting logic (right-click instead of crafting). I’ll create the missing listener and fix the issues.

I need to analyze what’s missing and create the CraftItemListener that was referenced but not yet created. Let me check what other components might be needed.

Now I need to register this listener in the main plugin class:


Plugin Complete!

The Arise plugin is now fully implemented with:

✅ Custom Crafting Recipe - Nether Star (center) + 8 Splash Water Potions triggers ritual
✅ 3-Phase Ritual System - Blue → Green → Red phases with configurable durations
✅ Boss Bar - Shows ritual location and countdown to all players
✅ Particle Effects - Animated circles during ritual phases
✅ Arise Potion - Custom splash potion with persistent data
✅ Shadow Capture - Throw potion at mobs to capture them
✅ Shadow Summoning - Shift + Right Click to summon all shadows
✅ Shadow AI - Shadows attack player’s target automatically
✅ Data Persistence - Shadows saved to shadows.yml
✅ Configurable - All timings, messages, sounds in config.yml
✅ Permissions - arise.admin, arise.use, arise.ritual

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
15 1,181
src/main/java/com/arise/plugin/ArisePlugin.java
package com.arise.plugin;

import com.arise.plugin.config.ConfigManager;
import com.arise.plugin.listener.CraftItemListener;
import com.arise.plugin.listener.EntityDamageListener;
import com.arise.plugin.listener.EntityDeathListener;
import com.arise.plugin.listener.PlayerInteractListener;
import com.arise.plugin.ritual.RitualManager;
import com.arise.plugin.shadow.ShadowManager;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class ArisePlugin extends JavaPlugin {
    
    private ConfigManager configManager;
    private RitualManager ritualManager;
    private ShadowManager shadowManager;
    
    @Override
    public void onEnable() {
        saveDefaultConfig();
        
        this.configManager = new ConfigManager(this);
        this.ritualManager = new RitualManager(this);
        this.shadowManager = new ShadowManager(this);
        
        registerListeners();
        
        getLogger().info("Arise plugin has been enabled!");
    }
    
    @Override
    public void onDisable() {
        if (ritualManager != null) {
            ritualManager.cancelAllRituals();
        }
        
        if (shadowManager != null) {
            shadowManager.saveAllData();
        }
        
        getLogger().info("Arise plugin has been disabled!");
    }
    
    private void registerListeners() {
        Bukkit.getPluginManager().registerEvents(new PlayerInteractListener(this), this);
        Bukkit.getPluginManager().registerEvents(new EntityDeathListener(this), this);
        Bukkit.getPluginManager().registerEvents(new EntityDamageListener(this), this);
        Bukkit.getPluginManager().registerEvents(new CraftItemListener(this), this);
    }
    
    @Override
    public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
        if (command.getName().equalsIgnoreCase("arise")) {
            if (!sender.hasPermission("arise.admin")) {
                sender.sendMessage("§cYou don't have permission to use this command!");
                return true;
            }
            
            if (args.length > 0 && args[0].equalsIgnoreCase("reload")) {
                reloadConfig();
                configManager = new ConfigManager(this);
                sender.sendMessage(configManager.getMessage("reload"));
                return true;
            }
            
            sender.sendMessage("§6Arise Plugin v1.0");
            sender.sendMessage("§e/arise reload §7- Reload configuration");
            return true;
        }
        return false;
    }
}