bymeroq

İstediğin özelliklere sahip özel bir PvP Hit Sound & Combo eklentisi için gereken temel yapıyı ve mantığı aşağıda hazırladım. Bu özelliklerin hepsini tek bir eklentide bulmak zor olabilir, bu yüzden eğer bir geliştiriciysen veya Skript kullanıyorsan bu rehber işini tam olarak görecektir.

🛠️ Önerilen Çözüm: Skript veya Özel Plugin Piyasada çok fazla "bloated" (şişmiş) eklenti olduğu için, sunucu dostu ve tam istediğin özellikleri kapsayan bir yapı için Skript kullanmanı öneririm. İşte istediğin kriterlere göre hazırladığım taslak:

📋 Özellik Listesi ve Yapılandırma Vuruş Sesleri:

Normal Hit: Hafif bir "pıt" veya "click" sesi.

Critical Hit: Daha tok veya "ting" sesi (Kritik vuruşlar Minecraft'ta oyuncu düşerken vurduğunda tetiklenir).

Action Bar Combo:

Her vuruşta combo artar.

Belirli bir süre (örn: 3 saniye) vuruş yapılmazsa combo sıfırlanır.

WorldGuard Entegrasyonu:

global veya belirli bölgelerde (safezone gibi) seslerin çıkması engellenir.

Toggle Özelliği:

/pvpses komutu ile oyuncu kendi seslerini açıp kapatabilir (Veritabanı dostu olması için metadata veya hafif bir YAML kullanılabilir).

Vcounter gibi bi plugin

Kodari AI
KodariFeb 14 at 9:25 am 10,478 (v2)

I’ll create a lightweight PvP hit sound and combo plugin with all the features you requested.

PvPHitCombo
A lightweight and performance-friendly PvP plugin featuring customizable hit sounds for normal and critical hits, action bar combo system with configurable reset timer, WorldGuard region integration for disabling sounds in specific zones, and toggle command for player preference. Designed to be server-friendly without bloat, similar to vCounter but focused on hit feedback and combo tracking.

Now I’ll create the complete plugin structure:

Perfect! I’ve created a complete, lightweight PvP Hit Sound & Combo plugin with all the features you requested:

✨ Features Implemented:

  1. Hit Sounds - Separate sounds for normal and critical hits using XSeries

  2. Combo System - Action bar display with configurable reset timer (3 seconds default)

  3. WorldGuard Integration - Disable sounds in specific regions (spawn, safezone, lobby)

  4. Toggle Command - /pvpses to enable/disable sounds per player

  5. Lightweight - Memory-based storage, no database bloat

  6. Highly Configurable - All sounds, volumes, pitches, timers, and messages customizable

🎮 Key Features:

  • Critical Hit Detection - Automatically detects when player is falling and striking

  • Action Bar Combo - Shows combo count after minimum hits (default: 2+)

  • Auto Reset - Combo resets after 3 seconds of no hits (configurable)

  • Sound Control - Separate settings for attacker and victim sounds

  • Region Protection - Respects WorldGuard safezones

  • Performance Optimized - Uses efficient task scheduling and cleanup

The plugin is fully functional, uses modern APIs with XSeries for cross-version compatibility, and follows all best practices with Lombok annotations and proper resource management.

bymeroq

pom.xml ekle kombo seslerini hasar göstergesini partekül efeklerini kombo mesajlarını ve öldürme mesajlarını satın alına bilecek bir menü yap. ayrıca messages.ymlddende onların renklerini vs ayarlyablelim

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
11 562
src/main/java/com/pvphitcombo/PvPHitCombo.java
package com.pvphitcombo;

import com.pvphitcombo.command.ToggleCommand;
import com.pvphitcombo.config.ConfigManager;
import com.pvphitcombo.hook.WorldGuardHook;
import com.pvphitcombo.listener.HitListener;
import com.pvphitcombo.manager.ComboManager;
import com.pvphitcombo.manager.SoundManager;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class PvPHitCombo extends JavaPlugin {
    private ConfigManager configManager;
    private ComboManager comboManager;
    private SoundManager soundManager;
    private WorldGuardHook worldGuardHook;

    @Override
    public void onEnable() {
        this.configManager = new ConfigManager(this);
        this.comboManager = new ComboManager(this);
        this.soundManager = new SoundManager(this);
        this.worldGuardHook = new WorldGuardHook(this);

        worldGuardHook.hook();

        getServer().getPluginManager().registerEvents(new HitListener(this), this);
        getCommand("pvpses").setExecutor(new ToggleCommand(this));

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

    @Override
    public void onDisable() {
        if (comboManager != null) {
            comboManager.cleanup();
        }

        getLogger().info("PvPHitCombo has been disabled!");
    }
}