Owen St John

make a plugin named EzBaltop. all this plugin does, is when you type /baltop, it shows a list of peoples money highest to lowest. also make it so when you do /bal (anyones username), it shows just there balance. make it look cool black and purple but still clean.

Kodari AI
KodariSep 27 at 9:04 pm 1
EzBaltop
A sleek Minecraft plugin that displays a leaderboard of player balances via /baltop, ranked highest to lowest, and shows individual balances with /bal <username>. Features a clean black and purple themed GUI and chat interface, with paginated top list for large servers, automatic balance refresh, and permission-based access control. Simple, lightweight, and visually polished for an enhanced economy browsing experience.
  1. Create the EzBaltop Paper plugin with Vault-backed balance lookup and clean black-and-purple formatting.

  2. Add /baltop rankings and /bal [player] balance lookup, including permissions and command registration.

Created EzBaltop with /baltop showing the 10 richest players and /bal [player] showing a balance in a clean black-and-purple style. It uses Vault, so your server needs Vault and an economy provider installed.

Owen St John

make all player name colors the same and white keep everything else the same

Kodari AI
KodariSep 27 at 9:15 pm 1

Changed all displayed player names to white in the leaderboard and /bal messages. Everything else is unchanged.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
5 172
src/main/java/com/ezbaltop/EzBaltopPlugin.java
package com.ezbaltop;

import net.milkbowl.vault.economy.Economy;
import org.bukkit.Bukkit;
import org.bukkit.plugin.RegisteredServiceProvider;
import org.bukkit.plugin.java.JavaPlugin;

import java.util.Objects;

public final class EzBaltopPlugin extends JavaPlugin {
    private Economy economy;

    @Override
    public void onEnable() {
        RegisteredServiceProvider<Economy> registration =
                getServer().getServicesManager().getRegistration(Economy.class);
        if (registration == null || registration.getProvider() == null) {
            getLogger().severe("No Vault economy provider found. Disabling EzBaltop.");
            Bukkit.getPluginManager().disablePlugin(this);
            return;
        }

        economy = registration.getProvider();
        BalanceCommand balanceCommand = new BalanceCommand(economy);
        Objects.requireNonNull(getCommand("baltop")).setExecutor(balanceCommand);
        Objects.requireNonNull(getCommand("bal")).setExecutor(balanceCommand);
    }
}