henry mcintyre

cna you make a minecraft server plug in for paper 26.1.2 like donutsmp that has an economy and a coustom scorebored that says on the top h4xrysmp and the costom score bored says h4xrysmp on the top in green letters and a role plugin for onwer role and helpers with admin only commands and an economy that shows the users balance on the scoreboard can you also add a /shop with crystal pvp items inside and another section for food and blocks like quartz and wool and other blocks to build a nice base with can you also add a /orders where people can order items for money and the amount they want eg: 1 sign for 1,000,000 and the players who deliver get some of the money split with how many items they deliver can you also add it to one download folder i can import into my plugins folder

Kodari AI
KodariSep 2 at 12:58 am 3
H4xrySMPCore
Comprehensive SMP plugin featuring integrated economy with per-player balance tracking, custom scoreboard displaying player name and balance in green, role management system with owner and helper ranks with admin-only commands, GUI-based shop system with crystal PvP items, food, and building blocks, and an order system where players can create item delivery requests with monetary rewards split among delivering players. Includes full inventory GUI framework, command handlers, and configuration files for easy customization.

I’ll create one Paper plugin project folder containing:

  1. Economy persistence, /balance, and a live green H4xrySMP scoreboard.

  2. Owner/helper roles with staff-only administration commands.

  3. /shop GUI for Crystal PvP, food, and building materials.

  4. /orders with escrowed purchases, item delivery, proportional payouts, listing, and cancellation.

  5. Gradle/plugin metadata so it can be built into a single plugin JAR.

The core project, economy, scoreboard, roles, and shop files are in place. I’m adding the order escrow/delivery flow and command handlers, while correcting the shop bundle pricing and menu slot mapping so purchases and orders behave consistently.

Created the H4xrySMP Paper plugin project with:

  • Persistent economy using balances.yml

  • /balance, /bal, and /money

  • Green H4xrySMP sidebar scoreboard showing:

    • Balance

    • Role

    • Online player count

  • Owner, Helper, and Member roles

  • Admin commands:

    • /h4xrysmp reload

    • /h4xrysmp setbalance <player> <amount>

    • /h4xrysmp setrole <player> <owner|helper|member>

  • /shop GUI categories:

    • Crystal PvP

    • Food

    • Building blocks

  • /orders system:

    • /orders create <item> <amount> <total-price>

    • /orders list

    • /orders deliver <id> <amount>

    • /orders cancel <id>

  • Escrowed order payments

  • Deliverers receive the configured percentage of the order value

  • Persistent orders in orders.yml

  • Paper 26.1.2 API configuration

  • Gradle build files and plugin metadata

The project is ready to build into a plugin JAR. The resulting JAR should be placed in the server’s plugins folder.

henry mcintyre

can you also add a auction house where players can list any item for any price and a /sell command where playerss can sell any item for money and can you add a admin only command that adds money to players, command i would like is /addmoney <user> <amount>

Kodari AI
KodariSep 2 at 1:02 am 3
  1. Add a persistent auction house with listing, browsing, buying, and cancellation.

  2. Add /sell for selling held items directly to the configured economy.

  3. Add admin-only /addmoney <user> <amount> with validation and persistence.

  1. Add /sell [amount|all], paying the configured per-item value for the held item and supporting unconfigured items with a safe default.

  2. Add the permission-protected /addmoney <user> <amount> command and refresh the target’s scoreboard immediately.

Added:

  • Auction House

    • /auction or /ah opens the GUI.

    • /auction list <price> lists the item in your main hand.

    • /auction buy <id> purchases an item.

    • /auction cancel <id> cancels your own listing.

    • Supports arbitrary item metadata and persists listings in auctions.yml.

  • Selling

    • /sell sells the entire item stack in your main hand.

    • /sell <amount> sells a specific amount.

    • /sell all sells the full stack.

    • Prices are configurable in config.yml under sell-prices.

  • Admin money command

    • /addmoney <user> <amount>

    • Restricted to the h4xrysmp.admin permission, defaulting to server operators.

    • Updates the player’s scoreboard balance immediately.

The new plugin data files will be created automatically:

  • auctions.yml

  • Existing balances.yml remains the economy storage.

henry mcintyre

also can you add a command called /sfmode that puts people in staff mode that puts them in gamemode spectator for people with rank helper and higher

Kodari AI
KodariSep 2 at 1:03 am 1
  1. Add /sfmode with helper/owner permission checks.

  2. Toggle staff mode by switching between the player’s previous gamemode and spectator.

  3. Register the command and preserve staff-mode state across reload-safe runtime usage.

