.khuna.

can you create a plugin like money smp where each player starts with 100 dollars and when you die you lsoe 10 dollars and when you kill some one you gain 100 dollars. Make the commands /give money and /take money (admin only) make a command to adims to assign one player as team captian for each team color (red,blue,yellow,purple,green,orange) make a command /draft that admins and team leaders can do to draft players to there team. make a persons many show above there hotbar and next to there namew in tab. make each persons user the color of what team there on

Kodari AI
KodariApr 11 at 4:48 pm 11,087 (v2)

I’ll create a Money SMP plugin with team-based economy and combat rewards.

MoneySMP
A competitive SMP plugin where players earn and lose money through combat. Players start with $100, lose $10 on death, and gain $100 per kill. Features team-based gameplay with colored teams (red, blue, yellow, purple, green, orange), team captains, and a draft system. Money is displayed above the hotbar and in the tab list. Includes admin commands for money management and team administration.

All files created successfully! The plugin features:

Core Mechanics:

  • Players start with $100 (configurable)

  • Lose $10 on death, gain $100 per kill (configurable)

  • Money displays above hotbar and in tab list

Teams & Drafting:

  • Six team colors with automatic name coloring in tab

  • Admin command /setcaptain <team> <player> to assign captains

  • Captains and admins use /draft <player> to recruit players

  • Scoreboard integration for team colors

Admin Commands:

  • /givemoney <player> <amount> - Give money to a player

  • /takemoney <player> <amount> - Remove money from a player

Data Persistence:

  • Player money and team assignments saved to players.yml

  • Team captains saved to teams.yml

  • Auto-saves on quit and plugin disable

.khuna.

add the /draft command for captains and admin killing team captains give 20 dollars and when they die they loose 20 add /set f teir and they only loose 5 and people only gain 5 from killing f teirs

Kodari AI
KodariApr 11 at 5:09 pm 18,110 (v2)

I’ll read the existing files to understand the current structure and then implement the requested features.

I’ll implement the requested features:

  • Captain death mechanics ($20 reward/loss)

  • F tier system ($5 reward/loss)

  • /settier command to set F tier status

All features implemented:

  • Team captains now lose $20 on death and killers gain $20

  • F tier players lose $5 on death and killers gain $

  • /settier <player> <f|normal> command added for admins

  • /draft command already works for captains and admins

  • PlayerData now tracks F tier status and persists it

.khuna.

add command /captain remove and fix /draft as itr doesnt work

Kodari AI
KodariApr 11 at 5:17 pm 8,189 (v2)

I’ll read the necessary files to understand the current implementation and fix the issues.

Let me also read the DataManager to understand how data is managed:

I’ll fix the /draft command and add the /captain remove functionality.

Issues identified:

  • DraftCommand doesn’t allow admins to draft players without being a captain themselves

  • No way to remove captains

  • TeamCommand is only for setting captains, not managing them

Changes:

  • Fix DraftCommand to allow admins to specify team: /draft <player> [team]

  • Create CaptainCommand with subcommands: set, remove, list

  • Add removeCaptain method to TeamManager

  • Update plugin.yml

Fixed /draft command to properly work for both admins and captains, and added /captain command with set, remove, and list subcommands.

.khuna.

/draft still doesnt work and when a team captain is removed they still have the colour when they leave a team make them have no colour

Kodari AI
KodariApr 11 at 5:27 pm 6,427 (v2)

I can see the issues:

  1. /draft doesn’t work: The command checks if player is captain BUT also requires moneysmp.draft permission (which defaults to false). Captains don’t automatically have this permission.

  2. Captain removal keeps color: When removing a captain, the code only removes their captain status but doesn’t clear their team assignment or scoreboard color.

Let me fix both:

Fixed both issues:

  • /draft now works for captains (doesn’t require separate permission, being a captain is enough)

  • Removing a captain now clears their team assignment and removes their color

.khuna.

scrap /draft its not working re write the code and do /set team player but its a admin command only creat a /title saying they joined that team but make the text the colour of the team

Kodari AI
KodariApr 11 at 5:33 pm 5,853 (v2)

I’ll read the existing code to understand the structure, then replace the draft command with a new setteam admin command.

I’ll delete the draft command and create a new admin-only setteam command with a colored title.

