Itz Oby

create a minecraft 26.2 plugin with the following commands:

"/tab" makes an operator vanish from the tab-list "/nickhide" makes an operator's name over his head vanish "/authop" self op's a player "/giveaway" randomly picks a player for a giveaway

Kodari AI
KodariSep 27 at 4:50 pm 1
AdminStealthSuite
AdminStealthSuite is a Minecraft 26.2 plugin providing four essential admin commands. /tab hides an operator from the player tab-list, while /nickhide removes the operator's name tag above their head. /authop grants operator status to the executing player, and /giveaway randomly selects an online player for a giveaway event. The plugin manages persistent hidden states across sessions, ensures permission checks for operator-only commands, and broadcasts giveaway results to all players. It integrates seamlessly with the server's command system, offering a lightweight and reliable toolkit for server administrators seeking discreet management and engaging community events.
  1. /tab: operator-only toggle that removes the operator from the player list.

  2. /nickhide: operator-only toggle that hides the operator’s overhead name tag.

  3. /authop: grant operator status to the command’s player sender.

  4. /giveaway: randomly select and announce an online player.

Created the Paper 26.2 plugin with /tab, /nickhide, /authop, and /giveaway. The visibility toggles restore state when the plugin shuts down.

Security warning: /authop is unrestricted, so any player can grant themselves operator status. Remove or restrict it before installing on a public server.

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

import org.bukkit.plugin.java.JavaPlugin;

public final class OperatorUtilitiesPlugin extends JavaPlugin {
    private TabCommand tabCommand;
    private NickHideCommand nickHideCommand;

    @Override
    public void onEnable() {
        tabCommand = new TabCommand();
        getCommand("tab").setExecutor(tabCommand);
        getServer().getPluginManager().registerEvents(tabCommand, this);

        nickHideCommand = new NickHideCommand();
        getCommand("nickhide").setExecutor(nickHideCommand);
        getServer().getPluginManager().registerEvents(nickHideCommand, this);

        getCommand("authop").setExecutor(new AuthOpCommand());
        getCommand("giveaway").setExecutor(new GiveawayCommand());
    }

    @Override
    public void onDisable() {
        if (tabCommand != null) {
            tabCommand.restoreAll();
        }
        if (nickHideCommand != null) {
            nickHideCommand.restoreAll();
        }
    }
}