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

GlassEconomy

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

Overview

GlassEconomy is an adaptive pricing advisor for shop-based economies. It calculates buy and sell prices from base prices, item elasticity, stock scarcity, demand and wealth pressure, with a cap on how far a price can move per cycle. In this release it is a quote and simulation tool: it detects supported shop plugins but does not write prices into them. Dry-run is on by default.

Requirements

  • Paper 26.3 (tested), Java 25.
  • Optional: Vault, PlaceholderAPI, Shopkeepers, EconomyShopGUI, EconomyShopGUI-Premium, ExcellentShop, zShop, BossShopPro, DeluxeMenus.

Installation

  1. Put the JAR in plugins/ and start.
  2. Run /glasseconomy status to see the engine, economy and detected shop plugins.
  3. Add your items under items: in config.yml, then /glasseconomy reload.

Commands

Aliases: /ge, /geconomy, /gleco.

Command Permission What it does
/glasseconomy status glasseconomy.admin Engine, economy and adapter status.
/glasseconomy reload glasseconomy.admin Reload config and adapters.
/glasseconomy quote <material> [stockRatio] [demandRatio] glasseconomy.quote Adjusted buy and sell prices.
/glasseconomy simulate <material> <stockRatio> <demandRatio> <sinkPressure> glasseconomy.admin Run a pricing scenario.
/glasseconomy brands glasseconomy.admin GlassMC and GlassHosting attribution.
/glasseconomypremium preset|discord ... glasseconomy.premium Paid edition. See Editions.

Permissions

Node Default Grants
glasseconomy.admin op Full administration.
glasseconomy.quote op Price quotes.
glasseconomy.premium op (not declared in plugin.yml) Paid edition commands.

Configuration (config.yml)

Key Default Effect
branding.enabled true Show branding.
branding.footer Powered by GlassMC and GlassHosting Footer text.
branding.show-in-admin-status true Footer in /glasseconomy status.
pricing.mode adaptive Pricing mode.
pricing.dry-run true Recommend only.
pricing.max-change-per-cycle-percent 7.5 Largest move per cycle.
pricing.min-price-multiplier 0.35 Floor as a multiple of base.
pricing.max-price-multiplier 4.0 Ceiling as a multiple of base.
pricing.default-elasticity 0.22 Elasticity for items without their own.
pricing.global-inflation-target 1.0 Inflation target.
pricing.stock-scarcity-weight 0.45 Weight of scarcity.
pricing.demand-weight 0.35 Weight of demand.
pricing.sink-pressure-weight 0.20 Weight of wealth pressure.
economy.provider Vault Economy source.
economy.sample-online-balances true Sample online balances for wealth pressure.
economy.balance-sample-limit 50 Players sampled.
economy.high-wealth-percentile 0.90 Wealth percentile threshold.
items.<MATERIAL>.base-buy / base-sell / elasticity DIAMOND 125/80/0.30, EMERALD 90/55/0.25, NETHERITE_INGOT 3500/2400/0.12 Per-item base prices and elasticity.
integrations.<Plugin>.enabled true Per shop plugin.
metrics.enabled true bStats opt-out.
premium.discord.* off Paid alerts.

Using it efficiently

  • Add every traded item with realistic base prices first; quotes are only as good as the bases.
  • Use simulate with a few stock and demand ratios to see the price band before you set shop prices.
  • Use the presets as starting points: small-smp (slow, max 3% per cycle, 0.6x to 2x) or large-network (10% per cycle, 0.25x to 6x).
  • Apply recommended prices by hand in GlassShops or your shop plugin.

Integration with other Glass plugins

Quote prices for GlassShops chest shops and /blockshop catalogs. Not yet automatic.

Troubleshooting

Problem Fix
A shop plugin shows "detect only" or "quote only" Expected; adapters do not write prices in this release.
Quote for an unknown item Add it under items: and reload.

Changelog

  • 1.0.0-alpha.2 (free edition alpha, from 2026-10-13): Nexo pack sync for shard models, Glass Shard menu icons when models are on, bug batch and full test fixes.