I

Plugin name - LEGION SMP

I needa custom smp.plugin which have total 7 overpowered (Godlevel) but not one hit weapons, this 7 weapons are crafted only one time in server , this weapons must have active power (shift+right click) and a passive that was active everytime when weapon is in players inventory this weapos must have a unique name and a detailed lore which describes the abilities of weapons when anyone crafts weapon start a bossbar which shown in entire server with format [player] forged [weapon] at [world] [coordinate] this boosbar must colour full and update every 10 secs and a 35 munits ritual will start which maks a 5x5 good looking structure altar where the weapon floats (un breakable) which makes particles in different shapes like circle etc for a temporary time when the ritual ends give the weapon to the players inventory who has crafted if the player is killed by another at the time of ritual then the killer will get weapon and if the player who crafted weapon left when ritual is running them ritual will breaks and his all crafting ingredients will lost and no one gets the weapon add 20+ admin and player commands with tab completion and add a admin command from.which admin can view all recipes, all recipes and weapons can be configrable in config

I

Plugin name - LEGION SMP

I needa custom smp.plugin which have total 7 overpowered (Godlevel) but not one hit weapons, this 7 weapons are crafted only one time in server , this weapons must have active power (shift+right click) and a passive that was active everytime when weapon is in players inventory this weapos must have a unique name and a detailed lore which describes the abilities of weapons when anyone crafts weapon start a bossbar which shown in entire server with format [player] forged [weapon] at [world] [coordinate] this boosbar must colour full and update every 10 secs and a 35 munits ritual will start which maks a 5x5 good looking structure altar where the weapon floats (un breakable) which makes particles in different shapes like circle etc for a temporary time when the ritual ends give the weapon to the players inventory who has crafted if the player is killed by another at the time of ritual then the killer will get weapon and if the player who crafted weapon left when ritual is running them ritual will breaks and his all crafting ingredients will lost and no one gets the weapon add 20+ admin and player commands with tab completion and add a admin command from.which admin can view all recipes, all recipes and weapons can be configrable in config

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
20 2,289
src/main/java/com/legionsmp/LegionSMP.java
package com.legionsmp;

import com.legionsmp.commands.LegionCommand;
import com.legionsmp.config.ConfigManager;
import com.legionsmp.crafting.RecipeManager;
import com.legionsmp.listeners.*;
import com.legionsmp.ritual.RitualManager;
import com.legionsmp.weapons.WeaponManager;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.plugin.PluginManager;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class LegionSMP extends JavaPlugin {
    
    private ConfigManager configManager;
    private WeaponManager weaponManager;
    private RecipeManager recipeManager;
    private RitualManager ritualManager;
    
    @Override
    public void onEnable() {
        saveDefaultConfig();
        
        this.configManager = new ConfigManager(this);
        this.weaponManager = new WeaponManager(this);
        this.recipeManager = new RecipeManager(this);
        this.ritualManager = new RitualManager(this);
        
        this.weaponManager.loadWeapons();
        this.recipeManager.registerRecipes();
        
        registerCommands();
        registerListeners();
        
        ritualManager.startTasks();
        
        getLogger().info("LegionSMP has been enabled!");
        getLogger().info("Loaded " + weaponManager.getWeapons().size() + " legendary weapons.");
    }
    
    @Override
    public void onDisable() {
        if (ritualManager != null) {
            ritualManager.cancelAllRituals();
        }
        
        if (recipeManager != null) {
            recipeManager.unregisterRecipes();
        }
        
        getLogger().info("LegionSMP has been disabled!");
    }
    
    private void registerCommands() {
        getCommand("legion").setExecutor(new LegionCommand(this));
        getCommand("legion").setTabCompleter(new LegionCommand(this));
    }
    
    private void registerListeners() {
        PluginManager pm = Bukkit.getPluginManager();
        pm.registerEvents(new CraftListener(this), this);
        pm.registerEvents(new InteractListener(this), this);
        pm.registerEvents(new PassiveListener(this), this);
        pm.registerEvents(new RitualProtectionListener(this), this);
        pm.registerEvents(new PlayerDeathListener(this), this);
        pm.registerEvents(new PlayerQuitListener(this), this);
    }
}