Ashu Kumar
📎 1 file 14,185 chars
📄
pasted-code-1794208685980.txt
txt 636 lines
▶
# ASHU ULTIMATE ADMIN
## Complete Minecraft SMP Administration & Utility Plugin

**Plugin Name:** Ashu Ultimate Admin  
**Plugin Author:** AshuWarrior26  
**Plugin Type:** All-in-One Minecraft Administration Plugin  
**Target Servers:** SMP, Lifesteal SMP, Recording SMP, YouTuber SMP and Survival Servers.

# 1. PROJECT OVERVIEW

Develop a professional, advanced, fully functional Minecraft administration plugin named Ashu Ultimate Admin.

The plugin must provide complete control over players, server management, world history, chat, nicknames, vanish, freeze, kits, backups and recording tools.

The plugin must be lightweight, optimized, secure and compatible with different Minecraft server versions.

Do not create fake commands, placeholder methods or incomplete features. Every advertised feature must actually work.

# 2. MINECRAFT VERSION SUPPORT

Support:
- Minecraft 1.16.5
- Minecraft 1.17.x
- Minecraft 1.18.x
- Minecraft 1.19.x
- Minecraft 1.20.x
- Minecraft 1.21.x
- Future versions where technically possible.

Server platforms:
- Paper
- Spigot
- Purpur

Requirements:
- Automatically detect Minecraft version.
- Use version-specific compatibility modules.
- Use stable APIs wherever possible.
- Avoid unnecessary NMS dependencies.
- Provide separate builds if required.
- Clearly document supported Java versions.

# 3. FREEZE ALL PLAYERS SYSTEM

IMPORTANT: Freeze players, NOT the Minecraft server.

Commands:
/freeze all
/unfreeze all
/freeze 
/unfreeze 
/freeze list

Features:
- Freeze all online players instantly.
- Freeze individual players.
- Prevent walking, jumping, running and flying.
- Prevent block breaking and placing.
- Prevent PvP and entity damage.
- Prevent item dropping and pickup.
- Prevent inventory interactions.
- Prevent chest and block interactions.
- Prevent teleportation and movement abilities.
- Display configurable freeze titles.
- Display action bar messages.
- Play configurable freeze sounds.
- Maintain frozen status after reconnect.
- Restore frozen status after server restart.
- Provide admin bypass permissions.
- Display currently frozen players.

IMPORTANT:
The server must continue running normally. Server ticks, plugins, console, mobs and admin commands must remain functional.

Individual frozen players must remain frozen when /unfreeze all is used unless explicitly configured otherwise.

# 4. SERVER REWIND / TIME MACHINE

Commands:
/rewind
/rewind 1m
/rewind 5m
/rewind 10m
/rewind 30m
/rewind 1h
/rewind preview
/rewind confirm
/rewind cancel
/rewind undo
/rewind world  
Kodari AI
KodariNov 9 at 7:18 am 3
AshuUltimateAdmin
All-in-one Minecraft SMP administration plugin providing complete server control. Features freeze-all system with persistent frozen states, event-based server rewind with preview and undo, advanced vanish, custom nicknames, chat management with slow mode and anti-spam, random chat pairing, player management commands, death tracking, recording mode, GUI-based kit system with editing and mass distribution, backup recovery, professional admin GUI, and comprehensive audit logging. Uses SQLite/MySQL storage, version compatibility modules, and configurable permissions.
  • Build the plugin foundation with persistent freeze, vanish and kit management.

  • Keep unsupported administration and recovery features unregistered rather than presenting incomplete commands as working.

Created the plugin foundation with persistent freeze and vanish states, plus kit saving, editing, previews and distribution.

This is not the complete requested plugin or production-ready. Rewind, backups, nicknames, chat, random chat, player and death management, recording tools, the central GUI, database support and the requested documentation remain unimplemented. No server tests or compiled JAR were produced.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
7 508
src/main/java/com/ashuwarrior26/admin/AshuUltimateAdmin.java
package com.ashuwarrior26.admin;

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

public final class AshuUltimateAdmin extends JavaPlugin {
    @Override
    public void onEnable() {
        saveDefaultConfig();
        FreezeVanish manager = new FreezeVanish(this);
        KitManager kits = new KitManager(this);
        getServer().getPluginManager().registerEvents(manager, this);
        getServer().getPluginManager().registerEvents(kits, this);
        getCommand("freeze").setExecutor(manager);
        getCommand("unfreeze").setExecutor(manager);
        getCommand("vanish").setExecutor(manager);
        getCommand("unvanish").setExecutor(manager);
        getCommand("vanishlist").setExecutor(manager);
        getCommand("kit").setExecutor(kits);
        getLogger().info("Running on " + getServer().getVersion());
    }

    public String color(String value) {
        return ChatColor.translateAlternateColorCodes('&', value == null ? "" : value);
    }

    public void audit(String action) {
        getLogger().info("[AUDIT] " + action);
    }
}