Перейти к содержимому
Mineforgian

PrimeSeller-Fork

Selling items to a buyer for in-game currency. Enables players to trade easily while giving admins full control over the game economy. (CoinsEngine Support)

Загрузки
653
Подписчики
3
Обновлён
17 апреля 2026 г.
Лицензия
Apache-2.0

Опубликован 23 декабря 2025 г.

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.

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 CoinsEngine 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 /autoseller and basic auto-sell functionality.
  • primeseller.user - Gives permissions primeseller.seller and primeseller.autoseller
  • primeseller.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:

  1. Hold the item you want to add.
  2. Run /primeseller addlimited <minPrice> <maxPrice> for Limited items.
  3. 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.

Seller Menu

Auto-Seller Guide

  1. A player with the primeseller.autoseller permission uses /autoseller.
  2. In the opened GUI, they can click items from their lower inventory to add them to the auto-sell list.
  3. They can click items in the upper GUI to remove them from the list.
  4. Use the toggle button to turn auto-selling On or Off.
  5. 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.

AutoSeller Menu

Installation

  1. Install the required dependencies:
  2. Download the latest PrimeSeller-Fork.jar.
  3. Place the JAR file into your server's plugins folder.
  4. Restart your server.
  5. Configure the plugins/PrimeSeller-Fork/config.yml and other files to your liking.
  6. Use /psell reload to 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 - Contains seller-menu and autoseller-menu for 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 CoinsEngine, set the following in config.yml:

economy:
  coins-engine:
    enable: true
    currency: "money" # Your CoinsEngine currency name

Ченджлог

2.0.6Релиз1.21.9, 1.21.10, 1.21.11 · 17 апреля 2026 г.

Material counting system improved:

  1. Broken items, enchanted items, and items with PersistentData will no longer be accepted by the buyer. (To sell an enchanted item, players can remove its enchantments using a grindstone and then sell it.)
  2. Now, when ENCHANTED_BOOK is added to the list of sellable items, players will be able to sell any enchanted books.
  3. Money is now only granted for actually removed items. Bugs where players could receive more money than the number of items removed have been fixed.
2.0.5Релиз1.21.9, 1.21.10, 1.21.11 · 17 февраля 2026 г.

Fixed a bug where the auto seller was not available to users with the permission primeseller.autoseller.<number> and the permission did not work primeseller.autoseller.bypass

2.0.4Релиз1.21.9, 1.21.10, 1.21.11 · 22 января 2026 г.

Fixed a bug with the inability to disable dividers

2.0.3Релиз1.21.9, 1.21.10, 1.21.11 · 22 января 2026 г.

Fixed a bug where unnecessary error messages were sent to the server log when opening the menu.

2.0.2Релиз1.21.9, 1.21.10, 1.21.11 · 12 января 2026 г.

Italics are disabled by default for names and lore of items.

2.0.1Бета1.21.9, 1.21.10, 1.21.11 · 27 декабря 2025 г.

Fixed a potential bug when min price > max Fixed a potential bug when there is invalid material in custom buttons.

2.0.1Релиз1.21.9, 1.21.10, 1.21.11 · 27 декабря 2025 г.

Added support for paper 1.21-1.21.3: When specifying model-data in these versions, only the first value will be considered and converted to an integer!

  • On paper versions 1.21.4+, multiple model-data values can be specified as integers/fractional numbers.
2.0.0Релиз1.21.9, 1.21.10, 1.21.11 · 26 декабря 2025 г.

This version is not compatible with previous versions (1.+)

Requires Paper 1.21.4 or newer to work!

List of changes:

  1. Messages and menus are separated into different files (NOT backward compatible with previous values)
  2. Added support for itemModel
  3. Menu fields are now more customizable, you can easily add your own
  4. Added a placeholder for the auto-seller (enabled/disabled).
  5. Fixed various bugs, including proper item addition via command, and the seller should no longer "freeze" with invalid materials
  6. Code refactoring (removed unnecessary loops, duplicated code moved to separate methods)
  • Also, prices in items.yml must now be specified either as whole numbers or as numbers with a dot (comma is not supported)

Backward compatible files:

  1. autosell-data.yml
  2. items.yml (if there are no prices with commas, if there are - replace commas with dots). Example: 10.05
  3. translations/

! Delete config.yml when upgrading to version 2.0.0

Комментарии

Загружаем…