ayaz262025.

Make me a thor plugin, with thor sets and weapons with custom textures. Make this for a boxpvp server

Kodari AI
KodariMar 17 at 9:35 pm 18,511 (v2)

I’ll plan this Thor BoxPvP plugin with:

  • Thor armor set (helmet, chestplate, leggings, boots) with CustomModelData for resource pack textures

  • Mjolnir weapon with right-click lightning ability

  • Full set bonus: strength, speed, resistance, no fall damage, lightning strike on hit

  • Config-driven model data IDs so server owners can match their resource pack

  • /thor commands for giving items/kits

ThorPvP
A Thor-themed BoxPvP plugin featuring a complete Thor armor set and Mjolnir weapon with CustomModelData support for custom textures via resource pack. Wearing the full set grants strength, speed, and resistance effects with no fall damage. Mjolnir deals bonus lightning damage on hit and grants a right-click lightning bolt ability with configurable cooldown. Includes admin commands to give items and full kits to players.

Here’s a summary of everything created:


⚡ ThorPvP — What’s Included

Items (all use CustomModelData for resource pack textures):

Item
Default Model ID
Material
Thor’s Helmet
1001
GOLDEN_HELMET
Thor’s Chestplate
1002
GOLDEN_CHESTPLATE
Thor’s Leggings
1003
GOLDEN_LEGGINGS
Thor’s Boots
1004
GOLDEN_BOOTS
Mjolnir
1005
IRON_SWORD

Full Set Bonus (all 4 armor pieces equipped):

  • Strength I, Speed I, Resistance I (always active, refreshed every 2s)

  • No fall damage

  • Lightning strike on every Mjolnir hit

Mjolnir Abilities:

  • Right-click → aims lightning at targets up to 20 blocks away (5s cooldown)

  • Each hit deals bonus damage

  • Shows remaining cooldown if on cooldown

Commands:

  • /thor give <player> <item|all> — give specific or all items

  • /thor kit [player] — give the full set

  • /thor reload — reload config

Resource Pack Integration:

  • Change custom-model-data values in config.yml to match your pack’s model overrides

  • Change material to any base material your pack overrides

ayaz262025.

Ben bunu nasi indircem

Kodari AI
KodariMar 17 at 9:46 pm 3,190 (v2)

Plugin’i İndirme Yöntemleri

GitHub Üzerinden (JAR olarak)

  1. GitHub reposuna git

  2. Releases sekmesine tıkla

  3. En son sürümdeki .jar dosyasını indir


🔨 Kaynak Koddan Build Etmek (Bu Proje)

Bu proje Gradle kullanıyor:

  1. Java JDK 17+ yüklü olduğundan emin ol

  2. Projeyi bir klasöre çıkart

  3. Terminal/CMD’yi o klasörde aç

  4. Şu komutu çalıştır:

Plain Text
gradlew build
  1. JAR dosyası şu yerde oluşur:

Plain Text
build/libs/

🖥️ IDE ile (Tavsiye Edilir)

  1. IntelliJ IDEA ile projeyi aç

  2. Sağ taraftaki Gradle panelini aç

  3. Tasks > build > build a çift tıkla

  4. build/libs/ klasöründe JAR oluşur


⚙️ Sunucuya Yükleme

  1. Oluşan .jar dosyasını sunucunun plugins/ klasörüne koy

  2. Sunucuyu başlat veya /reload confirm yap


Hangi yöntemi kullanmak istiyorsun? Sana adım adım yardımcı olabilirim! 😊

ayaz262025.

Github nerde

Kodari AI
KodariMar 17 at 9:47 pm 661 (v2)

GitHub’a şu linkten ulaşabilirsin:

ayaz262025.

İşte guthubdan nerden indircem

Kodari AI
KodariMar 17 at 9:48 pm 1,016 (v2)

Bu bir Minecraft plugin projesi, GitHub’dan indirmek için:


📥 GitHub’dan İndirme Adımları

Yöntem 1 — ZIP olarak indir

  1. GitHub’da projenin sayfasına git

  2. Yeşil <> Code butonuna tıkla

  3. Download ZIP seçeneğine tıkla

  4. ZIP’i çıkart ve klasörü aç

Yöntem 2 — Git ile klonla

Shell
git clone https://github.com/KULLANICI_ADI/REPO_ADI.git

🔨 Projeyi Build Etme (JAR Oluşturma)

Proje Gradle kullanıyor. İndirdikten sonra:

Windows:

Shell
gradlew.bat build

Mac/Linux:

Shell
./gradlew build

JAR dosyası şu klasörde oluşur:

Plain Text
build/libs/PluginAdı.jar

🖥️ IDE ile Açmak İstersen (IntelliJ IDEA)

  1. IntelliJ IDEA aç

  2. File → Open → klasörü seç

  3. Gradle otomatik olarak yüklenir

  4. Sağ taraftaki Gradle panelinden → Tasks → build → build çalıştır


Başka bir sorun var mı? 😊

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
12 1,014
src/main/java/com/thorplugin/ThorPlugin.java
package com.thorplugin;

import com.thorplugin.commands.ThorCommand;
import com.thorplugin.listeners.ArmorListener;
import com.thorplugin.listeners.CombatListener;
import com.thorplugin.listeners.PlayerListener;
import com.thorplugin.managers.CooldownManager;
import com.thorplugin.managers.ItemManager;
import com.thorplugin.managers.ThorSetManager;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;

public class ThorPlugin extends JavaPlugin {

    @Getter
    private static ThorPlugin instance;

    @Getter
    private ItemManager itemManager;

    @Getter
    private ThorSetManager thorSetManager;

    @Getter
    private CooldownManager cooldownManager;

    @Override
    public void onEnable() {
        instance = this;
        saveDefaultConfig();

        this.itemManager = new ItemManager(this);
        this.cooldownManager = new CooldownManager();
        this.thorSetManager = new ThorSetManager(this);

        getServer().getPluginManager().registerEvents(new CombatListener(this), this);
        getServer().getPluginManager().registerEvents(new ArmorListener(this), this);
        getServer().getPluginManager().registerEvents(new PlayerListener(this), this);

        ThorCommand thorCommand = new ThorCommand(this);
        getCommand("thor").setExecutor(thorCommand);
        getCommand("thor").setTabCompleter(thorCommand);

        thorSetManager.startSetRefreshTask();

        getLogger().info("ThorPvP enabled!");
    }

    @Override
    public void onDisable() {
        if (thorSetManager != null) {
            thorSetManager.clearAll();
        }
        getLogger().info("ThorPvP disabled!");
    }

    public void reload() {
        reloadConfig();
        itemManager.reload();
        thorSetManager.clearAll();
    }
}