burfii0090

Mystic Cats Plugin (Minecraft Java + Bedrock)

Create a high-quality Minecraft Java Edition Paper/Spigot plugin that is fully compatible with Bedrock Edition players through Geyser and Floodgate.

---

First Join System

  • When a player joins the server for the first time, they receive a special item called Mystery Cat Spawn Egg.
  • This reward can only be claimed once per player.
  • Using the spawn egg summons a fully tamed cat owned by that player.
  • The plugin must save all player and cat data permanently.

---

Cat Ownership

  • Each player can only own one active cat at a time.
  • Only the owner can damage or kill their cat.
  • Other players cannot damage, kill, leash, or interfere with the cat.
  • Ownership must be tracked using UUIDs.
  • Cats should be protected from environmental damage whenever possible.

---

General Ability System

  • Every cat grants passive powers to its owner.
  • Every active ability lasts for 1 minute.
  • After use, the ability enters a 30-second cooldown.
  • Cooldowns must be tracked individually.
  • Show cooldowns through ActionBar, BossBar, or messages.

---

Passive Ability Cats

⚡ Swift Cat

  • Speed II

💪 Warrior Cat

  • Strength II

🛡 Guardian Cat

  • Resistance II

❤️ Healer Cat

  • Regeneration II

🔥 Blaze Cat

  • Fire Resistance

🌊 Ocean Cat

  • Water Breathing

👁 Shadow Cat

  • Invisibility

🌙 Night Cat

  • Night Vision

🍀 Lucky Cat

  • Luck II

🦘 Jumper Cat

  • Jump Boost III

❄ Frost Cat

  • Slowness Immunity
  • Powder Snow Immunity

⚔ Berserker Cat

  • Strength III
  • Hunger Effect

🏹 Hunter Cat

  • Speed I
  • Strength I

---

Active Ability Cats

⚡ Storm Cat

Ability: Lightning Strike

Activation:

  • Sneak + Right Click with Stick

Effect:

  • Calls lightning at the targeted location.

Duration:

  • 1 Minute

Cooldown:

  • 30 Seconds

---

☠ Necro Cat

Ability: Curse Aura

Effect:

  • Nearby hostile mobs receive Weakness.

Duration:

  • 1 Minute

Cooldown:

  • 30 Seconds

---

LEGENDARY CAT

👑 Cosmic Cat

Spawn Chance:

  • 500 / 5000 (10%)

Passive Powers:

  • Strength III
  • Speed III
  • Regeneration III
  • Night Vision
  • Fire Resistance
  • Water Breathing
  • Luck III

Unique Ability: Starfall

Activation:

  • Sneak + Right Click with Stick

Effects within 20 Blocks:

  • Lightning rain around enemies.
  • Mobs gain Glowing.
  • Mobs receive Slowness for 5 seconds.

Duration:

  • 1 Minute

Cooldown:

  • 5 Minutes

Special Effects:

  • Cosmic particles.
  • Unique sounds.
  • Broadcast message when obtained.

---

MYTHIC CAT

🐉 Void Emperor Cat

Spawn Chance:

  • 250 / 25000 (1%)

Visual Effects:

  • Constant black and purple particles.

Passive Powers:

  • Creative Flight
  • No Fall Damage
  • Resistance IV
  • Speed IV
  • Strength IV

Ultimate Ability: Void Rift

Activation:

  • Sneak + Right Click with Stick

Effects within 20 Blocks:

  • Mobs Levitate
  • Darkness Effect
  • Lightning Strikes
  • Deals 10 True Damage

Cooldown:

  • 15 Minutes

---

Void Rift Ultimate Animation

Phase 1 – Rift Opening

  • Purple and black particles spiral around the player.
  • Deep portal sound plays.
  • Void energy gathers around the player.

Phase 2 – Void Expansion

  • A giant purple energy ring expands outward.
  • Dark smoke and Enderman particles appear.
  • The sky darkens briefly.

Phase 3 – Ultimate Impact

  • Lightning strikes randomly within the 20-block radius.
  • Nearby mobs levitate.
  • Darkness effect is applied.
  • 10 true damage is dealt.

