its_saiyanplayz

make a minecraft plugin in which we can glow any player in any colour on player outline by /uglow playername colour and add all colur in this plugin for 1.21.8

Kodari AI
KodariApr 1 at 9:15 pm 8,034 (v2)

I’ll create a glowing player outline plugin with full color support for Minecraft 1.21.8.

UltraGlow
A player outline glowing plugin that allows administrators to apply colored glow effects to any player using the /uglow command. Supports all 16 Minecraft colors for player outlines using team-based coloring and the glowing effect. Features include easy color selection, tab completion, permission support, and automatic team management for seamless glow application across all game versions.

All files created! UltraGlow is ready with full color support for player outlines. Players with ultraglow.use permission can use /uglow <player> <color> to apply any of the 16 Minecraft colors (black, dark_blue, dark_green, dark_aqua, dark_red, dark_purple, gold, gray, dark_gray, blue, green, aqua, red, light_purple, yellow, white) or /uglow <player> off to remove the glow effect.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
6 320
src/main/java/com/ultraglow/UltraGlow.java
package com.ultraglow;

import com.ultraglow.command.GlowCommand;
import com.ultraglow.manager.GlowManager;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class UltraGlow extends JavaPlugin {

    private GlowManager glowManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        
        this.glowManager = new GlowManager(this);
        
        GlowCommand glowCommand = new GlowCommand(this);
        getCommand("uglow").setExecutor(glowCommand);
        getCommand("uglow").setTabCompleter(glowCommand);
        
        getLogger().info("UltraGlow has been enabled!");
    }

    @Override
    public void onDisable() {
        if (glowManager != null) {
            glowManager.removeAllGlows();
        }
        getLogger().info("UltraGlow has been disabled!");
    }

    public String getMessage(String path) {
        return getConfig().getString("messages." + path, "&cMessage not found: " + path)
                .replace("&", "§");
    }

    public String getPrefix() {
        return getMessage("prefix");
    }
}