Glass plugin suite wiki by GlassMC and GlassHosting. Licensing and downloads are coming soon through GlassBilling.

GlassShards

Version 1.0.0-alpha.8 • Tested on Paper 26.3 • Java 25 • Support: support@glasshosting.com

Overview

GlassShards is a ledger-backed server currency. One currency, Glass Shards, lives in three places:

  • Checking (spendable, supports 0.01 shard change through Vault).
  • Savings (whole shards, earns treasury-funded simple interest).
  • Physical shard notes: seven denominations of custom items, each with a unique single-use serial, tradable like cash.

Players also get an owner-bound wallet or purse with its own cash pocket, a free material studio to skin it with blocks and wool, and an optional shoulder display for the purse. Staff get audited minting, a bank treasury, recovery tools and optional Vault integration. No external database or GlassAPI is required.

Requirements

  • Paper 26.3 (tested), Java 25.
  • Nothing required. Optional: Vault (economy bridge), PlaceholderAPI (%glassshards_*%), Nexo (pack sync).
  • Java clients need the GlassShards resource pack to see shard, wallet and purse textures.

Installation

  1. Stop the server at a maintenance window. Back up plugins/GlassShards/ and player data together.
  2. Put the GlassShards JAR in plugins/ and start. It creates its config and a local H2 ledger.
  3. Join and run /shards.
  4. Fund test money: /shards admin give YourName 10000.
  5. Fund the bank reserve: /shards admin treasury 100000 (an audited mint; it pays savings interest).
  6. Distribute the pack: merge the pack's assets/glassshards folder into your server pack (or your Nexo pack), rebuild and send it to players. The plugin extracts a version-suffixed pack zip into its data folder on first start of each release.

Denominations

Denomination Value
Clear 1
Copper 5
Silver 10
Gold 50
Emerald 100
Sapphire 500
Obsidian 1,000

Notes are unstackable AMETHYST_SHARD items. The ledger, not the name or lore, decides value; a copied serial redeems only once.

Commands

Aliases: /glassshards, /gshards. No /money, /bank or /pay aliases are claimed, so nothing collides with your other plugins.

Players

Command Permission What it does
/shards glassshards.use Open the banking menu.
/shards balance (or bal) glassshards.use Checking and savings totals.
/shards pay <name-or-UUID> <amount> glassshards.pay Send checking funds.
/shards withdraw <denomination> [count] glassshards.cash Turn checking into physical notes.
/shards deposit glassshards.cash Deposit the note in your main hand.
/shards deposit all glassshards.cash Deposit notes in your 36 storage slots (not offhand).
/shards savings deposit <amount> glassshards.use Checking to savings.
/shards savings withdraw <amount> glassshards.use Unlocked savings to checking.
/shards history glassshards.use Last 10 ledger entries.
/shards statement glassshards.use Private statement.
/shards accessory glassshards.use Choose wallet or purse, finish (Classic, Obsidian, Ivory), shoulder display, and open the material studio.
/shards draw glassshards.use Put your accessory in your main hand (your held item is not overwritten).
/shards pocket (or wallet, purse) glassshards.use Open the accessory's cash storage.
/shards stash glassshards.cash Move the note in your hand into accessory storage.
/shards stash all glassshards.cash Move all storage-slot notes into accessory storage.
/shards convert <amount> confirm glassshards.use One-way 1:1 conversion from a legacy Vault economy (when enabled).
/shards loan glassshards.use Loan status; blocked while loans are disabled.
/shards help glassshards.use Command list.

Staff (glassshards.admin, console allowed)

Command What it does
/shards admin give <name-or-UUID> <amount> Audited mint to checking.
/shards admin take <name-or-UUID> <amount> Audited removal from checking.
/shards admin balance <name-or-UUID> Inspect checking.
/shards admin treasury <amount> Audited mint to the bank treasury.
/shards admin status Ledger, live Vault economy/permissions/chat providers, loan state, denominations.
/shards admin bankmember <player/UUID> add|remove <bank name> Manage a Vault named bank's members.
/shards admin pending Up to 50 interrupted withdrawals.
/shards admin resolve <batch-UUID> delivered|refund Resolve a withdrawal after checking the player's inventory.
/shards admin conversions Up to 50 unresolved conversions.
/shards admin resolveconversion <UUID> debited|not-debited confirmed Resolve after checking the old economy's records.
/glassshardspremium preset|discord|menu ... Paid edition. See Editions.

Permissions

Node Default Grants
glassshards.use true Banking menu, balances, savings, accessories.
glassshards.pay true Payments.
glassshards.cash true Physical withdrawals, deposits and stashing.
glassshards.admin op All /shards admin commands.
glassshards.premium op (not declared in plugin.yml) Paid edition commands.

Configuration (config.yml)

Key Default Effect
max-balance 1000000000000 Maximum account balance.
vault-economy false Register GlassShards as the main Vault economy. Refuses if another provider exists.
max-withdraw-count 36 Most notes in one withdrawal.
banking.savings-apr-bps 200 Savings interest in basis points (200 = 2% simple yearly). At most 30 offline days accrue; paid from the treasury.
banking.legacy-vault-conversion false Allow /shards convert from an old Vault economy.
banking.legacy-vault-provider '' Exact Economy#getName() of the old provider.
banking.loans.enabled false Loans engine (prototype; keep off until reviewed).
banking.loans.apr-bps 1000 Loan interest.
banking.loans.term-days 7 Loan term.
banking.loans.grace-days 3 Grace period.
banking.loans.max-principal 10000 Largest loan.
denominations.<id>.name / value / color / model see table above Name, value, color and item model per note. Keep a value-1 note and Obsidian highest. Restart after changes; issued notes keep their value.
metrics.enabled true bStats opt-out.
premium.discord.* off Paid Discord alerts: shard_payment, large_transfer.
premium.discord.large-transfer 100000 Payments at or above this send large_transfer.
premium.sync.enabled false Paid: share one ledger across servers through MariaDB/MySQL. Restart required.
premium.sync.jdbc-url jdbc:mariadb://127.0.0.1:3306/glassshards Shared database.
premium.sync.username glassshards Database user.
premium.sync.password-env GLASSSHARDS_DB_PASSWORD Environment variable read first.
premium.sync.password "" Fallback password.
branding.item-model auto Menu icon model.
branding.chat-prefix auto Paid uses "Shards »", free uses "GlassMC »", or set any text.
resource-pack.item-models auto Use custom models for notes and accessories. Set true only if clients load the pack.
resource-pack.nexo-sync auto Copy bundled models into plugins/Nexo/pack when Nexo is installed. off never.

