mr__pietruszka

📜 KOMENDY 🧾 /legendarki 👤 Gracz: otwiera INVENTORY GUI może tylko oglądać nie może brać itemów 🛡 Admin (legendarki.admin): otwiera INVENTORY GUI może brać itemy bez limitu (jak GM1) 🖥 INVENTORY GUI 54 sloty (double chest) wszystkie legendarki dekoracja (szkło itp.) – zablokowana gracz nie może nic wyjąć admin może wszystko brać ⚔ PRZEDMIOTY CIENIA ⚔ Miecz Mroku Item: Netherite Sword DMG: 11.5 ⚙ Umiejętności: 🔥 Kombo start po uderzeniu trwa 10s cooldown 90s Podczas komba: każde uderzenie = krytyk skok = +50% dmg 5% szansy → 1 losowy efekt (3s): blindness slowness weakness nausea poison 🚫 Blokada pereł po trafieniu działa 3s cooldown 60s 🏹 Łuk Cienia Item: Bow Enchanty:

Power VI Flame II Punch IV Infinity 🎯 Kamień Łucznika (działa na łuku) Po strzale: 20% poison I 15% slowness III 10% nausea 5% blindness 20% weakness czas: 5s 🏹 Strzała Cienia Item: Arrow ⚙ Efekt: teleport natychmiast do miejsca trafienia 💀 Trafienie gracza: miesza hotbar przeciwnika ❗: jednorazowa nie stackuje się cooldown 10 min ⛏ Kilof Cienia Item: Netherite Pickaxe 📈 Poziomy: 1️⃣ start:

Efficiency VI 2️⃣ (500 bloków):

Efficiency VII 0.5% drop odłamka 3️⃣ (1000 bloków):

Efficiency VIII Fortune IV 4️⃣ (1500 bloków):

Efficiency IX Fortune V Haste I 5️⃣ (2500 bloków):

Efficiency X Fortune VI Haste II 1% drop odłamka ✔ tylko ręczne kopanie ✔ zapis do pliku 💜 Odłamek Cienia Item: Purple Dye waluta drop z kilofa drop ze skrzynek 🛡 Zbroja Cienia Item: Netherite Armor ⚙ Efekty:

Protection V Unbreaking V ❤️ Bonus: +1 serce za część full set = +4 serca 💎 KAMIENIE (zaklęte księgi) ✔ nakładanie: kowadło ✔ tylko na odpowiedni item 🕸 Pajęczy Kamień (miecz) 5% cobweb pod graczem 🔥 Kamień Ognia (hełm) Fire Resistance 🪨 Kamienna Skóra (klata + spodnie) +10% odporności 🎯 Kamień Łucznika (łuk) efekty strzał (jak wyżej) ☠ Kamień Totemu (tarcza) działa jak totem znika po użyciu 🧺 Koszyk na Pisanki Item: Bundle ⚙ Działanie: zbiera itemy z zabitych graczy 🖱 PPM: otwiera INVENTORY GUI (54 sloty) 🔘 Szary barwnik: opróżnia koszyk itemy trafiają: do eq lub pod gracza 💀 Śmierć: wypada z zawartością 🍫 EVENTOWE 🍫 Wyrzutnia Czekolady Item: Blaze Rod PPM → fireball cooldown 120s 🍫 Czekoladowe Jajko (bariera PvP) ⚙ Działanie:

Po uderzeniu: tworzy barierę 16x16 (chunk) czas: 60s 👁 Widoczność: ✔ walczący widzą siebie ❌ inni nie widzą: graczy bariery 🚫 blokuje: elytra budowanie niszczenie ✔ wyjątki: pajęczyny obsydian dźwignie ⏱ cooldown: 60s liczy się po zniknięciu ❌ nie można wyjść z bariery ⚙ SYSTEMY PLUGINU Plugin zawiera: system INVENTORY GUI system cooldown (osobno dla każdego itemu) system combatu (nadpisany dmg) system kombo (miecz mroku) system efektów losowych system strzały (teleport + chaos hotbar) system kilofa (poziomy + drop) system waluty system kamieni (kowadło) system koszyka system eventów (bariera + fireball) system widoczności graczy zapis danych (YAML) 🔐 ZASADY ✔ każdy item = CustomModelData + tag ✔ brak craftingu ✔ brak dropu (poza odłamkiem i eventami) ✔ wszystko przez INVENTORY GUI/admina ✔ działa na wielu graczy ✔ zoptymalizowane pod ~1000 graczy

Kodari AI
KodariApr 15 at 1:50 pm 24,941 (v2)

I’ll create a comprehensive legendary items plugin with GUI system, custom weapons, armor, and special mechanics.

LegendsPlugin
A comprehensive legendary items system featuring shadow-themed weapons and armor with unique abilities including combo mechanics, teleportation arrows, leveling pickaxe, PvP barriers, and a complete GUI-based item management system. Includes currency system, cooldown management, and player visibility controls optimized for large servers.

Analysis

  • GUI-based inventory system with 54 slots for legendary items

  • Custom weapons with abilities (combo system, teleportation, leveling)

  • Stone system using anvil mechanics

  • Barrier/fireball event items with visibility control

  • YAML data persistence for pickaxe levels and player data

  • Cooldown management per item type

  • Admin/player permission separation

