LOSTPLAY

сделай плагин качественйый и красивый из моих файлов на ивенты

Kodari AI
KodariSep 20 at 11:05 am 1
EventQualityPlugin
A comprehensive Minecraft Bukkit plugin that enhances event management with beautiful, high-quality event systems. The plugin provides robust event handling for player interactions, world events, and custom game events. It features an elegant configuration system, detailed event logging, and seamless integration with Minecraft's native event system. The plugin includes event listeners for player actions, block interactions, entity events, and world changes. It offers customizable event responses, visual feedback through particles and sounds, and comprehensive event statistics. The plugin is designed with clean architecture, thread-safe event processing, and optimized performance for production servers. It supports multiple event categories including player events, world events, and system events, with full localization support and developer-friendly API for extending functionality.

[Generation stopped]

LOSTPLAY

вот кусочки

📎 2 files 10,563 chars
📄
dependency-reduced-pom.xml
xml 154 lines
▶


  4.0.0
  uwqan
  FunEvents
  FunEvents
  3.0
  
    
      
        true
        src/main/resources
      
    
    
      
        maven-compiler-plugin
        3.8.1
        
          16
          16
        
      
      
        maven-shade-plugin
        3.2.4
        
          
            package
            
              shade
            
          
        
      
      
        maven-jar-plugin
        2.3.1
        
          C:\Users\Илья\Desktop
          FunEvents
        
      
    
  
  
    
      papermc-repo
      https://repo.papermc.io/repository/maven-public/
    
    
      sonatype
      https://oss.sonatype.org/content/groups/public/
    
    
      sk89q-repo
      https://maven.enginehub.org/repo/
    
    
      placeholderapi
      https://repo.extendedclip.com/content/repositories/placeholderapi/
    
    
      jitpack.io
      https://jitpack.io
    
    
      dmulloy2-repo
      https://repo.dmulloy2.net/repository/public/
    
    
      codemc-repo
      https://repo.codemc.io/repository/maven-public/
    
  
  
    
      com.destroystokyo.paper
      paper-api
      1.16.5-R0.1-SNAPSHOT
      provided
    
    
      org.projectlombok
      lombok
      RELEASE
      provided
    
    
      com.sk89q.worldguard
      worldguard-bukkit
      7.0.5
      provided
    
    
      com.github.MilkBowl
      VaultAPI
      1.7
      provided
    
    
      com.fastasyncworldedit
      FastAsyncWorldEdit-Core
      2.10.0
      provided
    
    
      com.fastasyncworldedit
      FastAsyncWorldEdit-Bukkit
      2.10.0
      provided
      
        
          FastAsyncWorldEdit-Core
          *
        
      
    
    
      com.github.decentsoftware-eu
      decentholograms
      2.8.6
      provided
    
    
      me.clip
      placeholderapi
      2.11.6
      provided
    
    
      com.mojang
      authlib
      1.5.25
      provided
    
  
  
    
      
        com.intellectualsites.bom
        bom-newest
        1.45
        pom
        import
      
    
  
  
    1.8
    UTF-8
  