Added /sfmode:

  • Helpers and Owners can use it.

  • Toggles the player into spectator mode.

  • Toggling it again restores their previous gamemode.

  • Restores active staff members’ gamemodes when the plugin disables.

  • Registered in plugin.yml.

henry mcintyre

can you add a /pay command please that takes money from the payees bal and gives it to the reciver

Kodari AI
KodariSep 2 at 11:22 am 1

Added /pay <player> <amount>.

  • Transfers money from the payer’s balance to the recipient.

  • Requires both players to be online.

  • Prevents paying yourself.

  • Validates positive whole-number amounts.

  • Prevents payments when the payer lacks sufficient funds.

  • Updates both players’ scoreboard balances immediately.

  • Registered in plugin.yml.

henry mcintyre

can you add a shortcut for it eg: /pay itzh4xry 1m

Kodari AI
KodariSep 2 at 11:22 am 1
  1. Extend /pay amount parsing to support k, m, and b suffixes.

  2. Keep whole-number validation, overflow protection, and existing balance transfer behavior.

/pay now supports shorthand amounts:

  • /pay itzh4xry 1m → 1,000,000

  • /pay itzh4xry 500k → 500,000

  • /pay itzh4xry 2b → 2,000,000,000

  • Regular amounts like /pay itzh4xry 1000 still work.

It rejects invalid, fractional, negative, and overflowed amounts.

henry mcintyre

in the shop can you add more items and replace the netherite items for diamond items also can you make /sell go to orders and can you make a /settings where you can turn on and off public chat tpa requests and private messsages with another part for randomizing coords wich also randomize block rotations

Kodari AI
KodariSep 2 at 11:28 am 3
  1. Update the shop with more items and replace Netherite entries with Diamond equivalents.

  2. Route /sell into the existing order system instead of direct configured-price payouts.

  3. Add /settings for public chat, TPA requests, private messages, and randomized coordinates with block rotations.

  1. Add /settings with per-player toggles and randomized-coordinate/block-rotation preferences, integrating with existing chat, TPA, and private-message handling where available.

Added:

  • Shop updates

    • Replaced Netherite Sword/Chestplate with Diamond equipment.

    • Added Diamond tools, armor, Ender Pearls, Ender Chests, Golden Apples, extra foods, wool colors, bricks, sandstone, lanterns, sea lanterns, and more.

    • Added matching sell prices to config.yml.

  • /sell now creates sell orders

    • /sell

    • /sell <amount>

    • /sell all

    • Items are removed from your hand and listed in the order system.

    • Players can use /orders list.

    • Buyers use /orders buy <id>.

    • Sellers can use /orders cancel <id> to reclaim their item.

  • /settings

    • Added a settings GUI with toggles for:

      • Public chat

      • TPA requests

      • Private messages

      • Randomized coordinates

      • Randomized block rotations

    • Settings persist in settings.yml.

The chat, TPA, private-message, coordinate-randomization, and block-rotation systems do not currently exist elsewhere in the plugin, so their settings are saved and displayed but do not yet change gameplay behavior.

henry mcintyre

also can you add a part where players can see other players balances above their heads and in settings where you can turn it on or off

Kodari AI
KodariSep 2 at 11:29 am 2
  1. Add a per-player balance-above-head setting to the existing settings system.

  2. Display balances through player name tags and refresh them when balances or settings change.

  3. Register the setting in the GUI and persist it with the other player preferences.

Added the balance display setting.

  • Players now see other online players’ balances above their heads.

  • Added Balance Display to /settings.

  • Players can toggle it ON or OFF individually.

  • The display refreshes automatically with the existing scoreboard update cycle.

  • Balance values update when the scoreboard refreshes.

  • Existing settings are preserved, and the new setting defaults to ON.

henry mcintyre

can you add a gui to /sell so you can put multiple items inside at once and when you press esc or back it sells everything

Kodari AI
KodariSep 2 at 11:40 am 1
  1. Make /sell open a multi-slot sell menu while retaining the existing amount/all shortcuts.

  2. Let players place stacks in the menu and list every item when they click the sell/back button or close with Escape.

  3. Preserve item metadata, return any item that cannot be listed, and register the new inventory listener.

Added a GUI to /sell.

  • /sell now opens a 54-slot sell menu.

  • Players can place multiple item stacks inside at once.

  • Clicking Sell everything or closing the menu with Escape lists all items in the existing orders system.

  • Item metadata is preserved.

  • Items that cannot be listed are returned to the player or dropped if their inventory is full.

  • /sell <amount> and /sell all still work for the held item.

henry mcintyre

with the settings menu can you add the command /settings to open the settings menu and can you add a command /nv that gives players night vision for an infinite time

