not_xd_legend

Create a Minecraft Paper plugin called "Legendary Relics".

Features:

  • Custom weapons with unique abilities
  • Custom textures using CustomModelData
  • Custom crafting recipes
  • Only ONE player in the entire server can craft each legendary weapon
  • If a weapon already exists, crafting it again should be blocked
  • Save weapon ownership data permanently

Example weapons:

  1. Shadow Blade

- Dash ability - Blindness effect on hit - Dark particles - Night damage boost

  1. Storm Breaker

- Lightning strike ability - Thunder particles and sounds - Chain damage

  1. Void Bow

- Teleport arrow ability - Black hole pull effect

Requirements:

  • PaperMC 1.20+
  • Java plugin
  • plugin.yml included
  • Gradle build support
  • Config.yml support
  • Event listeners
  • Cooldown system
  • Weapon abilities with right-click actions
  • Custom crafting recipes
  • Global one-owner system
  • Resource pack support

Extra Features:

  • Weapon evolution system
  • Soul bind system
  • Legendary craft announcement
  • Boss-drop crafting materials
  • INVENTORY GUI menu for relic info

Use clean optimized code and proper package structure.

Kodari AI
KodariMay 11 at 4:30 pm 21,138 (v2)

I’ll create a comprehensive Minecraft plugin with unique legendary weapons that only one player can craft.

LegendaryRelics
A unique weapon system featuring legendary relics with special abilities. Each relic can only be crafted by ONE player globally - once created, no one else can obtain it. Features include custom abilities (dash, lightning strikes, teleportation), weapon evolution, soul binding, boss-drop materials, GUI menus, and particle effects. Includes Shadow Blade, Storm Breaker, and Void Bow with custom textures via CustomModelData.

Perfect! I’ve created a complete Minecraft plugin with legendary weapons and a one-owner system.

Project Structure

Core Features Implemented:

  • ✅ 3 Legendary Relics with unique abilities (Shadow Blade, Storm Breaker, Void Bow)

  • ✅ One-owner system - only ONE player globally can craft each relic

  • ✅ Custom textures via CustomModelData (1001-1003)

  • ✅ Soul-bound weapons (cannot be transferred)

  • ✅ Weapon evolution system (3 tiers based on kill count)

  • ✅ Boss-drop crafting materials with configurable drop rates

  • ✅ GUI system for relic information

  • ✅ Cooldown management for abilities

  • ✅ Global craft announcements

  • ✅ Persistent YAML data storage

Weapon Abilities

Shadow Blade (Right-Click):

  • Dash forward through shadows

  • Applies blindness on hit

  • Night damage boost (18:00-06:00)

  • Dark particle effects

Storm Breaker (Right-Click):

  • Lightning strike on target location

  • Chain lightning to nearby enemies

  • Thunder particles and sounds

Void Bow (Right-Click):

  • Teleport to target location

  • Black hole pull effect on nearby entities

  • Portal particles

Commands

  • /relic - Opens GUI menu showing all relics and their owners

  • /relic give <player> <relic> - Give a relic to a player (admin)

  • /relic reset <relic|all> - Reset ownership (admin)

Resource Pack Setup

Add to your resource pack with CustomModelData values:

  • Shadow Blade: 1001

  • Storm Breaker: 1002

  • Void Bow: 1003

  • Shadow Essence: 2001

  • Storm Core: 2002

  • Void Crystal: 2003

All data is auto-saved and persists across restarts!

not_xd_legend

Give me all commands

Kodari AI
KodariMay 11 at 5:12 pm 3,242 (v2)

All Commands in Legendary Relics

Main Command: /relic

Player Commands:

  • /relic - Opens the Relic Info GUI menu showing all legendary relics and their current owners

    • Permission: legendaryrelics.command (default: true)

Admin Commands:

  • /relic give <player> <relic> - Give a specific legendary relic to a player

    • Permission: legendaryrelics.admin

    • Examples:

      • /relic give Notch shadow_blade

      • /relic give Steve storm_breaker

      • /relic give Alex void_bow

  • /relic reset <relic|all> - Reset ownership of a specific relic or all relics

    • Permission: legendaryrelics.admin

    • Examples:

      • /relic reset shadow_blade - Resets only Shadow Blade ownership

      • /relic reset storm_breaker - Resets only Storm Breaker ownership

      • /relic reset void_bow - Resets only Void Bow ownership

      • /relic reset all - Resets ALL relic ownerships

Permissions:

Permission
Description
Default
legendaryrelics.command
Access to
/relic
GUI
All players
legendaryrelics.admin
Access to admin commands (give, reset)
Operators only

Notes:

  • All commands have tab-completion support

  • Invalid arguments will show usage messages

  • Admin commands broadcast messages to all online players

  • The GUI menu shows real-time ownership status and evolution levels

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
26 1,516
src/main/java/com/legendaryrelics/LegendaryRelics.java
package com.legendaryrelics;

import com.legendaryrelics.command.RelicCommand;
import com.legendaryrelics.data.DataManager;
import com.legendaryrelics.evolution.EvolutionManager;
import com.legendaryrelics.inventory.gui.GUIListener;
import com.legendaryrelics.inventory.gui.GUIManager;
import com.legendaryrelics.listener.BossDropListener;
import com.legendaryrelics.listener.RelicCraftListener;
import com.legendaryrelics.listener.RelicDamageListener;
import com.legendaryrelics.listener.RelicUseListener;
import com.legendaryrelics.relic.RelicManager;
import com.legendaryrelics.util.CooldownManager;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class LegendaryRelics extends JavaPlugin {
    
    private RelicManager relicManager;
    private DataManager dataManager;
    private CooldownManager cooldownManager;
    private EvolutionManager evolutionManager;
    private GUIManager guiManager;
    
    @Override
    public void onEnable() {
        saveDefaultConfig();
        
        this.dataManager = new DataManager(this);
        this.dataManager.load();
        
        this.relicManager = new RelicManager(this);
        this.cooldownManager = new CooldownManager();
        this.evolutionManager = new EvolutionManager(this);
        this.guiManager = new GUIManager();
        
        this.relicManager.registerRecipes();
        
        registerListeners();
        registerCommands();
        
        getLogger().info("LegendaryRelics has been enabled!");
    }
    
    @Override
    public void onDisable() {
        this.dataManager.save();
        getLogger().info("LegendaryRelics has been disabled!");
    }
    
    private void registerListeners() {
        Bukkit.getPluginManager().registerEvents(new RelicUseListener(this), this);
        Bukkit.getPluginManager().registerEvents(new RelicCraftListener(this), this);
        Bukkit.getPluginManager().registerEvents(new RelicDamageListener(this), this);
        Bukkit.getPluginManager().registerEvents(new BossDropListener(this), this);
        Bukkit.getPluginManager().registerEvents(new GUIListener(guiManager), this);
    }
    
    private void registerCommands() {
        getCommand("relic").setExecutor(new RelicCommand(this));
    }
}