PrimeSeller-Fork
由 flyawaymaking 维护的 Fork 版本
原始插件作者为 destroydevs
一款强大且可高度自定义的插件,允许玩家向买家出售物品以获取游戏内货币。提供手动售卖界面和全自动自动售卖系统。
? 版本兼容性
| 插件版本 | 支持的 Paper 版本 | Java | 所需依赖 |
|---|---|---|---|
2.1.0+ |
1.21 – 26.3 |
25 | Vault 或 ExcellentEconomy |
2.0.6 |
1.21 – 1.21.11 |
21 | Vault 或 CoinsEngine |
功能特性
- 交互式售卖 GUI: 打开可配置的菜单(
/seller),单独出售、按堆叠出售或出售整个背包中的物品。 - 智能自动售卖: 按照可配置的时间间隔,自动从你的背包中出售特定物品。通过专用的 GUI(
/autoseller)管理你的自动售卖列表。 - 双经济系统支持: 无缝集成 Vault 或 ExcellentEconomy 来处理交易。
- 动态定价: 物品可分为 限量(Limited)(具有每个玩家每日限购数量)或 无限(Unlimited)。无限物品的价格可根据服务器销量逐渐降低,以模拟市场饱和状态。
- 多语言材质名称: 自动获取并使用玩家配置语言中的正确物品名称。
- PlaceholderAPI 支持: 提供用于自动售卖状态、更新计时器和已售出物品数量的占位符。
- 完全可配置: 拥有 extensive 的配置文件,涵盖消息、菜单、物品、价格、权限和经济设置。
- 定时更新: 限量和无限物品的库存及价格会在可配置的时间间隔后刷新。
命令
| 命令 | 描述 | 权限 | 默认值 |
|---|---|---|---|
/seller |
打开主要售卖界面。 | primeseller.seller |
true |
/autoseller |
打开自动售卖管理 GUI。 | primeseller.autoseller |
true |
/autoseller on/off/toggle |
开启或关闭自动售卖功能。 | primeseller.autoseller |
true |
/primeseller reload |
重新加载所有插件配置文件。 | primeseller.admin |
OP |
/primeseller update |
手动触发限量和无限物品的更新。 | primeseller.admin |
OP |
/primeseller update limited |
仅手动更新限量物品。 | primeseller.admin |
OP |
/primeseller update unlimited |
仅手动更新无限物品。 | primeseller.admin |
OP |
/primeseller addlimited <min> <max> |
将手持物品添加到限量物品池中。 | primeseller.admin |
OP |
/primeseller addunlimited <min> <max> |
将手持物品添加到无限物品池中。 | primeseller.admin |
OP |
权限
primeseller.seller- 允许使用/seller。primeseller.autoseller- 允许使用/autoseller和基本自动售卖功能。primeseller.user- 授予primeseller.seller和primeseller.autoseller权限primeseller.autoseller.<number>- 授予自动售卖中的特定槽位数量(例如,primeseller.autoseller.10)。primeseller.autoseller.bypass- 绕过自动售卖槽位限制。primeseller.admin- 授予所有管理员命令的访问权限(/primeseller ...)。
占位符 (PlaceholderAPI)
如果安装了 PlaceholderAPI,则以下占位符可用:
%primeseller_autoseller_status%- 返回玩家的自动售卖状态(例如,“enabled” / “disabled”)。%primeseller_sold_items_number%- 返回玩家在当期已出售的限量物品数量。%primeseller_limited_time%- 距离下次限量物品更新的时间(原始格式)。%primeseller_limited_time_formatted%- 格式化后的距离下次限量物品更新时间。%primeseller_unlimited_time%- 距离下次无限物品更新的时间(原始格式)。%primeseller_unlimited_time_formatted%- 格式化后的距离下次无限物品更新时间。
添加可售卖物品
管理员可以直接在游戏中添加物品:
- 手持你要添加的物品。
- 运行
/primeseller addlimited <minPrice> <maxPrice>添加限量物品。 - 运行
/primeseller addunlimited <minPrice> <maxPrice>添加无限物品。
每次库存刷新时,插件将为该物品在 min 和 max 之间生成一个随机价格。