Kodari AI
KodariSep 2 at 11:43 am 1
  1. Register/fix /settings so it opens the existing settings menu.

  2. Add /nv to give players permanent night vision, with a permission-free player command and registration.

Added:

  • /settings opens the existing settings menu.

  • /nv gives players night vision for the maximum potion duration.

  • Registered /nv in plugin.yml.

  • /nv is available to all players and gives a confirmation message.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
41 2,597
src/main/java/com/h4xry/smp/H4xrySmp.java
package com.h4xry.smp;

import com.h4xry.smp.auction.AuctionListener;
import com.h4xry.smp.auction.AuctionManager;
import com.h4xry.smp.commands.AddMoneyCommand;
import com.h4xry.smp.commands.AuctionCommand;
import com.h4xry.smp.commands.BalanceCommand;
import com.h4xry.smp.commands.H4xryCommand;
import com.h4xry.smp.commands.OrdersCommand;
import com.h4xry.smp.commands.PayCommand;
import com.h4xry.smp.commands.SellCommand;
import com.h4xry.smp.commands.SellListener;
import com.h4xry.smp.commands.ShopCommand;
import com.h4xry.smp.commands.StaffModeCommand;
import com.h4xry.smp.commands.SettingsCommand;
import com.h4xry.smp.commands.NightVisionCommand;
import com.h4xry.smp.economy.EconomyManager;
import com.h4xry.smp.orders.OrderManager;
import com.h4xry.smp.roles.RoleManager;
import com.h4xry.smp.scoreboard.ScoreboardService;
import com.h4xry.smp.shop.ShopListener;
import com.h4xry.smp.settings.SettingsListener;
import com.h4xry.smp.settings.SettingsManager;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

public final class H4xrySmp extends JavaPlugin {
    private EconomyManager economyManager;
    private RoleManager roleManager;
    private OrderManager orderManager;
    private AuctionManager auctionManager;
    private ScoreboardService scoreboardService;
    private StaffModeCommand staffModeCommand;
    private SettingsManager settingsManager;

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

        economyManager = new EconomyManager(this);
        roleManager = new RoleManager(this);
        orderManager = new OrderManager(this, economyManager);
        auctionManager = new AuctionManager(this, economyManager);
        settingsManager = new SettingsManager(this);
        scoreboardService = new ScoreboardService(this, economyManager, roleManager, settingsManager);
        scoreboardService.start();

        Bukkit.getPluginManager().registerEvents(scoreboardService, this);
        Bukkit.getPluginManager().registerEvents(new ShopListener(this, economyManager), this);
        Bukkit.getPluginManager().registerEvents(new AuctionListener(this, auctionManager), this);
        Bukkit.getPluginManager().registerEvents(new SettingsListener(this), this);
        Bukkit.getPluginManager().registerEvents(new SellListener(this, economyManager, orderManager), this);

        getCommand("h4xrysmp").setExecutor(new H4xryCommand(this));
        getCommand("balance").setExecutor(new BalanceCommand(this, economyManager));
        getCommand("shop").setExecutor(new ShopCommand(this));
        getCommand("orders").setExecutor(new OrdersCommand(this, orderManager));
        getCommand("auction").setExecutor(new AuctionCommand(this, auctionManager));
        getCommand("sell").setExecutor(new SellCommand(this, economyManager, orderManager));
        getCommand("addmoney").setExecutor(new AddMoneyCommand(this));
        getCommand("pay").setExecutor(new PayCommand(this));
        staffModeCommand = new StaffModeCommand(this);
        getCommand("sfmode").setExecutor(staffModeCommand);
        getCommand("settings").setExecutor(new SettingsCommand(this));
        getCommand("nv").setExecutor(new NightVisionCommand());
    }

    @Override
    public void onDisable() {
        if (staffModeCommand != null) {
            staffModeCommand.restoreAll();
        }
        if (scoreboardService != null) {
            scoreboardService.stop();
        }
        if (economyManager != null) {
            economyManager.save();
        }
        if (orderManager != null) {
            orderManager.save();
        }
        if (auctionManager != null) {
            auctionManager.save();
        }
        if (settingsManager != null) {
            settingsManager.save();
        }
    }

    public EconomyManager getEconomyManager() {
        return economyManager;
    }

    public RoleManager getRoleManager() {
        return roleManager;
    }

    public OrderManager getOrderManager() {
        return orderManager;
    }

    public AuctionManager getAuctionManager() {
        return auctionManager;
    }

    public ScoreboardService getScoreboardService() {
        return scoreboardService;
    }

    public SettingsManager getSettingsManager() {
        return settingsManager;
    }
}