Replaced /draft with /setteam - an admin-only command that shows a colored title with the team name when a player is assigned to a team.

.khuna.

when player kills another they gain 100 make the gain 10 also make a command /teambal to see every teams balance

Kodari AI
KodariApr 11 at 5:39 pm 5,863 (v2)

I’ll help you change the kill reward to 10 and add a /teambal command to view all team balances.

Now I’ll make the changes:

  1. Change kill reward from 100 to 10

  2. Create /teambal command to show all team balances

Done! Changes made:

  • Kill reward changed from 100 to 10 in PlayerDeathListener

  • Created /teambal command that displays total balance for each team (RED, BLUE, YELLOW, PURPLE, GREEN, ORANGE)

  • Command is available to all players (no permission required)

.khuna.

add a crown that act as a nethrite helmet but looks like a gold one when a player wears it they have glowing make one unique crown for each team also its unbreakable it leaks the players cord in chat every 5hours or on a command /crownreveal the crown gives the player healthboost 2 make a command /crownpossesion to see how many crowns a team has a command to give every team leader a crown

Kodari AI
KodariApr 11 at 5:44 pm 10,270 (v2)

I’ll add a crown system with team-specific crowns, glowing effect, location tracking, and the requested commands. Let me first read the existing files to understand the structure.

I’ll create a crown system with team-specific crowns that grant glowing effects, health boost, and periodic location reveals.


Crown system implemented with:

  • Unique gold helmet crown for each team (6 total) with netherite-level protection

  • Glowing effect + Health Boost 2 when worn

  • Auto-reveals crown locations every 5 hours (configurable in config.yml)

  • /crownreveal - manually reveal crown locations

  • /crownpossession - view how many crowns each team currently holds

  • /givecrowns - gives each team captain their crown

  • Crowns are unbreakable and tracked via persistent data

.khuna.

make it so it says Cash Smp in bold and green in the playerlist in the top make it so every captain have a captain rank that says captian in there team colour next to there name make a /auction command that only admins can use and who every puts the most money wins make sure they have that money in there balance also make a /send command so people can send eachother money and make it so teammate dont gain money from killing eachother

Kodari AI
KodariApr 11 at 5:54 pm 18,867 (v2)

I’ll implement all the requested features. Let me first read the existing files to understand the structure

I’ll implement all the requested features. Let me create the new commands and update the necessary files.

All features implemented:

  • Tab list header: “Cash SMP” in bold green at the top

  • Captain ranks: Captains show “[Captain]” prefix in their team color next to their name

  • /auction command: Admins can start/end/cancel auctions, validates player balances

  • /bid command: Players bid on auctions, money is deducted when auction ends

  • /send command: Players can send money to each other

  • Teammate protection: No money gained from killing teammates

.khuna.

instead nake this with no backround at the top of the playerlist and make make a player count at the bottom which bold white

1 image attached
.khuna.

make this at the top of playerlist with no backround instead of cash smp

1 image attached
.khuna.

top of player list instead no backround

1 image attached
.khuna.

make this the top of the playerlist with no backround

1 image attached
Kodari AI
KodariApr 11 at 6:17 pm 6,851 (v2)

I’ll help you add a custom image header to the player list. First, let me check the existing files to understand the current setup.

To display a custom image at the top of the player list, you’ll need to use a resource pack with custom font characters. I’ll set up the plugin to support this and provide you with the configuration structure.

Here’s what I’ll do:

  • Update config.yml to support custom tab header with Unicode characters (for resource pack)

  • Modify TabUpdateTask to read and apply the custom header

  • Add support for hex colors

Now create a resource pack guide file to help you implement the custom image:

Setup complete! The plugin now supports custom tab headers with resource pack characters.

To display your image:

  1. Follow the RESOURCE_PACK_GUIDE.txt instructions to create a resource pack with your logo

  2. The config is already set to use Unicode character \uE000 which will display your image

  3. Distribute the resource pack to your players

Without a resource pack: The character won’t display, so you can use the alternative text-based header shown in the guide.

.khuna.

can u make me a texture pack

Kodari AI
KodariApr 11 at 6:27 pm 1,370 (v2)

