简单易用的宝石经济系统
/gemshop
GemEconomy – 快速概览
命令
命令 描述 用法
/gem 管理玩家宝石(查看、添加、移除、设置)。 /gem – 显示你的余额。
/gem give <player> <amount> – 给予宝石。
/gem take <player> <amount> – 扣除宝石。
/gem set <player> <amount> – 设置确切数量。
/shop 打开宝石商店 GUI 或管理商店条目(管理员)。
/shop – 为你打开商店。
/shop reload – 重新加载商店配置(管理员)。
/shop add <item> <price> – 添加新的商店物品(管理员)。
/shop remove <item> – 移除物品(管理员)。
提供玩家名称、子命令和物品 ID 的 Tab 补全功能。
权限
权限 允许操作
gemeconomy.use 使用 /gem 并打开商店 (/shop)。
gemeconomy.admin 所有管理员子命令(`/gem give
配置 (config.yml)
starting-gems – 新玩家获得的宝石数量。
max-gems – 可选的玩家宝石余额硬性上限。
shop-items – 商店条目列表:每个条目定义材质、数量、显示名称、描述和宝石价格。
messages – 所有面向用户的消息(前缀、错误信息、成功文本)均可配置。
主要特性
持久化宝石存储 – 宝石余额保存至扁平文件(或 SQLite),并在服务器启动时重新加载。
PlaceholderAPI 支持 – %gemeconomy_gems%(玩家的宝石数量)和 %gemeconomy_rank%(可选排名占位符)。
商店 GUI – 交互式库存界面,显示可用物品、价格,并处理购买逻辑(扣除宝石,给予物品)。
动态商店管理 – 管理员可以通过 /shop add / /shop remove 在不重启服务器的情况下编辑商店物品。
经济集成 – 其他插件可以通过提供的 GemManager API 查询或修改余额。
纹理 / 模型
使用标准的 Minecraft 物品纹理;无需自定义模型或资源包。
这就是你开始使用 GemEconomy 所需的一切——只需几条命令即可管理宝石、运行商店并与 PlaceholderAPI 集成!
Simple to use gem economy
/gemshop
GemEconomy – Quick Summary
Commands
Command Description Usage
/gem Manage player gems (view, add, remove, set). /gem – shows your balance.
/gem give <player> <amount> – give gems.
/gem take <player> <amount> – take gems.
/gem set <player> <amount> – set exact amount.
/shop Open the gem shop GUI or manage shop entries (admin).
/shop – opens the shop for you.
/shop reload – reloads shop configuration (admin).
/shop add <item> <price> – add a new shop item (admin).
/shop remove <item> – remove an item (admin).
Tab‑completion is provided for player names, sub‑commands and item IDs.
Permissions
Permission What it Allows
gemeconomy.use Use /gem and open the shop (/shop).
gemeconomy.admin All admin sub‑commands (`/gem give
Configuration (config.yml)
starting-gems – Amount of gems a new player receives.
max-gems – Optional hard cap for a player’s gem balance.
shop-items – List of shop entries: each entry defines the material, amount, display name, lore and gem price.
messages – All user‑facing messages (prefix, errors, success texts) are configurable.
Key Features
Persistent Gem Storage – Gem balances are saved to a flat file (or SQLite) and reloaded on server start.
PlaceholderAPI Support – %gemeconomy_gems% (player’s gem count) and %gemeconomy_rank% (optional rank placeholder).
Shop GUI – Interactive inventory that shows available items, prices, and handles purchase logic (deducts gems, gives the item).
Dynamic Shop Management – Admins can edit shop items without restarting the server via /shop add / /shop remove.
Economy Integration – Other plugins can query or modify balances through the provided GemManager API.
Textures / Models
Uses standard Minecraft item textures; no custom models or resource packs are required.
That’s everything you need to start using GemEconomy – manage gems, run a shop, and integrate with PlaceholderAPI in just a few commands!
评论 0
登录后参与评分
还没有评论,来抢沙发吧