idk067484

make craftable powers that can be used for smp make it so only one of each can be crafted also give them some cool looking abilities add custom materials to craft the powers make atleast 6

Kodari AI
KodariJun 16 at 6:22 pm 71

I’ll create a unique powers plugin where players can craft one-of-a-kind abilities with custom materials and stunning visual effects.

MythicPowers
An SMP powers system featuring craftable, one-time-only mythic abilities with custom materials and stunning particle effects. Each power can only be crafted once per server, making them extremely rare and valuable. Includes 7 unique powers: Flight, Strength, Speed, Regeneration, Teleportation, Fire Mastery, and Thunder. Custom crafting materials include Ethereal Shards, Ancient Crystals, and Divine Fragments. Powers provide permanent or active abilities with cool visual effects.
idk067484

how do i download and use the addon

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
15 1,216
src/main/java/com/mythicpowers/MythicPowers.java
package com.mythicpowers;

import com.mythicpowers.listeners.CraftListener;
import com.mythicpowers.listeners.PlayerListener;
import com.mythicpowers.listeners.PowerUseListener;
import com.mythicpowers.listeners.MaterialDropListener;
import com.mythicpowers.managers.AbilityManager;
import com.mythicpowers.managers.ConfigManager;
import com.mythicpowers.managers.CraftingManager;
import com.mythicpowers.managers.DataManager;
import com.mythicpowers.managers.PowerManager;
import com.mythicpowers.managers.CustomMaterialManager;
import com.mythicpowers.commands.PowerCommand;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class MythicPowers extends JavaPlugin {
    
    private ConfigManager configManager;
    private DataManager dataManager;
    private PowerManager powerManager;
    private CraftingManager craftingManager;
    private AbilityManager abilityManager;
    private CustomMaterialManager customMaterialManager;
    
    @Override
    public void onEnable() {
        // Initialize managers
        this.configManager = new ConfigManager(this);
        this.dataManager = new DataManager(this);
        this.powerManager = new PowerManager(this);
        this.customMaterialManager = new CustomMaterialManager(this);
        this.craftingManager = new CraftingManager(this);
        this.abilityManager = new AbilityManager(this);
        
        // Load data
        configManager.loadConfig();
        dataManager.load();
        
        // Register recipes
        craftingManager.registerRecipes();
        
        // Register listeners
        getServer().getPluginManager().registerEvents(new CraftListener(this), this);
        getServer().getPluginManager().registerEvents(new PowerUseListener(this), this);
        getServer().getPluginManager().registerEvents(new PlayerListener(this), this);
        getServer().getPluginManager().registerEvents(new MaterialDropListener(this), this);
        
        // Register commands
        getCommand("mythicpowers").setExecutor(new PowerCommand(this));
        
        // Start ability tasks
        abilityManager.startPassiveAbilities();
        
        getLogger().info("MythicPowers has been enabled!");
    }
    
    @Override
    public void onDisable() {
        // Save data
        if (dataManager != null) {
            dataManager.save();
        }
        
        // Stop ability tasks
        if (abilityManager != null) {
            abilityManager.stopPassiveAbilities();
        }
        
        getLogger().info("MythicPowers has been disabled!");
    }
}