mr__pietruszka

⚙️ SYSTEM OGÓLNY Każdy item ma: 🎨 custom nazwę 📜 lore (opis) ✨ efekt glow (enchant ukryty) 🧬 ukryte ID (PersistentDataContainer) 👉 plugin rozpoznaje item NIE po nazwie, tylko po ID 🎣 1. WĘDKA KRESU (void_hook) 🧠 Typ: movement / mobility item 🎮 Akcja:

PPM (Right Click) 💨 Działanie: jeśli rzucisz haczyk:

PPM = dash do haczyka (velocity) ⚔️ Zasady: 🕊️ poza walką: brak cooldownu ⚔️ w walce: 20 sekund cooldown 🚫 Anti abuse: nie działa po otrzymaniu obrażeń (1s) max zasięg ~25 bloków ✨ Efekt: portal particles enderman sound szybki movement PvP 🔱 2. VOID TRIDENT (void_trident) 🧠 Typ: combat / AOE / control 🎮 Akcja:

SHIFT + PPM 💥 Działanie:

Po trafieniu: ⚡ Piorun: uderza w punkt trafienia 🕸️ Anti trap: usuwa cobweby w obszarze 5x5 🐉 Strefa: tworzy chmurę Dragon Breath trwa 3.5 sekundy 🚫 Efekt strefy: blokada ender pereł ⏱️ Cooldown: 90 sekund 💨 Mobility:

PPM = Riptide dash (bez wody) ⚔️ 3. MIECZ KRESU (void_sword) 🧠 Typ:

PvP mobility / escape / reposition 🎮 Akcja:

PPM 🌀 Działanie: teleport jak chorus fruit (losowy blink 10–20 bloków) ⏱️ Cooldown: 15 sekund ⚔️ Styl: szybkie wejścia i wyjścia z walki ✨ Efekt: chorus particles end teleport sound 🎨 SYSTEM WYGLĄDU ITEMÓW Każdy item ma: ✔ Nazwa: kolorowa (np. §b§lWędka Kresu) ✔ Lore: opis skilla cooldown klimat End SMP ✔ Glow: enchant DURABILITY (ukryty) ✔ Ukrycie enchantów: gracz widzi czysty “epic item” 🧬 SYSTEM ID (UKRYTY) Każdy item ma: void_hook void_trident void_sword 👉 plugin: sprawdza ID odpala odpowiedni skill ⚔️ JAK DZIAŁA WALKA (META SERWERA) 🔥 PvP jest movement-based:

Wędka = chase / escape Trident = kontrola pola walki Miecz = blink / reposition 👉 to nie jest “kliknij i bij” 👉 to jest movement + skill PvP

Kodari AI
KodariApr 15 at 6:02 am 20,793 (v2)

I’ll create a movement-based PvP plugin with three custom Void items: Hook, Trident, and Sword.

VoidItems
Movement-based PvP plugin featuring three custom Void items: Void Hook for dashing to fishing hooks, Void Trident for area control with lightning strikes and dragon breath zones that block ender pearls, and Void Sword for chorus fruit-style teleportation. Includes combat detection, dynamic cooldowns, particle effects, and PersistentDataContainer-based item identification for anti-abuse protection.

All files created! This plugin features:

Core Systems:

  • PersistentDataContainer-based item identification

  • Combat detection with separate cooldowns for in/out of combat

  • Dynamic cooldown system per item type

  • XSeries for full cross-version compatibility (1.8-1.21+)

Three Custom Items:

  1. Void Hook - Dash to fishing hook, no cooldown outside combat, 20s in combat

  2. Void Trident - Lightning strike + cobweb clearing + dragon breath zone that blocks ender pearls

  3. Void Sword - Random teleport 10-20 blocks like chorus fruit

Commands:

  • /voiditems give <player> <item> - Give items to players

  • /voiditems reload - Reload configuration

All items use hidden enchants for glow effect, custom names/lore, and particle/sound effects for immersive PvP gameplay!

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
14 962
src/main/java/com/voidsmp/voiditems/VoidItemsPlugin.java
package com.voidsmp.voiditems;

import com.voidsmp.voiditems.command.VoidItemsCommand;
import com.voidsmp.voiditems.item.ItemManager;
import com.voidsmp.voiditems.listener.PlayerDamageListener;
import com.voidsmp.voiditems.listener.PlayerInteractListener;
import com.voidsmp.voiditems.listener.ProjectileHitListener;
import com.voidsmp.voiditems.manager.CombatManager;
import com.voidsmp.voiditems.manager.CooldownManager;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.plugin.PluginManager;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class VoidItemsPlugin extends JavaPlugin {
    
    private ItemManager itemManager;
    private CooldownManager cooldownManager;
    private CombatManager combatManager;
    
    @Override
    public void onEnable() {
        saveDefaultConfig();
        
        this.itemManager = new ItemManager(this);
        this.cooldownManager = new CooldownManager();
        this.combatManager = new CombatManager(this);
        
        registerListeners();
        registerCommands();
        
        getLogger().info("Void Items plugin enabled!");
    }
    
    @Override
    public void onDisable() {
        if (cooldownManager != null) {
            cooldownManager.clearAll();
        }
        if (combatManager != null) {
            combatManager.clearAll();
        }
        
        getLogger().info("Void Items plugin disabled!");
    }
    
    private void registerListeners() {
        PluginManager pm = Bukkit.getPluginManager();
        pm.registerEvents(new PlayerInteractListener(this), this);
        pm.registerEvents(new PlayerDamageListener(this), this);
        pm.registerEvents(new ProjectileHitListener(this), this);
    }
    
    private void registerCommands() {
        getCommand("voiditems").setExecutor(new VoidItemsCommand(this));
    }
    
    public void reload() {
        reloadConfig();
        itemManager.reload();
    }
}