NexusShop
概览
NexusShop 是一个动态服务器商店,其价格机制响应你的经济系统而非使用固定价格。每个物品都有基础买入价和卖出价,以及可配置的最高与最低价格上限;每笔交易都会根据 dynamic-shift-rate(动态偏移率)对单价产生影响,因此被大量刷取的物品会贬值,而稀有物品则能保持价值。价格始终维持在你为各物品设定的下限/上限范围内。
玩家可以通过分类 GUI 浏览并从物品菜单中购买,也可以使用 /sell hand 和 /sell all 命令随时随地快速出售物品。经济系统通过 Vault 处理,因此兼容任何支持 Vault 的经济插件。它适合希望实现随时间自我平衡经济系统的生存、空岛和监狱类服务器。
特性
- 动态定价引擎 — 买卖价格随交易量变化(基于
settings.dynamic-shift-rate)。
- 单品价格上限 —
min-buy-price / max-buy-price / min-sell-price / max-sell-price 确保价格合理。
- 分类 GUI 浏览器 — 物品按可配置的分类进行分组,并配有图标和槽位。
- 快速出售命令 — 支持
/sell hand、/sell all,以及专用的 /sellhand 和 /sellall 命令。
- Vault 经济集成 — 兼容任何支持 Vault 的经济提供商。
- 游戏内创建物品 — 使用
/shop create <material> <buy> <sell> 即可添加物品,无需编辑配置文件。
- MiniMessage 显示名称 — 支持用于分类和物品的 MiniMessage 格式显示名称。
- 预置目录 — 包含农业、采矿、怪物掉落物和建筑方块分类及起始物品。
- 实时重载 — 执行
/shop reload 即可重新读取配置,无需重启服务器。
命令
| 命令 |
描述 |
权限节点 |
/shop (别名: /store, /buy) |
打开商店分类 GUI |
shop.use |
/shop help |
显示命令帮助列表 |
shop.use |
/shop create <material> <buyPrice> <sellPrice> |
向商店添加物品 |
shop.admin |
/shop reload |
重载配置文件 |
shop.admin |
/sell [hand|all] |
出售手中物品或所有匹配物品 |
shop.use |
/sellhand |
出售主手物品 |
shop.use |
/sellall |
出售背包中所有可出售物品 |
shop.use |
权限
| 节点 |
默认值 |
描述 |
shop.use |
true |
使用商店 GUI 和出售命令 |
shop.admin |
op |
拥有商店配置和物品创建的完全管理权限 |
配置
config.yml(节选):
settings:
# 每单位交易的物价偏移量 (0.0005 = 每单位 0.05%)
dynamic-shift-rate: 0.0005
menu-title: "<dark_gray>ToprakSMP Server Shop</dark_gray>"
categories:
mining:
display-name: "<aqua><bold>Mining & Minerals</bold></aqua>"
icon: "DIAMOND_PICKAXE"
description: "Precious ores, ingots, and gemstones."
slot: 12
items:
diamond:
material: "DIAMOND"
category: "mining"
display-name: "<aqua><bold>Diamond</bold></aqua>"
buy-price: 200.00
sell-price: 100.00
min-buy-price: 100.00
max-buy-price: 500.00
min-sell-price: 50.00
max-sell-price: 300.00
预置分类包括:farming、mining、mob_drops、blocks。每个物品均支持 material、category、display-name、buy-price、sell-price 以及四个价格边界字段。
兼容性
- 服务端软件: Paper 1.21.11 (api-version
1.21)
- Java 版本: 21
- 软依赖: Vault(实际上用于经济交易;声明为 softdepend)
支持
- GitHub:
- Discord: 购买后提供,用于设置协助和错误报告
- 问题反馈和功能请求请通过 GitHub Issue Tracker 提交。
NexusShop
Overview
NexusShop is a server shop that reacts to your economy instead of using flat prices. Each item has a base buy and sell price plus configurable minimum and maximum bounds; every transaction nudges the price by dynamic-shift-rate per unit, so heavily farmed items lose value and rare items hold it. Prices always stay inside the per-item floor/ceiling you define.
Players browse through a category GUI and buy from item menus, or sell fast from anywhere with /sell hand and /sell all. Economy is handled through Vault, so it works with any Vault-compatible economy plugin. It fits survival, skyblock and prison servers that want an economy that self-balances over time.
Features
- Dynamic pricing engine — buy/sell prices shift with transaction volume (
settings.dynamic-shift-rate).
- Per-item price bounds —
min-buy-price / max-buy-price / min-sell-price / max-sell-price keep prices sane.
- Category GUI browser — items grouped into configurable categories with icons and slots.
- Quick-sell commands —
/sell hand, /sell all, plus dedicated /sellhand and /sellall.
- Vault economy integration — works with any Vault-compatible economy provider.
- In-game item creation —
/shop create <material> <buy> <sell> adds items without editing files.
- MiniMessage display names for categories and items.
- Pre-built catalogue — Farming, Mining, Mob Drops and Building Blocks categories with starter items.
- Live reload —
/shop reload re-reads the configuration with no restart.
Commands
| Command |
Description |
Permission |
/shop (aliases: /store, /buy) |
Open the shop category GUI |
shop.use |
/shop help |
Show the command help list |
shop.use |
/shop create <material> <buyPrice> <sellPrice> |
Add an item to the shop |
shop.admin |
/shop reload |
Reload configuration files |
shop.admin |
/sell [hand|all] |
Sell the held item or all matching items |
shop.use |
/sellhand |
Sell the item in your main hand |
shop.use |
/sellall |
Sell all sellable items in your inventory |
shop.use |
Permissions
| Node |
Default |
Description |
shop.use |
true |
Use the shop GUI and selling commands |
shop.admin |
op |
Full administrative access to shop configuration and item creation |
Configuration
config.yml (excerpt):
settings:
# Price shift per transaction unit (0.0005 = 0.05% per unit)
dynamic-shift-rate: 0.0005
menu-title: "<dark_gray>ToprakSMP Server Shop</dark_gray>"
categories:
mining:
display-name: "<aqua><bold>Mining & Minerals</bold></aqua>"
icon: "DIAMOND_PICKAXE"
description: "Precious ores, ingots, and gemstones."
slot: 12
items:
diamond:
material: "DIAMOND"
category: "mining"
display-name: "<aqua><bold>Diamond</bold></aqua>"
buy-price: 200.00
sell-price: 100.00
min-buy-price: 100.00
max-buy-price: 500.00
min-sell-price: 50.00
max-sell-price: 300.00
Pre-built categories: farming, mining, mob_drops, blocks. Each item supports material, category, display-name, buy-price, sell-price and the four price-bound fields.
Compatibility
- Server software: Paper 1.21.11 (api-version
1.21)
- Java: 21
- Soft dependencies: Vault (required for economy transactions in practice; declared as softdepend)
Support
- GitHub:
- Discord: provided with your purchase for setup help and bug reports
- Issues and feature requests are handled through the GitHub issue tracker.
评论 0
登录后参与评分
还没有评论,来抢沙发吧