fakeyoucwsahcjakh

fa un item cand dau hunteventstart sa dau asa huntadmin (nume ) ( el trebuie vanat) ( admini nu se pot bate intre ei ) huntjoin cine intra la hunt pot sa vaneze admini dar nu intre ei cand un hunt moare apare pe chat cand un admin de la hunt moare apare pe chat + cine omoara adminul primeste ceva fac eu din config comanda sau comenzile cei de la hunt au o busola cu care le arata cel mai apropiat huntadmin ( cate block uri mai are)

Kodari AI
KodariJul 12 at 4:18 pm 8
HuntEventPlugin
Configurable Minecraft hunt-event plugin where administrators start events, register hunt admins as targets, and allow players to join the hunt. Hunt participants receive a tracking compass that points toward the nearest active target and displays the distance in blocks. The plugin prevents hunters from damaging each other and prevents hunt admins from fighting one another, announces deaths in chat, and executes configurable console reward commands when a hunter eliminates a target.
  1. Create the Gradle project and plugin metadata.

  2. Implement event management, participants, target tracking, rewards, and compass updates.

  3. Add commands for starting, stopping, joining, leaving, and registering hunt targets.

  4. Add combat restrictions, death announcements, configuration, and messages.

fakeyoucwsahcjakh

si autotab

Kodari AI
KodariJul 12 at 4:19 pm 3
  1. Adaug completare automată pentru comenzile și subcomenzile Hunt.

  2. Limitez sugestiile dinamice la jucători online și ținte/admini activi, unde este cazul.

  3. Actualizez permisiunea și înregistrarea executorului dacă sunt necesare.

Da, autotab-ul este deja inclus pentru:

Plain Text
/huntadmin <TAB>

Îți afișează jucătorii online al căror nume începe cu textul introdus. Celelalte comenzi nu au argumente, deci nu necesită sugestii.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
8 689
src/main/java/com/kodari/huntevent/HuntEventPlugin.java
package com.kodari.huntevent;

import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

public class HuntEventPlugin extends JavaPlugin {
    private HuntManager huntManager;

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

        huntManager = new HuntManager(this);

        HuntCommand huntCommand = new HuntCommand(huntManager);
        getCommand("hunteventstart").setExecutor(huntCommand);
        getCommand("hunteventstart").setTabCompleter(huntCommand);
        getCommand("hunteventstop").setExecutor(huntCommand);
        getCommand("hunteventstop").setTabCompleter(huntCommand);
        getCommand("huntadmin").setExecutor(huntCommand);
        getCommand("huntadmin").setTabCompleter(huntCommand);
        getCommand("huntjoin").setExecutor(huntCommand);
        getCommand("huntjoin").setTabCompleter(huntCommand);
        getCommand("huntleave").setExecutor(huntCommand);
        getCommand("huntleave").setTabCompleter(huntCommand);

        Bukkit.getPluginManager().registerEvents(new HuntListener(huntManager), this);
    }

    @Override
    public void onDisable() {
        if (huntManager != null) {
            huntManager.shutdown();
        }
    }
}