Y
📎 1 file 4,118 chars
📄
pasted-code-1776573220779.txt
txt 147 lines
▶
You are an expert Minecraft Java plugin developer (Spigot/Paper 1.20+).
Create a complete production-ready SMP plugin named “MythRune SMP”.
This is a PvP survival rune-stealing SMP with abilities, bounty system, events, combat system, and INVENTORY GUI-based rune management. No economy, shop, or pay-to-win system is allowed.
⚔️ CORE RUNE SYSTEM
There are 8 total runes:
🟢 NORMAL RUNES (Common PvP Abilities)
⚡ Speed Rune
15 sec speed boost
cooldown: 45 sec
🔥 Fire Rune
hit applies burn damage
cooldown: 45 sec
🛡 Shield Rune
15 sec resistance effect
cooldown: 60 sec
💨 Jump Rune
high jump + no fall damage
cooldown: 45 sec
❄ Ice Rune
slowness effect on hit
cooldown: 45 sec
☠ Poison Rune
damage over time effect
cooldown: 50 sec
🔴 RARE RUNES
❤️ Life Rune
+2 permanent hearts
passive effect
👁 Tracker Rune
shows nearest enemy direction
cooldown: 45 sec
🌑 SPECIAL EVENT RUNE
Void Rune
teleport dash ability
short invisibility effect
only obtainable via events/admin
cannot be crafted
🎮 RUNE EQUIP SYSTEM
Max 3 runes equipped per player
Command: /runes opens INVENTORY GUI inventory menu
INVENTORY GUI shows owned runes + equipped slots
Click to equip/unequip runes
Clean UI with rarity colors (Common/Rare/Special)
⚡ ABILITY SYSTEM
Ability trigger: Sneak + Right Click
Only 1 rune active at a time
Active duration: 15 seconds
Cooldowns:
Normal runes: 45–50 sec
Shield/strong runes: 60 sec
Must include:
particles per rune
sound effects
visual feedback (HUD message)
🔄 RUNE SWAP SYSTEM
Command: /runes swap
Cycles between equipped runes (Slot 1 → 2 → 3)
Optional hotkey support (R key simulation if possible)
💀 KILL SYSTEM (CORE FEATURE)
When a player kills another player:
Victim’s equipped rune drops on ground
Killer can pick it up
Rune ownership transfers permanently
🛡 RUNE PROTECTION SYSTEM
Item: Rune Protection Scroll
If player dies:
prevents rune loss ONCE
item is consumed
Rare item, bounty/event reward only
💰 BOUNTY SYSTEM
Every 6–7 real-life days
Random active player becomes Bounty Target
Duration: 24 hours
Announcement:
Title popup on screen
Chat broadcast
Sound + particles
Reward:
Rare rune chance OR Rune Protection Scroll OR special rune-related reward
🧩 SLOT SYSTEM
Start: 2 rune slots
Unlock 3rd slot via:
15 player kills OR
1 bounty participation OR
special event completion
⚔️ COMBAT TAG SYSTEM
When player hits another player:
15 second combat tag activated
During combat tag:
player cannot safely logout
logout results in punishment (death or penalty)
Must show visual timer or bossbar
📍 DEATH LOCATION SYSTEM
When player dies:
death location is temporarily marked
used for revenge tracking
Marker disappears after short time
📢 KILL FEED SYSTEM
Custom chat messages:
Example: “⚔ PlayerX eliminated PlayerY using Fire Rune”
Must include rune used (if active)
🎆 SMP START SYSTEM
Command: /smpstart
Effects:
5 second countdown
Players float in air for 4–5 seconds
Fireworks + particles
Title: “MYTHRUNE SMP HAS STARTED”
Global announcement
Players drop to ground and PvP begins
📢 EVENT SYSTEM
Random events every few days
Major events must be announced 2 real-life days before
Events:
Blood Moon (strong mobs + loot boost)
Meteor Crash (loot zone spawn)
Boss Invasion (custom boss fight)
Treasure Hunt (clue-based reward)
Void Rift Event (chance for Void Rune)
⚙️ ADMIN / OP COMMANDS
Must include:
Bash
/rune give  
/rune remove  
/rune equip  
/rune test 
/rune giveall 
/rune debug
/smpstart
OP only access
Debug mode disables cooldowns for testing
🧠 TECH REQUIREMENTS
Java Spigot/Paper 1.20+
Clean OOP structure
Config.yml for rune stats and cooldowns
INVENTORY GUI-based system (inventory menus)
Lightweight and optimized
No economy/shop system
No currencies or tokens
📦 OUTPUT REQUIRED
Provide:
Full Java plugin source code
plugin.yml
config.yml
INVENTORY GUI system implementation
folder structure explanation
Make it production-ready for a YouTube Minecraft SMP server.
Kodari AI
KodariApr 19 at 4:38 am 23,110 (v2)