I specialize in Minecraft plugin development (Java code), not texture pack creation. Texture packs require:

  • Image files (.png) for blocks, items, entities, GUI elements

  • Model files (.json) defining item/block shapes

  • Sound files (.ogg) for custom audio

  • Font files for custom text

  • pack.mcmeta configuration

I can’t create graphical assets or image files.


What I CAN help with:

If you want your MoneySMP plugin to work with a custom texture pack, I can:

  1. Add a resource pack auto-prompt when players join (sends them a download link)

  2. Integrate with ItemsAdder/Oraxen (plugins that handle custom items/blocks with textures)

  3. Create custom model data items (if you already have a texture pack with custom_model_data)

  4. Add commands to give items that reference texture pack assets


For texture pack creation, you’ll need:

  • Tools: Blockbench (models), GIMP/Photoshop (textures), Audacity (sounds)

  • Resources:

Would you like me to add resource pack integration features to your plugin instead? For example, I could add custom items with model data that work with a texture pack you create separately.

.khuna.

can u make me a custom bow that when u shoot it you ride a bat for 5seconds but it has a minuite cooldown make it so its unbreakable and cant be destroyed

Kodari AI
KodariApr 11 at 6:29 pm 12,001 (v2)

I’ll create a custom bat-riding bow system with cooldown management. Let me first read the project structure to understand the existing patterns.

I’ll create a custom bat-riding bow system with cooldown tracking. Here’s the implementation:


Bat Rider Bow system created! The bow spawns a bat you ride for 5 seconds with a 60-second cooldown. It’s unbreakable, can’t be dropped, and uses /batbow [player] to obtain.

.khuna.

make it so you can move around on the bat so u can fly away and when its over you dont take fall damdge and you have sped 3 for 5 seconds make it so the bat doesnt sleep either and add a command that removes the cooldown on legendaey weapons

Kodari AI
KodariApr 11 at 6:36 pm 8,603 (v2)

I’ll read the bat bow related files to understand the current implementation, then make the requested changes.

Now I’ll make the changes to allow bat movement, add fall damage protection, speed effect, prevent bat sleeping, and add a cooldown reset command.

All changes implemented:

  • Bat now has AI enabled so you can fly around

  • Bat stays awake and won’t sleep

  • Fall damage is prevented for 2 seconds after dismounting

  • Speed 3 effect applied for 5 seconds after ride ends

  • Added /resetcooldown [player] command to remove all legendary weapon cooldowns

.khuna.

let the player be able to control the bat and add a player count at the bottom of the task bar also make the top say Cash SMP again add dollar symbols and pound symbold floating arounf the player list

Kodari AI
KodariApr 11 at 6:47 pm 7,685 (v2)

I’ll read the relevant files to understand the current bat bow system and tab list implementation.

I’ll implement bat control, update the tab list with “Cash SMP” header, player count footer, and add currency symbols around player names.

.khuna.

make a /withdraw to put money into your inventory make that the texture of the money also make it so u can drop the bat bow but it cant be burtn or damged to a cactus

1 image attached
Kodari AI
KodariApr 11 at 6:54 pm 23,149 (v2)

I’ll create a /withdraw command that converts money to a physical item with custom texture support, allow bat bow drops, and protect both items from environmental damage.

All files created. The system now includes:

  • /withdraw <amount> command to convert money into physical paper items with custom model data (1) for texture packs

  • Money items are protected from fire, lava, cactus, and explosions

  • Money items never despawn

  • Right-click money items to deposit them back

  • Bat bow can now be dropped but is protected from all environmental damage

.khuna.

can u make it so u cant make ur own teams onlyu stick to the main 6 and make it so only admins can do team settings can u also make a /cashhelp to showcase all the customcommands and what they do

Kodari AI
KodariApr 11 at 7:29 pm 30,143 (v2)

I’ll read the relevant files to understand the current team system and all commands.

Good news - team restrictions are already implemented! The plugin only allows the 6 fixed teams (RED, BLUE, YELLOW, PURPLE, GREEN, ORANGE) and all team management commands already require admin permission.

I’ll now create the /cashhelp command to showcase all available commands.

All changes complete! Here’s what was implemented:

  1. Team restrictions already in place - The plugin only allows the 6 fixed teams (RED, BLUE, YELLOW, PURPLE, GREEN, ORANGE) and all team management commands require moneysmp.admin permission

  2. New /cashhelp command - Shows all available commands organized by category (Player Commands, Admin Commands, Team Management, Crown System, Auction System, Special Items) with descriptions