accessory-skins.yml

Key Meaning
default-skin Skin used by an uncustomized accessory (classic).
materials.<MATERIAL>.category Catalog group (for example wool).
materials.<MATERIAL>.skin Skin id used for the models.
materials.<MATERIAL>.name Display name in the studio.
materials.<MATERIAL>.texture Namespaced texture (minecraft:block/oak_log, or glassshards:block/<name>).
materials.<MATERIAL>.uv Optional project for steady texel density.
materials.<MATERIAL>.tint Optional 0xRRGGBB multiplier.

After adding a material, rebuild the resource pack and reinstall it on clients.

PlaceholderAPI

Built in, survives /papi reload. Wrap in %. Numeric keys accept _formatted for comma grouping.

Placeholder Meaning
glassshards_balance, glassshards_checking Checking balance
glassshards_savings Savings
glassshards_pocket Wallet/purse pocket
glassshards_total Checking + savings + pocket
glassshards_debt Active loan debt
glassshards_account_exists true/false
glassshards_accessory Wallet or purse
glassshards_can_afford_<amount> Checking covers that amount (display only)
glassshards_currency Currency name
glassshards_treasury Bank reserve
glassshards_server_total All checking, savings and pockets
glassshards_denomination_<id> Configured value of a note

Wallets, purses and the material studio

  • Right-click the held accessory to open it. Closing restores the closed model.
  • Shoulder rest: carry the purse in your inventory and select another hotbar slot. With shoulder display on, the closed purse rests behind your left shoulder. It hides while held, while the cash menu is open, and while you are invisible or vanished. Crouching lowers it. It is cosmetic only and cleaned up on quit, world change and shutdown.
  • Throwing an accessory uses the normal vanilla throw and pickup; the shoulder copy reappears shortly after pickup.
  • The money is not in the item. One player has one pocket. Losing or giving away the accessory does not move its money; /shards draw gives you a new one. Other players cannot open yours.
  • Material studio: /shards accessory > Sample materials • free. Choose exterior, lining, clasp or strap, then click a supported block in your inventory. Nothing is consumed and there is no cost. Click the preview to see open and closed, then Apply or Cancel. The catalog includes all 16 wools, starter finishes and a starter set of blocks, logs, ores and bars.

Using it efficiently

  • Start with Vault off (vault-economy: false) if you already run CMI, EssentialsX or another economy. GlassShops still uses GlassShards through its own scoped adapter.
  • Make GlassShards your main economy only after a backed-up migration: stop, retire the old provider, set vault-economy: true, restart.
  • Migrating balances: keep the old economy, set banking.legacy-vault-conversion: true and its exact provider name, and let players run /shards convert <amount> confirm (1:1, whole units).
  • Fund the treasury before you advertise savings interest. If the treasury is empty, unpaid interest is not carried.
  • Cash is bearer money: lost notes are not refunded. Tell players to keep big balances in checking or savings.
  • Check before refunding: /shards admin resolve ... refund voids unspent notes from that batch, even ones already handed to someone else.
  • Backups: stop the server and back up all of plugins/GlassShards/ with player data. Do not copy one ledger onto two live servers (use paid premium.sync for networks).

Integration with other Glass plugins

  • GlassShops: chest shops and /blockshop trade in shards through a scoped Vault adapter with receipts.
  • GlassStocks: trades settle against checking with replay-safe receipts.
  • GlassVote: vote, daily and milestone rewards deposit whole shards to checking.
  • GlassRewards / menus: show %glassshards_balance_formatted%.
  • GlassNPC: MONEY quest rewards use Vault, so they pay shards when vault-economy: true.
  • Loads before DeluxeMenus so placeholders are ready.

Troubleshooting

Problem Fix
Notes show a missing texture Players need the resource pack; set resource-pack.item-models to match.
"Use Survival or Adventure to handle cash" Cash actions are blocked in Creative and Spectator.
Vault economy not registered Another provider exists; GlassShards will not override it.
A deposit is rejected A note had an invalid or already-spent serial; the whole deposit is refused safely.
Interest is lower than expected Treasury ran short; fund it with /shards admin treasury.
A withdrawal shows IN_FLIGHT Check the player's inventory and logs, then delivered or refund.

Changelog

  • 1.0.0-alpha.8: Purse hangs behind the left shoulder; paid license key; paid Discord alerts, presets, menu editor and network ledger; Nexo pack sync.
  • 1.0.0-alpha.7: Scoped Vault adapter and receipts for GlassShops.
  • 1.0.0-alpha.6: Cent-precise checking, Vault offline overloads, named banks.
  • 1.0.0-alpha.5: Built-in PlaceholderAPI expansion.
  • 1.0.0-alpha.4: External settlement API for GlassStocks.
  • 1.0.0-alpha.3: Free material studio for wallets and purses.