Phase 4 – Void Collapse

  • Black-hole style particle vortex forms.
  • Purple energy implodes inward.
  • Massive thunder sound finishes the attack.

Special Features:

  • Global server announcement when obtained.
  • Exclusive boss-level particles.
  • Mythic aura around the owner.

---

Sacrifice System

When a player kills their own cat:

  • It is considered a Sacrifice.
  • The cat permanently disappears.
  • A special sacrifice animation and sound should play.

Sacrifice Buffs (1 Minute)

The player gains:

  • Strength IV
  • Resistance IV

Mythic Blessing (1 Minute)

The player temporarily gains the powers of the Void Emperor Cat:

  • Creative Flight
  • No Fall Damage
  • Resistan
Kodari AI
KodariJun 21 at 5:01 am 26

I’ll create a comprehensive cat companion plugin with Bedrock support, featuring unique cats with passive/active abilities, legendary/mythic rarities, and a sacrifice system.

MysticCats
A comprehensive cat companion system for Paper/Spigot with Bedrock support through Geyser/Floodgate. Players receive mystery spawn eggs on first join that summon unique cats with passive and active abilities. Features 13 standard cats, a legendary Cosmic Cat with Starfall ability, and mythic Void Emperor Cat with ultimate Void Rift power. Includes ownership protection, sacrifice system, cooldown tracking, and spectacular particle effects.
Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
20 1,505
src/main/java/com/mysticcats/plugin/MysticCats.java
package com.mysticcats.plugin;

import com.mysticcats.plugin.commands.MysticCatsCommand;
import com.mysticcats.plugin.data.DataManager;
import com.mysticcats.plugin.listeners.AbilityActivationListener;
import com.mysticcats.plugin.listeners.CatDeathListener;
import com.mysticcats.plugin.listeners.CatProtectionListener;
import com.mysticcats.plugin.listeners.CatSpawnListener;
import com.mysticcats.plugin.listeners.PlayerJoinListener;
import com.mysticcats.plugin.managers.AbilityManager;
import com.mysticcats.plugin.managers.CatManager;
import com.mysticcats.plugin.managers.CooldownManager;
import org.bukkit.Bukkit;
import org.bukkit.NamespacedKey;
import org.bukkit.plugin.java.JavaPlugin;

public class MysticCats extends JavaPlugin {
    private DataManager dataManager;
    private CatManager catManager;
    private AbilityManager abilityManager;
    private CooldownManager cooldownManager;
    private NamespacedKey mysteryEggKey;
    
    @Override
    public void onEnable() {
        saveDefaultConfig();
        
        this.mysteryEggKey = new NamespacedKey(this, "mystery_egg");
        this.dataManager = new DataManager(getDataFolder());
        this.catManager = new CatManager(this);
        this.cooldownManager = new CooldownManager();
        this.abilityManager = new AbilityManager(this);
        
        dataManager.loadData();
        
        registerListeners();
        registerCommands();
        
        getLogger().info("MysticCats has been enabled!");
    }
    
    @Override
    public void onDisable() {
        dataManager.saveData();
        getLogger().info("MysticCats has been disabled!");
    }
    
    private void registerListeners() {
        Bukkit.getPluginManager().registerEvents(new PlayerJoinListener(this), this);
        Bukkit.getPluginManager().registerEvents(new CatSpawnListener(this), this);
        Bukkit.getPluginManager().registerEvents(new CatProtectionListener(this), this);
        Bukkit.getPluginManager().registerEvents(new CatDeathListener(this), this);
        Bukkit.getPluginManager().registerEvents(new AbilityActivationListener(this), this);
    }
    
    private void registerCommands() {
        MysticCatsCommand commandHandler = new MysticCatsCommand(this);
        getCommand("mysticcats").setExecutor(commandHandler);
        getCommand("mysticcats").setTabCompleter(commandHandler);
    }
    
    public DataManager getDataManager() {
        return dataManager;
    }
    
    public CatManager getCatManager() {
        return catManager;
    }
    
    public AbilityManager getAbilityManager() {
        return abilityManager;
    }
    
    public CooldownManager getCooldownManager() {
        return cooldownManager;
    }
    
    public NamespacedKey getMysteryEggKey() {
        return mysteryEggKey;
    }
}