froxypie_
๐Ÿ“Ž 1 file 3,367 chars
๐Ÿ“„
pasted-code-1772129907284.txt
txt 156 lines
โ–ถ
# Create the TABLogo plugin development prompt as a .txt file
import pypandoc

text_content = """
TAB LOGO PLUGIN โ€“ FULL DEVELOPMENT PROMPT

Plugin Name: TABLogo
Package: com.froxypie.tablogo
Compatible: Paper/Spigot 1.20 โ€“ 1.21.4
Java Version: 17+

========================================
MAIN PURPOSE
========================================

Create a fully functional, optimized, and error-free Minecraft plugin that displays
a custom animated server/SMP logo in the TAB player list header.

The logo must support:
- Multi-line ASCII text
- HEX colors (&#FFFFFF)
- Legacy colors (&c, &4, etc.)
- Optional MiniMessage support
- Smooth shiny animation
- Fully configurable system

========================================
CORE FEATURES
========================================

1) Custom TAB Header Logo
- Display multi-line logo above player names
- Supports gradients and color codes
- Clean formatting without flicker

Example:
&c&lHEROBRINE SMP
&eSurvive. Conquer. Dominate.

----------------------------------------

2) Shiny Animation System
- Shine effect moving left to right
- Configurable animation speed
- Configurable frame interval (ticks)
- Animation types: SHINE, WAVE, PULSE
- Smooth async-safe task handling

----------------------------------------

3) Per-World Logo Support (Optional Toggle)

----------------------------------------

4) Per-Permission Logo Support
Permissions:
- tablogo.vip
- tablogo.admin
- tablogo.owner

Different header per permission group.

----------------------------------------

5) Fully Configurable (config.yml)

settings:
  enabled: true
  animation-enabled: true
  animation-type: SHINE
  animation-speed: 2
  update-interval: 5

header:
  - "&c&lHEROBRINE SMP"
  - "&7Survive. Conquer. Dominate."

footer:
  - "&eplay.herobrinesmp.net"
  - "&7Discord: discord.gg/example"

permissions:
  vip:
    header:
      - "&6&lVIP PLAYER"
  admin:
    header:
      - "&4&lADMIN MODE"

----------------------------------------

6) Commands
- /tablogo reload
- /tablogo toggle
- /tablogo set  

Permission: tablogo.admin

----------------------------------------

7) Performance & Stability
- No memory leaks
- No async errors
- Proper task cancellation on disable
- Lightweight and optimized
- No console spam
- Null-safe code

----------------------------------------

8) PlaceholderAPI Support (Optional)
Supports:
- %player_name%
- %server_online%
- %vault_eco_balance%

----------------------------------------

9) Compatibility
- Paper 1.20.x
- Paper 1.21.x
- Spigot supported
- Java 17+

========================================
BONUS FEATURES (Optional Advanced)
========================================

- RGB flowing gradient animation
- Auto detect server name
- Dynamic scaling
- Custom refresh sound (toggleable)

========================================
REQUIREMENTS
========================================

- Clean OOP structure
- Auto-create config
- Error-free compilation
- Optimized scheduler usage
- Production ready
"""

output_path = "/mnt/data/TABLogo_Plugin_Development_Prompt.txt"

pypandoc.convert_text(
    text_content,
    'plain',
    format='md',
    outputfile=output_path,
    extra_args=['--standalone']
)

output_path
Kodari AI
KodariFeb 26 at 6:22 pm 16,006 (v2)

Iโ€™ll create a fully functional TABLogo plugin with animated headers, per-permission support, and MiniMessage color formatting.

TABLogo
A comprehensive TAB list header plugin featuring animated logos with shiny effects, per-permission custom headers, PlaceholderAPI support, and full configuration options. Supports multi-line ASCII art logos with HEX colors, legacy color codes, and MiniMessage formatting. Includes SHINE, WAVE, and PULSE animation types with configurable speeds and intervals for a dynamic server branding experience.

Iโ€™ll create a complete TABLogo plugin with animated headers, per-permission support, and MiniMessage color formatting.

Complete TABLogo plugin created with animated headers (SHINE, WAVE, PULSE), per-permission and per-world support, PlaceholderAPI integration, and full configuration options using MiniMessage/Adventure API for modern color formatting.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
manifest.kod
Code
12 680
src/main/java/com/froxypie/tablogo/TABLogo.java
package com.froxypie.tablogo;

import com.froxypie.tablogo.command.TabLogoCommand;
import com.froxypie.tablogo.manager.AnimationManager;
import com.froxypie.tablogo.manager.ConfigManager;
import com.froxypie.tablogo.manager.TabManager;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public final class TABLogo extends JavaPlugin {
    private ConfigManager configManager;
    private TabManager tabManager;
    private AnimationManager animationManager;

    @Override
    public void onEnable() {
        this.configManager = new ConfigManager(this);
        this.configManager.loadConfig();

        this.tabManager = new TabManager(this);
        this.animationManager = new AnimationManager(this);

        TabLogoCommand cmd = new TabLogoCommand(this);
        getCommand("tablogo").setExecutor(cmd);
        getCommand("tablogo").setTabCompleter(cmd);

        Bukkit.getOnlinePlayers().forEach(player -> tabManager.updateTabForPlayer(player));

        if (configManager.isAnimationEnabled()) {
            animationManager.startAnimation();
        }

        getLogger().info("TABLogo enabled successfully!");
    }

    @Override
    public void onDisable() {
        if (animationManager != null) {
            animationManager.stopAnimation();
        }

        Bukkit.getOnlinePlayers().forEach(player -> {
            player.sendPlayerListHeaderAndFooter(
                net.kyori.adventure.text.Component.empty(),
                net.kyori.adventure.text.Component.empty()
            );
        });

        getLogger().info("TABLogo disabled successfully!");
    }
}