📈 MarketPulse — 动态股票市场、实时商店与 SellGUI 引擎
将服务器的静态商店转变为充满活力的、由玩家驱动的金融生态系统,拥有交互式 /sellgui、/worth、排名出售加成、熔断机制以及持久化的 SQLite 投资组合。
适用于 Bukkit、Spigot、Paper、Purpur 和 Folia (1.16.5 – 26.3) 的通用零 NMS 单 JAR 包。
与其让无限刷怪和作物农场通过恶性通胀摧毁服务器经济体系的静态物品商店不同,MarketPulse 运行由实时供需关系驱动的动态 买入与卖出价格曲线 —— 并由 市场崩盘熔断机制、附魔/自定义物品出售保护、排名出售倍率 以及 可选的买卖交易税 提供保护。
🌟 来自开发者的更多内容
想体验一个可以现场感受 MarketPulse 的旗舰多人服务器吗?加入 HYDRAZ Network:
| 🌐 服务器 IP |
🎮 Discord |
play.hydraz.online |
🚀 核心支柱与 v1.4.0 新增内容
🧺 1. 交互式出售投递箱 GUI (/sellgui) (v1.4.0 新增!)
- 拖拽、投放与实时收益预览: 玩家通过
/sellgui、/market sellgui 或 /shop(中心漏斗按钮)打开一个 54 格的箱子,仅放入想要出售的物品,并在点击 CONFIRM SELL 之前查看包含排名加成和税费在内的确切实时动态收益。
- 零重复购买与零丢失安全机制: 原子结算防护防止重复出售;关闭 GUI 或按下 Escape 键会自动将所有无法出售或未结算的物品安全返还给玩家(溢出部分则掉落在其脚下)。
💎 2. 排名出售倍率、可选销售税与 /worth (v1.4.0 新增!)
- 利用 LuckPerms 通过捐赠者排名变现: 授予
marketpulse.multiplier.<percent> 权限(例如 marketpulse.multiplier.125 = 1.25x,.150 = 1.50x,.200 = 2.00x),以在 /sellgui、/sellall、/sellhand 和市场/商店 GUI 中自动获得出售加成。
- 即时估值 (
/worth / /price): 检查手中物品 (/worth)、目录中任意物品 (/worth diamond) 或整个背包 (/worth all) 的实时买入/卖出价值、24小时趋势、库存以及当前倍率。
- 可配置的抗通胀税: 可选的
economy.buy-tax-percent 和 economy.sell-tax-percent(需具备 marketpulse.tax.bypass 权限)。
🛡️ 3. 持久化 SQLite 投资组合、自定义物品保护与同步关机刷新
- 重启永不丢失投资组合数据: 玩家交易分析数据(
total_bought、total_sold、total_spent、total_earned、net_profit)现在持久化存储在 SQLite WAL 存储中,并在 onDisable() 期间与市场当前价格一起进行同步刷新。
- 自定义/附魔物品保护 (
protect-custom-items: true): 在执行 /sellall、/sellhand 和 /sellgui 时,自动跳过附魔、重命名、带有 Lore 文本或具有 CustomModelData 的物品,防止玩家意外清算贵重装备。
- 溢出掉落安全机制: 当背包已满时购买,溢出的堆叠物品会安全地掉落在你的脚下,而不是直接消失。
⚡ 4. 通用 5 加载器架构与 1.16.5 – 26.3 支持
- 轻量级 Java 17 单 JAR (
api-version: '1.16'): 零 NMS、零 InventoryView、零 Adventure/Bungee 依赖 —— 可在 Bukkit、Spigot、Paper、Purpur 和 Folia (1.16.5 – 26.3) 上干净运行。
- 100% 反射式 Folia 多线程支持: 数据库 I/O、价格衰减、历史快照、Discord Webhook、实时动作栏Ticker (
/market ticker)、地图图表 (/market map <item>) 以及跨玩家限价单均在 Folia 的 AsyncScheduler、GlobalRegionScheduler 和 EntityScheduler 上干净运行。
📊 功能对比矩阵
| 功能 |
静态商店 / SellGUI |
动态商店插件 |
📈 MarketPulse v1.4.0 |
| 动态供需曲线 |
❌ 仅静态 |
⚠️ 仅限插件 |
✅ 内置波动引擎 |
交互式投递箱 /sellgui + 实时预览 |
⚠️ 静态价格 |
❌ 无 |
✅ 实时动态曲线预览 |
| 排名出售加成与可选销售税 |
⚠️ 基础功能 |
❌ 罕见 |
✅ 权限倍率 + 税收 |
| 自定义/附魔物品保护 |
⚠️ 因情况而异 |
❌ 通常缺失 |
✅ 内置默认防护 |
| 持久化 SQLite 投资组合与同步刷新 |
❌ 无 |
❌ 仅限内存 |
✅ SQLite WAL + 同步刷新 |
通用 1.16.5–26.3 + Bukkit/Spigot/Folia |
⚠️ 锁定 Paper |
❌ 在 Folia 上崩溃 |
✅ 100% 反射式 5 加载器 JAR |
128×128 地图图表、限价单与 /worth |
❌ 无 |
❌ 无 |
✅ 开箱即用全部包含 |
🧾 命令、权限与占位符
玩家命令 (marketpulse.use)
| 命令 |
别名 |
描述 |
/sellgui |
/sellbox, /sgui |
打开交互式拖拽式卖出箱,并实时预览收益 |
/worth [hand|all|<item>] |
/price, /value |
显示实时买入/卖出价值、24小时趋势、库存及排名加成 |
/shop [category|search <q>] |
/shopgui, /store |
打开分类商店 GUI(包含搜索、卖出箱和一键卖出所有) |
/sellall |
/sell, /autosell |
批量出售背包中所有非受保护的可用交易物品 |
/sellhand |
/sell-hand |
出售主手持有的所有匹配的非受保护物品 |
/market |
/mpulse |
打开实时市场仪表盘 GUI |
/market ticker |
— |
切换操作栏实时价格滚动条的开启/关闭状态 |
/market map <item> |
— |
提供游戏内 128×128 的实时价格图表地图 |
/market portfolio |
— |
打开持久化的交易盈亏分析面板 |
/market history <item> / top |
— |
显示 24 小时价格走势图或涨幅/跌幅前五名 |
/market order <buy|sell> <item> <price> <amt> |
— |
创建一个兼容 Folia 的自动限价订单 |
管理员与权限
| 权限节点 |
默认值 |
用途 |
marketpulse.use |
true |
允许使用 /market、/shop、/sellgui、/worth、/sellall、/sellhand |
marketpulse.multiplier.<pct> |
none |
排名卖出收益加成(例如 marketpulse.multiplier.150 = 1.50x) |
marketpulse.tax.bypass |
op |
免除玩家配置的买卖交易税 |
marketpulse.admin |
op |
允许使用 /market admin 和 /shop admin 命令 |
PlaceholderAPI 占位符 (%marketpulse_*%)
%marketpulse_price_<item>% · %marketpulse_sell_price_<item>% · %marketpulse_change_<item>% · %marketpulse_stock_<item>%
%marketpulse_sell_multiplier% · %marketpulse_portfolio_profit% · %marketpulse_portfolio_earned% · %marketpulse_portfolio_spent%
%marketpulse_top_gainer% · %marketpulse_top_loser% · %marketpulse_active_event% · %marketpulse_item_count% · %marketpulse_platform_engine%
⚙️ 点击查看默认 config.yml(更新时自动迁移)
decay-interval-ticks: 6000
decay-rate: 0.01
snapshot-interval-ticks: 6000
default-volatility: 0.02
gui-title: "&8MarketPulse"
economy:
protect-custom-items: true
buy-tax-percent: 0.0
sell-tax-percent: 0.0
max-sell-multiplier: 5.0
hooks:
vault: true
placeholderapi: true
📈 MarketPulse — Dynamic Stock Market, Live Shop & SellGUI Engine
Turn your server's static shop into a living, player-driven financial ecosystem with Interactive /sellgui, /worth, Rank Sell Boosters, Circuit Breakers & Persistent SQLite Portfolios.
Universal Zero-NMS Single JAR for Bukkit, Spigot, Paper, Purpur & Folia (1.16.5 – 26.3).
Instead of static item shops where infinite mob and crop farms destroy server economies with hyper-inflation, MarketPulse runs dynamic Buy & Sell price curves driven by real-time supply and demand — protected by Market Crash Circuit Breakers, Enchanted/Custom Item Sell Protection, Rank Sell Multipliers, and optional Buy/Sell Sales Tax.
🌟 More from the Developer
Looking for a flagship multiplayer server to experience MarketPulse live? Join HYDRAZ Network:
| 🌐 Server IP |
🎮 Discord |
play.hydraz.online |
🚀 Key Pillars & What's New in v1.4.0
🧺 1. Interactive Sell Drop-Box GUI (/sellgui) (New in v1.4.0!)
- Drag, Drop & Live Payout Preview: Players open a 54-slot chest via
/sellgui, /market sellgui, or /shop (center Hopper button), drop in only the items they want to sell, and see exact live dynamic payout (including rank boosters & taxes) before clicking CONFIRM SELL.
- Zero-Dupe & Zero-Loss Safety: Atomic settlement guards prevent double-selling; closing the GUI or pressing Escape automatically returns every unsellable or unsettled item safely to the player (or drops overflow at their feet).
💎 2. Rank Sell Multipliers, Optional Sales Tax & /worth (New in v1.4.0!)
- Monetize Donor Ranks with LuckPerms: Grant
marketpulse.multiplier.<percent> (e.g., marketpulse.multiplier.125 = 1.25x, .150 = 1.50x, .200 = 2.00x) for automatic sell boosters across /sellgui, /sellall, /sellhand, and Market/Shop GUIs.
- Instant Valuation (
/worth / /price): Check live buy/sell value, 24h trend, stock, and active multiplier for your held item (/worth), any catalog item (/worth diamond), or your entire inventory (/worth all).
- Configurable Anti-Inflation Tax: Optional
economy.buy-tax-percent and economy.sell-tax-percent (with marketpulse.tax.bypass permission).
🛡️ 3. Persistent SQLite Portfolios, Custom Item Protection & Sync Shutdown Flush
- Never Lose Portfolio Stats on Restart: Player trading analytics (
total_bought, total_sold, total_spent, total_earned, net_profit) now persist in SQLite WAL storage and flush synchronously during onDisable() alongside current market prices.
- Custom/Enchanted Item Protection (
protect-custom-items: true): Automatically skips enchanted, renamed, lored, or CustomModelData items during /sellall, /sellhand, and /sellgui so players never accidentally liquidate valuable gear.
- Overflow Drop Safety: Buying when your inventory is full safely drops overflow stacks at your feet instead of voiding paid items.
⚡ 4. Universal 5-Loader & 1.16.5 – 26.3 Architecture
- Single Lightweight Java 17 JAR (
api-version: '1.16'): Zero NMS, zero InventoryView, zero Adventure/Bungee linkage — runs cleanly on Bukkit, Spigot, Paper, Purpur, and Folia (1.16.5 – 26.3).
- 100% Reflective Folia Multithreading: Database I/O, price decay, history snapshots, Discord webhooks, live Action-Bar ticker (
/market ticker), map charts (/market map <item>), and cross-player limit orders run cleanly on Folia's AsyncScheduler, GlobalRegionScheduler, and EntityScheduler.
📊 Feature Comparison Matrix
| Feature |
Static Shops / SellGUI |
Dynamic Shop Addons |
📈 MarketPulse v1.4.0 |
| Dynamic Supply & Demand Curves |
❌ Static Only |
⚠️ Addon-Only |
✅ Built-In Volatility Engine |
Interactive Drop-Box /sellgui + Live Preview |
⚠️ Static Prices |
❌ No |
✅ Live Dynamic Curve Preview |
| Rank Sell Boosters & Optional Sales Tax |
⚠️ Basic |
❌ Rare |
✅ Permission Multipliers + Tax |
| Custom/Enchanted Item Protection |
⚠️ Varies |
❌ Often Missing |
✅ Built-In Default Guard |
| Persistent SQLite Portfolios & Sync Flush |
❌ No |
❌ In-Memory Only |
✅ SQLite WAL + Sync Flush |
Universal 1.16.5–26.3 + Bukkit/Spigot/Folia |
⚠️ Paper-Locked |
❌ Breaks on Folia |
✅ 100% Reflective 5-Loader JAR |
128×128 Map Charts, Limit Orders & /worth |
❌ No |
❌ No |
✅ All Included Out-of-the-Box |
🧾 Commands, Permissions & Placeholders
Player Commands (marketpulse.use)
| Command |
Aliases |
Description |
/sellgui |
/sellbox, /sgui |
Opens the interactive drag-and-drop Sell Box with live payout preview |
/worth [hand|all|<item>] |
/price, /value |
Shows live buy/sell value, 24h trend, stock & rank booster |
/shop [category|search <q>] |
/shopgui, /store |
Opens Category Shop GUI (includes Search, Sell Box & Quick Sell All) |
/sellall |
/sell, /autosell |
Bulk sells all non-protected tradeable items from inventory |
/sellhand |
/sell-hand |
Sells all matching non-protected items held in main hand |
/market |
/mpulse |
Opens the live Market Dashboard GUI |
/market ticker |
— |
Toggles the live Action-Bar price ticker ON/OFF |
/market map <item> |
— |
Gives an in-game 128×128 live price chart map |
/market portfolio |
— |
Opens persistent trading profit/loss analytics |
/market history <item> / top |
— |
Displays 24h price graph or Top 5 Gainers & Losers |
/market order <buy|sell> <item> <price> <amt> |
— |
Creates a Folia-safe automated limit order |
Admin & Rank Permissions
| Permission |
Default |
Purpose |
marketpulse.use |
true |
Access /market, /shop, /sellgui, /worth, /sellall, /sellhand |
marketpulse.multiplier.<pct> |
none |
Rank sell payout booster (e.g. marketpulse.multiplier.150 = 1.50x) |
marketpulse.tax.bypass |
op |
Exempts player from configured buy/sell transaction tax |
marketpulse.admin |
op |
Access /market admin & /shop admin commands |
PlaceholderAPI Placeholders (%marketpulse_*%)
%marketpulse_price_<item>% · %marketpulse_sell_price_<item>% · %marketpulse_change_<item>% · %marketpulse_stock_<item>%
%marketpulse_sell_multiplier% · %marketpulse_portfolio_profit% · %marketpulse_portfolio_earned% · %marketpulse_portfolio_spent%
%marketpulse_top_gainer% · %marketpulse_top_loser% · %marketpulse_active_event% · %marketpulse_item_count% · %marketpulse_platform_engine%
⚙️ Click to View Default config.yml (Auto-Migrated on Update)
decay-interval-ticks: 6000
decay-rate: 0.01
snapshot-interval-ticks: 6000
default-volatility: 0.02
gui-title: "&8MarketPulse"
economy:
protect-custom-items: true
buy-tax-percent: 0.0
sell-tax-percent: 0.0
max-sell-multiplier: 5.0
hooks:
vault: true
placeholderapi: true
评论 0
登录后参与评分
还没有评论,来抢沙发吧