自动售卖指南
- 拥有
primeseller.autoseller权限的玩家使用/autoseller。 - 在打开的 GUI 中,他们可以点击 下方背包 中的物品将其添加到自动售卖列表。
- 他们可以点击 上方 GUI 中的物品将其从列表中移除。
- 使用切换按钮将自动售卖设置为 开启 或 关闭。
- 插件将按照
config.yml中设置的间隔,自动出售玩家背包中在其列表上的物品。
槽位限制: 玩家初始拥有 0 个自动售卖槽位。使用权限授予槽位:primeseller.autoseller.5,
primeseller.autoseller.20 等。最高数值的权限生效。

安装
- 安装所需的依赖项:
- Vault(或者如果使用 ExcellentEconomy,请确保已安装该经济插件)。
- (可选)安装 PlaceholderAPI 以支持占位符。
- 下载最新的
PrimeSeller-Fork.jar。 - 将 JAR 文件放入服务器的
plugins文件夹中。 - 重启服务器。
- 根据需要配置
plugins/PrimeSeller-Fork/config.yml及其他文件。 - 使用
/psell reload应用更改。
配置
首次运行后,插件将在 plugins/PrimeSeller-Fork/ 目录下生成多个配置文件:
config.yml- 主要设置:语言、经济系统、自动出售间隔、价格递减机制。messages.yml- 所有插件消息,可使用 MiniMessage 格式自定义。menu.yml- 包含seller-menu和autoseller-menu,用于完全自定义两个 GUI 的外观、布局和物品。items.yml- 定义限量/无限量池中的物品及其最小/最大价格,以及全局限制。translations/- 自动生成带有本地化材质名称的文件。
经济系统设置
默认情况下,插件使用 Vault。请确保已安装兼容 Vault 的经济插件(如 EssentialsX)。
若要使用 ExcellentEconomy,请在 config.yml 中设置以下内容:
economy:
excellent-economy:
enable: false # 如果禁用,则使用 Vault。
currency: "money"
PrimeSeller-Fork
Fork maintained by flyawaymaking
Original plugin by destroydevs
A powerful and customizable plugin that allows players to sell items to a buyer for in-game currency. Features both a manual seller interface and a fully automated auto-sell system.
? Version Compatibility
| Plugin version | Supported Paper | Java | Required dependency |
|---|---|---|---|
2.1.0+ |
1.21 – 26.3 |
25 | Vault or ExcellentEconomy |
2.0.6 |
1.21 – 1.21.11 |
21 | Vault or CoinsEngine |
Features
- Interactive Seller GUI: Open a configurable menu (
/seller) to sell items individually, in stacks, or your entire inventory. - Smart Auto-Seller: Automatically sells specific items from your inventory on a configurable timer. Manage your
auto-sell list via a dedicated GUI (
/autoseller). - Dual Economy Support: Seamlessly integrates with Vault or ExcellentEconomy for handling transactions.
- Dynamic Pricing: Items can be categorized as Limited (with per-player daily limits) or Unlimited. Prices for unlimited items can gradually decrease based on server sales to simulate market saturation.
- Multi-language Material Names: Automatically fetches and uses correct item names in the player's configured language.
- PlaceholderAPI Support: Provides placeholders for auto-sell status, update timers, and sold item counts.
- Fully Configurable: Extensive configuration files for messages, menus, items, prices, permissions, and economy settings.
- Scheduled Updates: Limited and Unlimited item stocks and prices refresh on customizable timers.
Commands
| Command | Description | Permission | Default |
|---|---|---|---|
/seller |
Opens the main selling interface. | primeseller.seller |
true |
/autoseller |
Opens the auto-seller management GUI. | primeseller.autoseller |
true |
/autoseller on/off/toggle |
Toggles the auto-sell function on or off. | primeseller.autoseller |
true |
/primeseller reload |
Reloads all plugin configuration files. | primeseller.admin |
OP |
/primeseller update |
Manually triggers an update for both Limited and Unlimited items. | primeseller.admin |
OP |
/primeseller update limited |
Manually updates only Limited items. | primeseller.admin |
OP |
/primeseller update unlimited |
Manually updates only Unlimited items. | primeseller.admin |
OP |
/primeseller addlimited <min> <max> |
Adds the held item to the Limited item pool. | primeseller.admin |
OP |
/primeseller addunlimited <min> <max> |
Adds the held item to the Unlimited item pool. | primeseller.admin |
OP |
Permissions
primeseller.seller- Allows use of/seller.primeseller.autoseller- Allows use of/autosellerand basic auto-sell functionality.primeseller.user- Gives permissionsprimeseller.sellerandprimeseller.autosellerprimeseller.autoseller.<number>- Grants a specific number of slots in the auto-seller (e.g.,primeseller.autoseller.10).primeseller.autoseller.bypass- Bypasses the auto-seller slot limit.primeseller.admin- Grants access to all admin commands (/primeseller ...).
Placeholders (PlaceholderAPI)
If PlaceholderAPI is installed, the following placeholders are available:
%primeseller_autoseller_status%- Returns the player's auto-sell status (e.g., "enabled" / "disabled").%primeseller_sold_items_number%- Returns how many limited items the player has sold in the current period.%primeseller_limited_time%- Time until the next Limited item update (raw format).%primeseller_limited_time_formatted%- Formatted time until the next Limited item update.%primeseller_unlimited_time%- Time until the next Unlimited item update (raw format).%primeseller_unlimited_time_formatted%- Formatted time until the next Unlimited item update.
Adding Sellable Items
Admins can add items directly in-game:
- Hold the item you want to add.
- Run
/primeseller addlimited <minPrice> <maxPrice>for Limited items. - Run
/primeseller addunlimited <minPrice> <maxPrice>for Unlimited items.
The plugin will generate a random price between min and max for the item each time the stock refreshes.