All files created! The plugin includes:

Core Systems:

  • Complete GUI framework with 54-slot legendary items display

  • Admin/player permission separation for item access

  • Item manager with CustomModelData and NBT tagging

  • Cooldown management per item type

  • Combo system for Sword of Darkness (10s duration, 90s cooldown)

  • Barrier system for event items (chunk-based PvP zones)

Legendary Items:

  • Miecz Mroku: Netherite sword with combo mechanics and pearl blocking

  • Łuk Cienia: Bow with Power VI, Flame II, Punch IV, Infinity

  • Strzała Cienia: Teleport arrow with hotbar scrambling

  • Kilof Cienia: Leveling pickaxe (5 levels based on blocks mined)

  • Odłamek Cienia: Purple dye currency

  • Full shadow armor set with +4 hearts bonus

  • 5 enchanted books (stones) for anvil application

  • Koszyk: Bundle that collects player drops

  • Event items: Fireball launcher and PvP barrier egg

Technical Features:

  • YAML data persistence for pickaxe progression

  • XSeries for cross-version compatibility

  • Lombok for cleaner data classes

  • Full event-driven architecture

  • Optimized for large servers

mr__pietruszka

Wersja 1.12.4

Kodari AI
KodariApr 15 at 1:51 pm 2,542 (v2)

I’ll read the project files to understand the current plugin structure and check what needs to be updated to version 1.12.4.

I’ll update the version to 1.12.4 in both build.gradle and plugin.yml.

Version updated to 1.12.4 in both build.gradle and plugin.yml.

mr__pietruszka

Zmień plik w jar

krzak_27

kodari why it doesn't work check how to add it to minecraft

Kodari AI
KodariApr 26 at 1:29 pm 1,938 (v2)

I’ll check the plugin structure and configuration to diagnose why it’s not working in Minecraft.

Based on the plugin structure, everything looks correct. Here’s how to build and add the plugin to your Minecraft server:

How to Build and Install:

1. Build the JAR file:

Shell
# In your project directory, run:
./gradlew build

# Or on Windows:
gradlew.bat build

The JAR file will be created in: build/libs/LegendsPlugin-1.12.4.jar

2. Add to Minecraft server:

  • Copy LegendsPlugin-1.12.4.jar from build/libs/ folder

  • Paste it into your server’s plugins/ folder

  • Restart the server (or use /reload but restart is recommended)

3. Check if it loaded:

Plain Text
/plugins

Should show “LegendsPlugin” in green

4. Test the command:

Plain Text
/legendarki

Common Issues:

If the plugin doesn’t load:

  • Check logs/latest.log for errors

  • Make sure your server supports Java 21 (required by this plugin)

  • If your server uses Java 17 or lower, I can downgrade the plugin

If you need Java 17 compatibility (for older servers), let me know and I’ll update build.gradle.

Do you see any errors in the console? Share them and I can fix the issue.

krzak_27

Jak mam zbudowac ten jar gdzie to zrobic

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
41 2,063
src/main/java/com/legends/LegendsPlugin.java
package com.legends;

import com.legends.commands.LegendarkiCommand;
import com.legends.data.PlayerDataManager;
import com.legends.inventory.gui.GUIListener;
import com.legends.inventory.gui.GUIManager;
import com.legends.items.ItemManager;
import com.legends.listeners.*;
import com.legends.systems.*;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.plugin.PluginManager;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class LegendsPlugin extends JavaPlugin {
    
    private ItemManager itemManager;
    private GUIManager guiManager;
    private CooldownManager cooldownManager;
    private ComboManager comboManager;
    private BarrierManager barrierManager;
    private VisibilityManager visibilityManager;
    private PlayerDataManager playerDataManager;
    
    @Override
    public void onEnable() {
        saveDefaultConfig();
        
        this.itemManager = new ItemManager(this);
        this.guiManager = new GUIManager();
        this.cooldownManager = new CooldownManager();
        this.comboManager = new ComboManager(this);
        this.barrierManager = new BarrierManager(this);
        this.visibilityManager = new VisibilityManager();
        this.playerDataManager = new PlayerDataManager(this);
        
        this.itemManager.registerItems();
        this.playerDataManager.loadAllData();
        
        registerCommands();
        registerListeners();
        
        getLogger().info("LegendsPlugin enabled!");
    }
    
    @Override
    public void onDisable() {
        this.playerDataManager.saveAllData();
        this.barrierManager.cleanup();
        
        getLogger().info("LegendsPlugin disabled!");
    }
    
    private void registerCommands() {
        getCommand("legendarki").setExecutor(new LegendarkiCommand(this));
    }
    
    private void registerListeners() {
        PluginManager pm = Bukkit.getPluginManager();
        pm.registerEvents(new GUIListener(guiManager), this);
        pm.registerEvents(new CombatListener(this), this);
        pm.registerEvents(new ArrowListener(this), this);
        pm.registerEvents(new PickaxeListener(this), this);
        pm.registerEvents(new DeathListener(this), this);
        pm.registerEvents(new AnvilListener(this), this);
        pm.registerEvents(new BarrierListener(this), this);
    }
}