lordkrishna.exe

Develop a professional Minecraft Spigot/Paper plugin called "EndManagerPro" for version 1.21+ that controls access to the End dimension through a timed unlock system. The plugin should feature commands for managing the countdown, an accurate timer that persists through server restarts, and a global Boss Bar displaying the remaining unlock time with dynamic color changes. Include a clean MOTD that updates live, a non-spam chat system for players, auto-announcements for unlock updates, and a broadcast event with sound when the End opens. Configuration options should be available in a user-friendly YAML format for easy customization.

Kodari AI
KodariApr 2 at 5:52 am 16,210 (v2)

I’ll create a comprehensive End dimension management plugin with a timed unlock system, persistent timer, boss bar, MOTD integration, and full command suite.

EndManagerPro
A professional End dimension access control system featuring timed unlock mechanics. Includes persistent countdown timers that survive restarts, dynamic boss bars with color-coded time remaining, live MOTD updates showing unlock status, automatic announcements at configurable intervals, and broadcast events with sounds when the End opens. Full admin command suite for timer management with intuitive time format parsing.

All files created successfully! EndManagerPro is ready with:

Core Features:

  • ✅ Persistent countdown timer (survives restarts via data.yml)

  • ✅ Dynamic boss bar with 4-color system (RED→YELLOW→GREEN→BLUE)

  • ✅ Live MOTD updates showing time remaining

  • ✅ Portal/teleport/command blocking when locked

  • ✅ Non-spam chat (5-second cooldown per player)

  • ✅ Auto-announcements at 14 configurable intervals

  • ✅ Ender Dragon growl sound on unlock

  • ✅ Auto-restart timer after unlock (configurable)

Commands:

  • /end set <time> - Set timer (e.g., “2h”, “90m”, “1h30m”)

  • /end add/remove <time> - Modify existing timer

  • /end unlock/lock - Manual control

  • /end reset - Back to default duration

  • /end status - Current timer info

  • /end reload - Hot-reload config

Permission: endmanagerpro.bypass - Skip all restrictions

The plugin uses proper XSeries integration for cross-version sound compatibility, Lombok for clean code, and comprehensive configuration options for every feature.

lordkrishna.exe

operater cant lock unlock give access

Kodari AI
KodariApr 2 at 6:00 am 9,611 (v2)

I’ll analyze the permission setup to fix operator access issues.

I found the issue. The plugin only has one permission (endmanagerpro.admin) which should work for operators, but I’ll add granular permissions for better compatibility with permission plugins and make the system more robust.

lordkrishna.exe

wihtout luck perms

Kodari AI
KodariApr 2 at 7:18 am 10,794 (v2)

I’ll read the project files to identify where LuckPerms is being used and remove those dependencies.

I’ve reviewed the project files. The plugin already does not use LuckPerms.

The EndManagerPro plugin uses Bukkit’s built-in permission system exclusively:

  • All permission checks use player.hasPermission("endmanagerpro.bypass") and similar Bukkit methods

  • No LuckPerms dependencies in build.gradle

  • No LuckPerms imports in any Java files

  • Permissions are defined in plugin.yml using standard Bukkit permission nodes

The plugin is completely standalone and works without any external permission plugins like LuckPerms or Vault. It will function with just operator permissions or any permission plugin that hooks into Bukkit’s permission system.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
12 1,348
src/main/java/me/endmanagerpro/EndManagerPro.java
package me.endmanagerpro;

import lombok.Getter;
import me.endmanagerpro.command.EndCommand;
import me.endmanagerpro.listener.EndListener;
import me.endmanagerpro.listener.MOTDListener;
import me.endmanagerpro.manager.BossBarManager;
import me.endmanagerpro.manager.ConfigManager;
import me.endmanagerpro.manager.EndManager;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class EndManagerPro extends JavaPlugin {
    
    private ConfigManager configManager;
    private EndManager endManager;
    private BossBarManager bossBarManager;
    
    @Override
    public void onEnable() {
        this.configManager = new ConfigManager(this);
        this.configManager.loadConfig();
        
        this.endManager = new EndManager(this);
        this.bossBarManager = new BossBarManager(this);
        
        this.endManager.load();
        this.endManager.startTimer();
        
        Bukkit.getPluginManager().registerEvents(new EndListener(this), this);
        Bukkit.getPluginManager().registerEvents(new MOTDListener(this), this);
        
        getCommand("end").setExecutor(new EndCommand(this));
        
        getLogger().info("EndManagerPro has been enabled!");
    }
    
    @Override
    public void onDisable() {
        if (this.endManager != null) {
            this.endManager.save();
            this.endManager.stopTimer();
        }
        
        if (this.bossBarManager != null) {
            this.bossBarManager.removeAll();
        }
        
        getLogger().info("EndManagerPro has been disabled!");
    }
    
    public void reload() {
        this.configManager.loadConfig();
        if (this.endManager != null) {
            this.endManager.reload();
        }
        if (this.bossBarManager != null) {
            this.bossBarManager.reload();
        }
    }
}