bariskhan365-art

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

Plugin Name: Arise Version: 1.0

---

💀 CORE SYSTEM:

  • When a player kills any mob:

✅ That mob is converted into a "Shadow Soldier"

  • Play effects:

- Black + Blue particles - Soul absorption animation into player

---

👥 SHADOW STORAGE:

  • Store shadows per player
  • Limit using config.yml

---

🐺 SHADOW BEHAVIOR (PET SYSTEM):

  • Shadows act like wolves/dogs (loyal pets)

Rules:

  • ❌ Never attack their owner
  • ❌ Never become aggressive toward owner
  • ❌ Do not attack randomly
  • ✅ If someone attacks the owner:

→ All shadows attack that player/mob

  • ✅ If owner attacks someone:

→ Shadows attack that target

  • ✅ Optional:

→ Allow owner to "add friendly players" (team system) → Shadows will NOT attack those players

---

👑 SUMMON SYSTEM:

  • SHIFT + RIGHT CLICK:

→ Spawn all saved shadows around player

  • SHIFT + LEFT CLICK:

→ Despawn all active shadows

---

👤 SHADOW PROPERTIES:

  • Name:

"Arise by <player>"

  • Same HP as original mob
  • If shadow dies:

❌ Permanently removed

---

✨ PARTICLE SYSTEM:

  • Each shadow mob has continuous particles:

Effect:

- Particles rotate around full body (feet to head) - Circular spiral animation

Colors:

- Black - Blue

  • Particle intensity configurable

---

⚔️ COMBAT SYSTEM:

  • Shadows only attack:

- Player’s target - Entities that attack the player

  • Passive mobs:

→ Deal low damage

  • Hostile mobs:

→ Keep normal damage

---

⏱️ COOLDOWN:

  • Add cooldown for summon/despawn ability

---

⚙️ CONFIG.YML:

max-shadows: 10 cooldown: 30

particles-enabled: true particle-intensity: 2

shadow-name: "&8Arise by %player%"

team-system-enabled: true

---

⚙️ TECH:

  • Use:

- EntityDeathEvent - EntityDamageByEntityEvent - PlayerInteractEvent - EntityTargetEvent - Scheduler (for particles) - PersistentDataContainer

---

📦 OUTPUT:

  • Java code
  • plugin.yml
  • config.yml
  • Folder structure
Kodari AI
KodariMar 26 at 10:56 pm 16,354 (v2)

I’ll create a comprehensive Shadow Soldier system with pet mechanics, particle effects, and combat integration.

Arise
A necromancer-themed plugin that allows players to convert killed mobs into loyal Shadow Soldiers. These spectral pets protect their master with black and blue particle effects, attack enemies that threaten their owner, and can be summoned or dismissed with simple gestures. Features configurable limits, cooldowns, team system, and persistent shadow storage across server restarts.

Perfect! I’ve created a complete Shadow Soldier system with:

Core Features:

  • ✅ Kill mobs → convert to Shadow Soldiers with soul absorption animation

  • ✅ Shift+Right Click → summon all shadows around you

  • ✅ Shift+Left Click → despawn all active shadows

  • ✅ Configurable shadow limit per player

  • ✅ Persistent storage (saves/loads across restarts)

Combat System:

  • ✅ Shadows defend owner when attacked

  • ✅ Shadows attack owner’s targets

  • ✅ Passive mob shadows deal 30% damage, hostile mobs deal full damage

  • ✅ Never attack owner or owner’s other shadows

  • ✅ Optional team system to protect friendly players

Visual Effects:

  • ✅ Black + blue spiral particles rotating around shadow bodies

  • ✅ Soul absorption animation when mob is killed (particles flow to player)

  • ✅ Sound effects for summoning/despawning

Technical Implementation:

  • Uses PersistentDataContainer to track shadow ownership

  • Particle task runs every 2 ticks with configurable intensity

  • Cooldown system prevents spam

  • Data saved to shadows.yml automatically

  • XSeries for full cross-version compatibility

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
18 994
src/main/java/com/arise/ArisePlugin.java
package com.arise;

import com.arise.listener.ShadowCombatListener;
import com.arise.listener.ShadowCreationListener;
import com.arise.listener.ShadowDeathListener;
import com.arise.listener.ShadowInteractListener;
import com.arise.listener.ShadowTargetListener;
import com.arise.manager.CombatManager;
import com.arise.manager.CooldownManager;
import com.arise.manager.DataManager;
import com.arise.manager.ParticleManager;
import com.arise.manager.ShadowManager;
import com.arise.manager.TeamManager;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.plugin.PluginManager;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class ArisePlugin extends JavaPlugin {
    
    private ShadowManager shadowManager;
    private ParticleManager particleManager;
    private CombatManager combatManager;
    private TeamManager teamManager;
    private CooldownManager cooldownManager;
    private DataManager dataManager;
    
    @Override
    public void onEnable() {
        saveDefaultConfig();
        
        this.dataManager = new DataManager(this);
        this.shadowManager = new ShadowManager(this);
        this.particleManager = new ParticleManager(this);
        this.combatManager = new CombatManager(this);
        this.teamManager = new TeamManager(this);
        this.cooldownManager = new CooldownManager();
        
        this.dataManager.loadShadows();
        this.particleManager.startParticleTask();
        
        registerListeners();
        
        getLogger().info("Arise has been enabled!");
    }
    
    @Override
    public void onDisable() {
        if (particleManager != null) {
            particleManager.stopParticleTask();
        }
        if (shadowManager != null) {
            shadowManager.despawnAllShadows();
        }
        if (dataManager != null) {
            dataManager.saveShadows();
        }
        
        getLogger().info("Arise has been disabled!");
    }
    
    private void registerListeners() {
        PluginManager pm = Bukkit.getPluginManager();
        pm.registerEvents(new ShadowCreationListener(this), this);
        pm.registerEvents(new ShadowInteractListener(this), this);
        pm.registerEvents(new ShadowCombatListener(this), this);
        pm.registerEvents(new ShadowTargetListener(this), this);
        pm.registerEvents(new ShadowDeathListener(this), this);
    }
}