I’ll create a complete GUI-based PvP rune-stealing SMP plugin with all the features you requested.

MythRuneSMP
A comprehensive PvP survival SMP plugin featuring an 8-rune ability system with GUI-based management. Players can equip up to 3 runes with unique abilities (speed, fire, shield, jump, ice, poison, life, tracker, and special void rune). Includes rune-stealing on kill, bounty system with 6-7 day cycles, combat tagging, slot progression, death location tracking, random events, rune protection scrolls, and dramatic SMP start countdown. All rune management handled through interactive inventory GUIs with visual feedback and particle effects.

I’ll build this complete SMP plugin with a GUI-based rune system, bounty hunting, and event mechanics.

All files created! This complete PvP rune-stealing SMP plugin features:

✨ Core Systems:

  • 8 unique runes (5 normal, 2 rare, 1 special) with unique abilities

  • GUI-based rune management with visual feedback

  • Sneak + right-click ability activation

  • Combat tag system with boss bar timer

  • Rune-stealing on kill mechanic

🎮 Progression:

  • Start with 2 slots, unlock 3rd via kills/bounty/events

  • Rune protection scrolls prevent loss

  • Kill tracking and stats

💰 Events:

  • Automated bounty system (every 6-7 days)

  • Random event announcements

  • Dramatic SMP start countdown with fireworks

⚙️ Commands:

  • /runes - Open GUI

  • /runes swap - Cycle active rune

  • /smpstart - Launch SMP event

  • Admin commands for rune management

All features are production-ready with XSeries compatibility, proper error handling, and persistent data storage!

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
26 1,996
src/main/java/com/mythrune/smp/MythRuneSMP.java
package com.mythrune.smp;

import com.mythrune.smp.command.RuneCommand;
import com.mythrune.smp.command.SMPStartCommand;
import com.mythrune.smp.inventory.gui.GUIListener;
import com.mythrune.smp.inventory.gui.GUIManager;
import com.mythrune.smp.listener.CombatListener;
import com.mythrune.smp.listener.PlayerDeathListener;
import com.mythrune.smp.listener.PlayerInteractListener;
import com.mythrune.smp.manager.*;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class MythRuneSMP extends JavaPlugin {
    private PlayerDataManager playerDataManager;
    private RuneManager runeManager;
    private AbilityManager abilityManager;
    private CombatTagManager combatTagManager;
    private BountyManager bountyManager;
    private EventManager eventManager;
    private GUIManager guiManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();

        this.playerDataManager = new PlayerDataManager(this);
        this.runeManager = new RuneManager(this);
        this.abilityManager = new AbilityManager(this);
        this.combatTagManager = new CombatTagManager(this);
        this.bountyManager = new BountyManager(this);
        this.eventManager = new EventManager(this);
        this.guiManager = new GUIManager();

        registerCommands();
        registerListeners();

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

    @Override
    public void onDisable() {
        playerDataManager.saveData();
        combatTagManager.cleanup();
        getLogger().info("MythRune SMP has been disabled!");
    }

    private void registerCommands() {
        RuneCommand runeCommand = new RuneCommand(this);
        getCommand("rune").setExecutor(runeCommand);
        getCommand("rune").setTabCompleter(runeCommand);
        getCommand("runes").setExecutor(runeCommand);
        getCommand("runes").setTabCompleter(runeCommand);
        getCommand("smpstart").setExecutor(new SMPStartCommand(this));
    }

    private void registerListeners() {
        Bukkit.getPluginManager().registerEvents(new PlayerInteractListener(this), this);
        Bukkit.getPluginManager().registerEvents(new PlayerDeathListener(this), this);
        Bukkit.getPluginManager().registerEvents(new CombatListener(this), this);
        Bukkit.getPluginManager().registerEvents(new GUIListener(guiManager), this);
    }
}