Worthify
Worthify 是一个轻量级的 Paper 插件,可为物品分配可配置的价值,并允许玩家出售物品以获取游戏内货币。
功能
- 出售手中的物品或出售所有可出售的物品
- 可配置的物品价值(
prices.yml)
- 出售历史 GUI(
/sellhistory)
- 玩家间支付(
/pay)
- 可选的客户端物品工具提示价值行(需要 ProtocolLib)
- 可选的 Vault 集成(如果可用,使用服务器的经济系统)
- 若未安装 Vault,则使用内置的经济系统作为后备方案(
balances.yml)
- 价值倍率系统(全局 + 分类 + 按材质覆盖)
- 倍率 GUI(
/multiplier)用于查看/编辑分类倍率(仅在启用时有效)
- SellTools:
- SellWand:通过右键/左键出售容器内容物(可配置)
- SellAxe:出售容器内容物并可选择销毁容器(可配置)
- 离线过期时间(绝对时间戳)+ 防复制注册表
- 可选的使用次数限制的魔杖(描述栏中不显示过期时间)
命令
-
/sell [hand|all]
-
/pay <player> <amount>
-
/worth [page]
-
/sellhistory [page]
-
/multiplier (别名: /mult)
- 权限:
worthify.sell
- 备注:仅在
worth_multiplier.enabled: true 时打开。所有人都可以查看,但编辑需要 worthify.admin 权限。
-
/setworth <number>
-
/worthify reload
-
/sellwand usage <uses> [player]
- 权限:
worthify.selltools.give
-
/sellwand selfdestruction <time> <unit> [player]
- 权限:
worthify.selltools.give
-
/sellaxe <time> <unit> [player]
- 权限:
worthify.selltools.give
权限
worthify.sell
worthify.admin
依赖
- 必需:无
- 可选:
- Vault(用于使用外部经济提供商,如 EssentialsX Economy)
- ProtocolLib(用于在不破坏堆叠的情况下在物品上显示客户端
Worth: $X 的工具提示行)
配置
Worthify 将配置文件写入 plugins/Worthify/ 目录。
-
config.yml
economy.internal.enabled:当缺少 Vault 时启用内置经济后备方案
economy.internal.starting_balance:不在 balances.yml 中的玩家的默认余额
worth_lore.enabled:启用价值工具提示注入(需要 ProtocolLib)
worth_lore.line:格式化行(支持 {worth} 或 ${worth})
worth_multiplier.enabled:启用价值倍率逻辑和倍率 GUI
worth_multiplier.value:应用于所有物品的全局倍率
worth_multiplier.categories.*:分类倍率(矿石/食物/种子)
worth_multiplier.materials.*:按材质的倍率覆盖
-
prices.yml
- 在
prices.<MATERIAL_NAME> 下存储按材质的价格
-
sellhistory.yml
-
balances.yml
-
selltools.yml
- SellTools 模板和行为(激活模式、允许的容器、过期时自毁、使用次数)
-
gui/multiplier.yml
占位符 (PlaceholderAPI)
%worthify_balance%
%worthify_balance_plain%
%worthify_balance_short%
备注
- 如果安装了 Vault 并且有可用的经济提供商,Worthify 将使用它。
- 如果未安装 Vault,Worthify 将自动回退到其内置经济系统(如果在配置中启用)。
Worthify
Worthify is a lightweight Paper plugin that assigns a configurable worth to items and lets players sell items for in-game currency.
Features
- Sell items from your hand or sell all sellable items
- Configurable item worth values (
prices.yml)
- Sell history GUI (
/sellhistory)
- Player-to-player payments (
/pay)
- Optional client-side item tooltip worth line (requires ProtocolLib)
- Optional Vault integration (uses your server economy if available)
- Standalone internal economy fallback if Vault isn’t installed (
balances.yml)
- Worth multiplier system (global + category + per-material overrides)
- Multiplier GUI (
/multiplier) to view/edit category multipliers (only works when enabled)
- SellTools:
- SellWand: sell container contents by right/left click (configurable)
- SellAxe: sell container contents and optionally destroy the container (configurable)
- Offline expiry (absolute timestamps) + anti-duplication registry
- Optional usage-limited wands (no expiry shown in lore)
Commands
-
/sell [hand|all]
- Permission:
worthify.sell
-
/pay <player> <amount>
- Permission:
worthify.sell
-
/worth [page]
- Permission:
worthify.sell
-
/sellhistory [page]
- Permission:
worthify.sell
-
/multiplier (alias: /mult)
- Permission:
worthify.sell
- Notes: Only opens when
worth_multiplier.enabled: true. Everyone can view, but editing requires worthify.admin.
-
/setworth <number>
- Permission:
worthify.admin
-
/worthify reload
- Permission:
worthify.admin
-
/sellwand usage <uses> [player]
- Permission:
worthify.selltools.give
-
/sellwand selfdestruction <time> <unit> [player]
- Permission:
worthify.selltools.give
-
/sellaxe <time> <unit> [player]
- Permission:
worthify.selltools.give
Permissions
worthify.sell
worthify.admin
Dependencies
- Required: none
- Optional:
- Vault (to use an external economy provider such as EssentialsX Economy)
- ProtocolLib (to display a client-side
Worth: $X tooltip line on items without breaking stacking )
Configuration
Worthify writes config files into plugins/Worthify/.
-
config.yml
economy.internal.enabled: enable internal economy fallback when Vault is missing
economy.internal.starting_balance: default balance for players not in balances.yml
worth_lore.enabled: enable worth tooltip injection (requires ProtocolLib)
worth_lore.line: format line (supports {worth} or ${worth})
worth_multiplier.enabled: enables worth multiplier logic and the multiplier GUI
worth_multiplier.value: global multiplier applied to all items
worth_multiplier.categories.*: category multipliers (ores/food/seeds)
worth_multiplier.materials.*: per-material multiplier overrides
-
prices.yml
- Stores per-material prices under
prices.<MATERIAL_NAME>
-
sellhistory.yml
- Stores per-player sell history entries
-
balances.yml
- Stores per-player balances when using internal economy
-
selltools.yml
- SellTools templates and behavior (activation mode, allowed containers, self-destruction on expiry, uses)
-
gui/multiplier.yml
- Customize the multiplier GUI
Placeholders (PlaceholderAPI)
%worthify_balance%
%worthify_balance_plain%
%worthify_balance_short%
Notes
- If Vault is installed and an economy provider is available, Worthify will use it.
- If Vault is not installed, Worthify will fall back to its internal economy automatically (if enabled in config).
评论 0
登录后参与评分
还没有评论,来抢沙发吧