andrei69x

create a plugin for me

Kodari AI
KodariJan 6 at 6:53 pm 2,764 (v2)

Iโ€™d be happy to create a Minecraft plugin for you! However, I need to know what kind of plugin you want.

What should this plugin do?

Here are some examples to help you decide:

  • Economy/Shop System - Player shops, currencies, trading

  • Minigame - Specific game mode (parkour, skywars, bedwars, etc.)

  • Utility - Teleportation, homes, warps, backpacks

  • Admin Tools - Moderation, server management, permissions

  • Custom Features - Custom items, mobs, mechanics

  • Social - Chat features, parties, guilds, friends

  • Survival Enhancement - Claims, protection, custom crafting

  • RPG Elements - Classes, skills, quests, levels

Please describe what youโ€™d like the plugin to do, and Iโ€™ll create it for you!

andrei69x

Admin tools

Kodari AI
KodariJan 6 at 6:56 pm 20,061 (v2)

Iโ€™ll create a comprehensive admin tools plugin with essential server management features.

AdminToolkit
A complete administration toolkit for server staff. Features include player management (kick, ban, mute, freeze), teleportation commands, gamemode switching, inventory management, item giving, time and weather control, vanish mode, staff mode, fly toggle, and server broadcast tools. Includes permission-based access control and configurable messages for all commands.

Created AdminToolkit - a comprehensive administration plugin with 23 commands covering player management, moderation, teleportation, and server utilities. Features include staff mode with custom tools, vanish system, freeze/mute functionality, god mode, and full inventory management. All messages are configurable and use XSeries for cross-version compatibility.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
34 1,749
src/main/java/com/admintoolkit/AdminToolkit.java
package com.admintoolkit;

import com.admintoolkit.commands.*;
import com.admintoolkit.listeners.ChatListener;
import com.admintoolkit.listeners.FreezeListener;
import com.admintoolkit.listeners.StaffModeListener;
import com.admintoolkit.listeners.VanishListener;
import com.admintoolkit.managers.DataManager;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;

public class AdminToolkit extends JavaPlugin {
    
    @Getter
    private static AdminToolkit instance;
    
    @Getter
    private DataManager dataManager;
    
    @Override
    public void onEnable() {
        instance = this;
        
        saveDefaultConfig();
        
        dataManager = new DataManager();
        
        registerCommands();
        registerListeners();
        
        getLogger().info("AdminToolkit has been enabled!");
    }
    
    @Override
    public void onDisable() {
        getLogger().info("AdminToolkit has been disabled!");
    }
    
    private void registerCommands() {
        getCommand("kick").setExecutor(new KickCommand());
        getCommand("ban").setExecutor(new BanCommand());
        getCommand("unban").setExecutor(new UnbanCommand());
        getCommand("mute").setExecutor(new MuteCommand());
        getCommand("unmute").setExecutor(new UnmuteCommand());
        getCommand("freeze").setExecutor(new FreezeCommand());
        getCommand("gamemode").setExecutor(new GamemodeCommand());
        getCommand("fly").setExecutor(new FlyCommand());
        getCommand("vanish").setExecutor(new VanishCommand());
        getCommand("god").setExecutor(new GodCommand());
        getCommand("heal").setExecutor(new HealCommand());
        getCommand("feed").setExecutor(new FeedCommand());
        getCommand("tp").setExecutor(new TeleportCommand());
        getCommand("tphere").setExecutor(new TeleportHereCommand());
        getCommand("tpall").setExecutor(new TeleportAllCommand());
        getCommand("tppos").setExecutor(new TeleportPosCommand());
        getCommand("give").setExecutor(new GiveCommand());
        getCommand("clear").setExecutor(new ClearCommand());
        getCommand("invsee").setExecutor(new InvseeCommand());
        getCommand("time").setExecutor(new TimeCommand());
        getCommand("weather").setExecutor(new WeatherCommand());
        getCommand("broadcast").setExecutor(new BroadcastCommand());
        getCommand("speed").setExecutor(new SpeedCommand());
        getCommand("staffmode").setExecutor(new StaffModeCommand());
    }
    
    private void registerListeners() {
        getServer().getPluginManager().registerEvents(new ChatListener(), this);
        getServer().getPluginManager().registerEvents(new FreezeListener(), this);
        getServer().getPluginManager().registerEvents(new VanishListener(), this);
        getServer().getPluginManager().registerEvents(new StaffModeListener(), this);
    }
}