📄
pom.xml
xml 179 lines
▶


  4.0.0

  uwqan
  FunEvents
  3.0
  jar

  FunEvents

  
    1.8
    UTF-8
  

  
    
      
        org.apache.maven.plugins
        maven-compiler-plugin
        3.8.1
        
          16
          16
        
      
      
        org.apache.maven.plugins
        maven-shade-plugin
        3.2.4
        
          
            package
            
              shade
            
          
        
      
        
            org.apache.maven.plugins
            maven-jar-plugin
            2.3.1
            
                C:\Users\Илья\Desktop
                FunEvents
            
        
    
    
      
        src/main/resources
        true
      
    
  

  
      
          papermc-repo
          https://repo.papermc.io/repository/maven-public/
      
      
          sonatype
          https://oss.sonatype.org/content/groups/public/
      
      
          sk89q-repo
          https://maven.enginehub.org/repo/
      
      
          placeholderapi
          https://repo.extendedclip.com/content/repositories/placeholderapi/
      
      
          jitpack.io
          https://jitpack.io
      
      
          dmulloy2-repo
          https://repo.dmulloy2.net/repository/public/
      
      
          codemc-repo
          https://repo.codemc.io/repository/maven-public/
          default
      
  
    
        
            
                com.intellectualsites.bom
                bom-newest
                1.45
                import
                pom
            
        
    
  
      
          com.destroystokyo.paper
          paper-api
          1.16.5-R0.1-SNAPSHOT
          provided
      
      
          org.projectlombok
          lombok
          RELEASE
          provided
      
      
          com.sk89q.worldguard
          worldguard-bukkit
          7.0.5
          provided
      
      
          com.github.MilkBowl
          VaultAPI
          1.7
          provided
      
      
          com.fastasyncworldedit
          FastAsyncWorldEdit-Core
          provided
      
      
          com.fastasyncworldedit
          FastAsyncWorldEdit-Bukkit
          provided
          
              
                  FastAsyncWorldEdit-Core
                  *
              
          
      
      
          com.github.decentsoftware-eu
          decentholograms
          2.8.6
          provided
      
      
          me.clip
          placeholderapi
          2.11.6
          provided
      
      
          com.mojang
          authlib
          1.5.25
          provided
      
      
          commons-codec
          commons-codec
          1.17.0
      
      
          com.konghq
          unirest-java
          4.0.0-RC2
      
      
          org.json
          json
          20240303
      
  

Kodari AI
KodariSep 20 at 11:14 am 2

Создан качественный плагин FunEvents на Paper 1.16.5:

  • Красивое GUI-меню /funevents menu.

  • Ивент Викторина с вопросами, таймерами и наградами.

  • Ивент Drop Party с выпадением предметов рядом с игроками.

  • Команды:

    • /funevents menu

    • /funevents list

    • /funevents start <id>

    • /funevents stop

    • /funevents reload

  • Полностью настраиваемые сообщения, материалы, вопросы, награды и длительность в config.yml.

  • Поддержка наград через команды с {player} и {uuid}.

  • Защищённое GUI без возможности перемещать предметы.

  • Разделение на менеджер ивентов, GUI, команды, награды и сервис сообщений.

  • Чистый Maven-проект без лишних зависимостей и путей конкретного компьютера.

Kodari can make mistakes. Review important code before using.
Files
src
pom.xml
Code
16 1,081
src/main/java/uwqan/funevents/FunEventsPlugin.java
package uwqan.funevents;

import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import org.bukkit.plugin.java.JavaPlugin;
import uwqan.funevents.command.FunEventsCommand;
import uwqan.funevents.event.EventManager;
import uwqan.funevents.gui.EventMenuListener;
import uwqan.funevents.gui.EventsMenu;
import uwqan.funevents.util.MessageService;

public final class FunEventsPlugin extends JavaPlugin {
    private MessageService messages;
    private EventManager eventManager;

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

        this.messages = new MessageService(this);
        this.eventManager = new EventManager(this);

        FunEventsCommand command = new FunEventsCommand(this);
        if (getCommand("funevents") != null) {
            getCommand("funevents").setExecutor(command);
            getCommand("funevents").setTabCompleter(command);
        }

        Bukkit.getPluginManager().registerEvents(new EventMenuListener(this), this);
        Bukkit.getScheduler().runTaskTimer(this, eventManager::tick, 20L, 20L);
        getLogger().info("FunEvents enabled with " + eventManager.getEvents().size() + " event types.");
    }

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

    public void openMenu(Player player) {
        new EventsMenu(this).open(player);
    }

    public void reloadPluginConfig() {
        reloadConfig();
        messages.reload();
        eventManager.reload();
    }

    public MessageService messages() {
        return messages;
    }

    public EventManager eventManager() {
        return eventManager;
    }
}