.khuna.

can u make it so all the commands are tidied up no duplicate cxommands that do the same thing

Kodari AI
KodariApr 11 at 7:30 pm 9,735 (v2)

I’ll analyze all the commands to identify duplicates and consolidate them.

Looking at all the commands, I found one duplicate:

  • TeamCommand.java (/setcaptain) is a duplicate of CaptainCommand.java (/captain set) - TeamCommand only sets captains but doesn’t handle old captains properly, while CaptainCommand has full captain management (set/remove/list) with proper validation.

I’ll remove TeamCommand and the /setcaptain command registration, keeping the superior CaptainCommand.

Commands cleaned up - removed duplicate TeamCommand (/setcaptain) which was inferior to CaptainCommand (/captain set/remove/list). All other commands serve unique purposes.

.khuna.

make it so u cant send money only withdraw it

Kodari AI
KodariApr 11 at 7:31 pm 3,563 (v2)

I’ll read the relevant files to understand how the send and withdraw commands work, then disable the send functionality.

I’ll disable the send command by removing its registration from the main class and plugin.yml, while keeping the withdraw command active.

Done. The /send command has been disabled - players can no longer send money to each other. The /withdraw command remains active so players can still convert their virtual balance into physical money items.

.khuna.

add a /captainveiw command to see who the captains are

Kodari AI
KodariApr 11 at 7:33 pm 5,735 (v2)

I’ll add a /captainview command to display all team captains. Let me first read the relevant files to understand the structure.

I’ll create a /captainview command to display all team captains.

Done! I’ve added a /captainview command that displays all team captains. The command shows each team’s captain in their team color, or displays “No captains set.” if there are no captains. Unlike the admin /captain command, this one is available to all players without permission requirements.

.khuna.

add a /activity to list when players last logged on the server

Kodari AI
KodariApr 11 at 7:34 pm 10,205 (v2)

I’ll add an /activity command to track and display when players last logged on. Let me first read the relevant files to understand the existing structure.

I’ll add an /activity command to track and display when players last logged in. This requires:

  • Adding a lastLogin timestamp to PlayerData

  • Updating the join listener to track login times

  • Creating the ActivityCommand

  • Registering the command

Added /activity command that tracks and displays when players last logged on. The command shows all players sorted by most recent activity, with color-coded timestamps and online/offline status indicators.

.khuna.

in the /help update all the commands and delte the ones that are gone like /send also make a special item called the golden compas which when you right click it give the holder locator bar to the holder

.khuna.

make a command to give u a golden compass that when you right click it it gives the holder locator bar for 5 seconds and remove /send in /cashhelp

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
RESOURCE_PACK_GUIDE.txt
Code
42 2,942
src/main/java/com/moneysmp/MoneySMP.java
package com.moneysmp;

import com.moneysmp.commands.ActivityCommand;
import com.moneysmp.commands.AuctionCommand;
import com.moneysmp.commands.BatBowCommand;
import com.moneysmp.commands.BidCommand;
import com.moneysmp.commands.CaptainCommand;
import com.moneysmp.commands.CaptainViewCommand;
import com.moneysmp.commands.CashHelpCommand;
import com.moneysmp.commands.CrownPossessionCommand;
import com.moneysmp.commands.CrownRevealCommand;
import com.moneysmp.commands.GiveCrownCommand;
import com.moneysmp.commands.LocatorCompassCommand;
import com.moneysmp.commands.MoneyCommand;
import com.moneysmp.commands.ResetCooldownCommand;
import com.moneysmp.commands.WithdrawCommand;
import com.moneysmp.commands.SetTeamCommand;
import com.moneysmp.commands.SetTierCommand;
import com.moneysmp.commands.TeamBalCommand;

