abhi945795jeet-ux

--- CONFIGURATION ---

options: p: &8[&6RelicSMP&8]

--- THE CRAFTING LOGIC (One-time use) ---

variables: {crafted::*} = false

function checkCraft(p: player, item: text): if {crafted::%{_item}%} is true: send "{@p} &cThis relic has already been claimed by someone else!" to {_p} cancel event else: set {crafted::%{_item}%} to true broadcast "{@p} &e%{_p}% &7has forged the &6%{_item}%&7! It can never be crafted again."

--- THE WEAPONS & ABILITIES ---

on damage: # 1. THE VOID REAPER (Life Steal) if attacker's tool is a netherite hoe named "&5Void Reaper": heal attacker by 1 heart play lightning bolt at victim # (Visual only)

# 2. TIDE-BREAKER (Pushback) if attacker's tool is a trident named "&bTide-Breaker": push victim backwards with speed 2 apply slowness 2 to victim for 3 seconds

# 3. MOLTEN CORE (Fire Trail) if attacker's tool is a netherite sword named "&cMolten Core": set victim on fire for 8 seconds create a fake explosion at victim

on right click: # 4. WIND-WALKER (Dash) if player's tool is a netherite sword named "&fWind-Walker": push player forward with force 1.5 play cloud at player

# 5. EARTH-SHAKER (Stun) if player's tool is a netherite axe named "&aEarth-Shaker": loop entities in radius 5 around player: if loop-entity is not player: apply blindness 1 to loop-entity for 4 seconds apply slowness 5 to loop-entity for 2 seconds

# 6. CHRONOS WAND (Freeze Time) if player's tool is a stick named "&eChronos Wand": loop entities in radius 7 around player: if loop-entity is not player: apply slowness 10 to loop-entity for 5 seconds send "&7Time has frozen for you..." to loop-entity

# 7. DRAGON'S BREATH (AOE Fire) if player's tool is a blaze rod named "&6Dragon's Breath": shoot a fireball from player

--- ADMIN COMMANDS ---

command /relicadmin <text> [<text>]: permission: op trigger: if arg-1 is "reset": delete {crafted::*} send "{@p} &aAll relic crafting flags have been reset!" if arg-1 is "give": if arg-2 is "voidreaper": give player 1 of netherite hoe named "&5Void Reaper" with lore "&7Only one exists." # ... repeat for other items

Kodari AI
KodariMar 17 at 3:43 pm 10,186 (v2)

I’ll convert this Skript-based RelicSMP plugin into a full Spigot/Paper plugin with one-time craftable weapons and unique abilities.

RelicSMP
A unique weapon system where powerful relics can only be crafted once per server. Features legendary weapons with special abilities including life steal, knockback, fire trails, time freeze, area stuns, dashing, and explosive attacks. Includes admin commands for managing relic availability and distribution.

I’ve converted your Skript RelicSMP into a complete Spigot plugin with all features:

Key Features Implemented:

  • One-time craftable relics (tracked in config, persists across restarts)

  • All 7 unique weapons with their special abilities

  • Broadcast message when a relic is first crafted

  • Admin commands for reset and giving relics

  • Cross-version compatibility using XSeries

Relic Abilities:

  • Void Reaper: Heals 2 hearts on hit + lightning effect

  • Tide-Breaker: Knockback + slowness on hit

  • Molten Core: Sets target on fire + explosion effect

  • Wind-Walker: Dash forward on right-click

  • Earth-Shaker: AOE stun (5 block radius) on right-click

  • Chronos Wand: Time freeze (7 block radius) on right-click

  • Dragon’s Breath: Launch fireball on right-click

Commands:

  • /relicadmin reset - Reset all crafting flags

  • /relicadmin give <relic> - Give yourself a relic

The plugin will prevent any relic from being crafted a second time, broadcasting a message when the first one is created.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
10 624
src/main/java/com/relicsmp/RelicSMP.java
package com.relicsmp;

import com.relicsmp.command.RelicCommand;
import com.relicsmp.listener.RelicListener;
import com.relicsmp.manager.ConfigManager;
import com.relicsmp.manager.RelicManager;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class RelicSMP extends JavaPlugin {
    private ConfigManager configManager;
    private RelicManager relicManager;

    @Override
    public void onEnable() {
        this.configManager = new ConfigManager(this);
        this.relicManager = new RelicManager(this);

        Bukkit.getPluginManager().registerEvents(new RelicListener(this), this);

        RelicCommand relicCommand = new RelicCommand(this);
        getCommand("relicadmin").setExecutor(relicCommand);
        getCommand("relicadmin").setTabCompleter(relicCommand);

        getLogger().info("RelicSMP has been enabled!");
    }

    @Override
    public void onDisable() {
        if (configManager != null) {
            configManager.save();
        }
        getLogger().info("RelicSMP has been disabled!");
    }
}