g2682.k

Create a Minecraft plugin for version 1.21+.

I want a scoreboard like DonutSMP.

The scoreboard must appear on the right side of the screen and update in real-time.

Show this information:

Animated server name at the top (color changing) Player name Player rank from LuckPerms Money/balance (Vault) Online players count Server IP at the bottom Features:

Smooth animation (no flickering) Clean and modern design Use PlaceholderAPI for placeholders Automatically updates Commands:

All main commands must start with /fella Add a reload command: /fellascore reload (reloads config without restarting server) Customization:

Everything must be configurable in config.yml Support color codes like &a, &b, etc.

Compatibility:

LuckPerms Vault PlaceholderAPI Performance:

Optimized and no lag

Kodari AI
KodariMay 5 at 3:12 pm 8,861 (v2)

I’ll create a professional scoreboard plugin similar to DonutSMP with smooth animations and real-time updates.

FellaScoreboard
A modern animated scoreboard plugin for Minecraft 1.21+ featuring real-time player statistics. Displays animated server name, player rank from LuckPerms, Vault economy balance, online player count, and server IP. Fully customizable with config support for all colors and text. Integrates seamlessly with PlaceholderAPI for advanced placeholder support. Optimized for performance with flicker-free updates and smooth color animations.

Perfect! I’ve created FellaScoreboard - a modern, animated scoreboard plugin similar to DonutSMP.

✨ Key Features Implemented:

Animated Title: Color-cycling server name at the top with configurable speed

  • Real-time Stats: Player name, LuckPerms rank, Vault balance, online count, server IP

  • Smooth Updates: Flicker-free scoreboard using teams (no visual glitches)

  • PlaceholderAPI Support: Use any PAPI placeholder in config

  • Full Customization: Everything configurable in config.yml

  • Performance Optimized: Async updates, efficient caching, minimal overhead

  • Commands: /fellascore reload to reload without restart

🔧 Integration:

  • Vault - Economy balance display

  • LuckPerms - Player rank display

  • PlaceholderAPI - Custom placeholders like %player_ping%

📝 Configuration:

The config.yml includes:

  • Customizable lines with color codes (&a, &b, etc.)

  • Title animation colors and speed

  • Update intervals for performance tuning

  • Default values if plugins aren’t installed

  • Async update toggle

🎮 Commands:

  • /fella - Show help

  • /fellascore reload - Reload config (requires fellascore.reload permission)

The scoreboard automatically appears for players with fellascore.use permission (default: true) and updates smoothly without lag!

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
9 647
src/main/java/com/fella/scoreboard/FellaScoreboard.java
package com.fella.scoreboard;

import com.fella.scoreboard.commands.FellaCommand;
import com.fella.scoreboard.config.ConfigManager;
import com.fella.scoreboard.managers.ScoreboardManager;
import lombok.Getter;
import net.milkbowl.vault.economy.Economy;
import org.bukkit.Bukkit;
import org.bukkit.plugin.RegisteredServiceProvider;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class FellaScoreboard extends JavaPlugin {
    
    private ConfigManager configManager;
    private ScoreboardManager scoreboardManager;
    private Economy economy;
    private boolean hasVault = false;
    private boolean hasLuckPerms = false;
    private boolean hasPlaceholderAPI = false;
    
    @Override
    public void onEnable() {
        this.configManager = new ConfigManager(this);
        this.configManager.loadConfig();
        
        this.checkDependencies();
        
        this.scoreboardManager = new ScoreboardManager(this);
        this.scoreboardManager.start();
        
        this.registerCommands();
        this.registerListeners();
        
        getLogger().info("FellaScoreboard has been enabled!");
        getLogger().info("Vault: " + (hasVault ? "Found" : "Not found"));
        getLogger().info("LuckPerms: " + (hasLuckPerms ? "Found" : "Not found"));
        getLogger().info("PlaceholderAPI: " + (hasPlaceholderAPI ? "Found" : "Not found"));
    }
    
    @Override
    public void onDisable() {
        if (this.scoreboardManager != null) {
            this.scoreboardManager.stop();
        }
        getLogger().info("FellaScoreboard has been disabled!");
    }
    
    private void checkDependencies() {
        if (getServer().getPluginManager().getPlugin("Vault") != null) {
            if (setupEconomy()) {
                this.hasVault = true;
            }
        }
        
        if (getServer().getPluginManager().getPlugin("LuckPerms") != null) {
            this.hasLuckPerms = true;
        }
        
        if (getServer().getPluginManager().getPlugin("PlaceholderAPI") != null) {
            this.hasPlaceholderAPI = true;
        }
    }
    
    private boolean setupEconomy() {
        if (getServer().getPluginManager().getPlugin("Vault") == null) {
            return false;
        }
        RegisteredServiceProvider<Economy> rsp = getServer().getServicesManager().getRegistration(Economy.class);
        if (rsp == null) {
            return false;
        }
        this.economy = rsp.getProvider();
        return this.economy != null;
    }
    
    private void registerCommands() {
        FellaCommand fellaCommand = new FellaCommand(this);
        getCommand("fella").setExecutor(fellaCommand);
        getCommand("fellascore").setExecutor(fellaCommand);
    }
    
    private void registerListeners() {
        Bukkit.getPluginManager().registerEvents(new com.fella.scoreboard.listeners.PlayerListener(this), this);
    }
    
    public void reload() {
        this.scoreboardManager.stop();
        this.configManager.loadConfig();
        this.scoreboardManager.start();
    }
}