import com.moneysmp.data.DataManager;
import com.moneysmp.listeners.BatBowListener;
import com.moneysmp.listeners.CrownListener;
import com.moneysmp.listeners.JoinQuitListener;
import com.moneysmp.listeners.LocatorCompassListener;
import com.moneysmp.listeners.MoneyItemListener;
import com.moneysmp.listeners.PlayerDeathListener;
import com.moneysmp.managers.AuctionManager;
import com.moneysmp.managers.BatBowManager;
import com.moneysmp.managers.CrownManager;
import com.moneysmp.managers.LocatorCompassManager;
import com.moneysmp.managers.MoneyItemManager;
import com.moneysmp.managers.MoneyManager;
import com.moneysmp.managers.TeamManager;
import com.moneysmp.tasks.ActionBarTask;
import com.moneysmp.tasks.CrownEffectTask;
import com.moneysmp.tasks.CrownRevealTask;
import com.moneysmp.tasks.TabUpdateTask;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class MoneySMP extends JavaPlugin {

    private DataManager dataManager;
    private TeamManager teamManager;
    private MoneyManager moneyManager;
    private MoneyItemManager moneyItemManager;
    private CrownManager crownManager;
    private AuctionManager auctionManager;
    private BatBowManager batBowManager;
    private LocatorCompassManager locatorCompassManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();

        this.dataManager = new DataManager(this);
        this.teamManager = new TeamManager(this);
        this.moneyManager = new MoneyManager(this);
        this.moneyItemManager = new MoneyItemManager(this);
        this.crownManager = new CrownManager(this);
        this.auctionManager = new AuctionManager(this);
        this.batBowManager = new BatBowManager(this);
        this.locatorCompassManager = new LocatorCompassManager(this);

        dataManager.load();

        registerCommands();
        registerListeners();
        startTasks();

        getLogger().info("MoneySMP has been enabled!");
    }

    @Override
    public void onDisable() {
        dataManager.save();
        getLogger().info("MoneySMP has been disabled!");
    }

    private void registerCommands() {
        getCommand("givemoney").setExecutor(new MoneyCommand(this, true));
        getCommand("takemoney").setExecutor(new MoneyCommand(this, false));
        getCommand("captain").setExecutor(new CaptainCommand(this));
        getCommand("captainview").setExecutor(new CaptainViewCommand(this));
        getCommand("setteam").setExecutor(new SetTeamCommand(this));
        getCommand("settier").setExecutor(new SetTierCommand(this));
        getCommand("teambal").setExecutor(new TeamBalCommand(this));
        getCommand("crownreveal").setExecutor(new CrownRevealCommand(this));
        getCommand("crownpossession").setExecutor(new CrownPossessionCommand(this));
        getCommand("givecrowns").setExecutor(new GiveCrownCommand(this));
        getCommand("auction").setExecutor(new AuctionCommand(this));
        getCommand("bid").setExecutor(new BidCommand(this));
        getCommand("withdraw").setExecutor(new WithdrawCommand(this));
        getCommand("batbow").setExecutor(new BatBowCommand(this));
        getCommand("locatorcompass").setExecutor(new LocatorCompassCommand(this));
        getCommand("resetcooldown").setExecutor(new ResetCooldownCommand(this));
        getCommand("cashhelp").setExecutor(new CashHelpCommand(this));
        getCommand("activity").setExecutor(new ActivityCommand(this));
    }

    private void registerListeners() {
        getServer().getPluginManager().registerEvents(new JoinQuitListener(this), this);
        getServer().getPluginManager().registerEvents(new PlayerDeathListener(this), this);
        getServer().getPluginManager().registerEvents(new CrownListener(this), this);
        getServer().getPluginManager().registerEvents(new BatBowListener(this), this);
        getServer().getPluginManager().registerEvents(new LocatorCompassListener(this), this);
        getServer().getPluginManager().registerEvents(new MoneyItemListener(this), this);
    }

    private void startTasks() {
        long actionBarInterval = getConfig().getLong("action-bar-update-interval", 20);
        long tabInterval = getConfig().getLong("tab-update-interval", 40);
        long crownRevealInterval = getConfig().getLong("crown-reveal-interval", 18000) * 20;
        long crownEffectInterval = getConfig().getLong("crown-effect-update-interval", 20);

        new ActionBarTask(this).runTaskTimer(this, 0L, actionBarInterval);
        new TabUpdateTask(this).runTaskTimer(this, 0L, tabInterval);
        new CrownRevealTask(this).runTaskTimer(this, crownRevealInterval, crownRevealInterval);
        new CrownEffectTask(this).runTaskTimer(this, 0L, crownEffectInterval);
    }
}