Auto-Seller Guide
- A player with the
primeseller.autosellerpermission uses/autoseller. - In the opened GUI, they can click items from their lower inventory to add them to the auto-sell list.
- They can click items in the upper GUI to remove them from the list.
- Use the toggle button to turn auto-selling On or Off.
- The plugin will automatically sell items from the player's inventory that are on their list, at the interval set in
config.yml.
Slot Limits: Players start with 0 auto-sell slots. Grant slots using permissions: primeseller.autoseller.5,
primeseller.autoseller.20, etc. The highest value permission applies.

Installation
- Install the required dependencies:
- Vault (or ensure ExcellentEconomy is installed if using that economy).
- (Optional) PlaceholderAPI for placeholder support.
- Download the latest
PrimeSeller-Fork.jar. - Place the JAR file into your server's
pluginsfolder. - Restart your server.
- Configure the
plugins/PrimeSeller-Fork/config.ymland other files to your liking. - Use
/psell reloadto apply changes.
Configuration
After the first run, the plugin will generate several configuration files in plugins/PrimeSeller-Fork/:
config.yml- Main settings: language, economy, auto-sell interval, price reduction mechanics.messages.yml- All plugin messages, customizable with MiniMessage format.menu.yml- Containsseller-menuandautoseller-menufor fully customizing the look, layout, and items in both GUIs.items.yml- Define which items are in the Limited/Unlimited pools, their min/max prices, and global limits.translations/- Automatically generated files with localized material names.
Economy Setup
By default, the plugin uses Vault. Ensure you have a Vault-compatible economy plugin (like EssentialsX) installed.
To use ExcellentEconomy, set the following in config.yml:
economy:
excellent-economy:
enable: false # If disabled, Vault will be used.
currency: "money"
下载 PrimeSeller-Fork
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PrimeSeller-Fork
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PrimeSeller-Fork
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PrimeSeller-Fork
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PrimeSeller-Fork
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PrimeSeller-Fork
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PrimeSeller-Fork
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PrimeSeller-Fork
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PrimeSeller-Fork
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PrimeSeller-Fork
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
修复:
修复了插件启动错误(java.lang.ClassNotFoundException: org.yaml.snakeyaml.external.biz.base64Coder.Base64Coder)
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