xiygen0-sys

Make this a .jar plugin

Kodari AI
KodariOct 31 at 2:01 am 1
MinecraftPluginGenerator
Generates a complete Minecraft Bukkit/Spigot plugin project structure from a user's natural language description. The plugin automatically creates all necessary Java source files, plugin.yml configuration, pom.xml build file, and project documentation. It analyzes the requested functionality and produces a fully compilable Maven project with proper package structure, main plugin class extending PluginBase, event listeners, commands, and configuration handlers. The generator outputs a ready-to-build .jar plugin project with all dependencies declared and organized source directories.
  1. Set up a Paper plugin project that Kodari can compile into a .jar.

  2. Add a minimal plugin entry point and /hello command.

  3. Add the plugin metadata required for server loading.

Created a Paper plugin project with a /hello command. To get the .jar, click Compile in the top bar, then click Compile in the window. When it succeeds, click Download on the build.

Kodari can make mistakes. Review important code before using.
Files
src
AntiCheat-0.3.0-source.zip
build.gradle
pom.xml
Code
13 912
src/main/java/com/example/helloplugin/HelloPlugin.java
package com.example.helloplugin;

import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.plugin.java.JavaPlugin;

public class HelloPlugin extends JavaPlugin implements CommandExecutor {
    @Override
    public void onEnable() {
        getCommand("hello").setExecutor(this);
    }

    @Override
    public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
        sender.sendMessage("Hello from HelloPlugin!");
        return true;
    }
}