🛍️
ShopSystem
  • 🏡Home page
  • DEFAULTS
    • 📩Installation
    • 🗒️Commands & Permissions
  • SETUP
    • 🛠️config.yml setup
    • 🛒Product
    • 🧊Item
    • 🖼️GUI
    • 📩Subscribtion system
    • 🎛️Conditions
    • 🌀Actions
    • 📃Placeholders (PAPI)
    • 🌈Hex colors
Powered by GitBook
On this page
  • Syntax
  • Cost
  • GUI priority
  • Purchase conditions
  • View conditions
  • Actions
  • Live economy
  • Amount selection menu
  1. SETUP

Product

You can edit products in the file products.yml

Syntax

products:
  vip:
    cost: #
    name: TEXT
    settings:
      ...
    item:
      ...
    gui:
      ...

Cost

Cost of the item. Cost can be live update with the live economy feature.

    cost: #

GUI priority

Use the number to determine the priority of an item in the shopping menu. The way the priority works is that the lower the number you enter, the higher the item will be.

    settings:
      gui-priority: #

Purchase conditions

    settings:
      purchase_conditions: 'EXPRESSION'

View conditions

    settings:
      view_conditions: 'EXPRESSION'

Actions

    settings:
      actions: 'EXPRESSION'

Live economy

Link your product price with website stores like Tebex or CraftingStore

Syntax

    settings:
    live-economy:
        type: TEXT
        api-key: TEXT
        product-id: #
        exchange-rate:
          divider: #.#
          amount: #

Type Type can be CRAFTINGSTORE (https://craftingstore.net) or TEBEX (https://tebex.io)

API key Your applicaiton API key

Product id Package id of your product on the webstore

Exchange rate: This means that for example 1$ is 10 when you set divider to 0.1 and amount to 1

Amount selection menu

If you want to provide your players to select an amount of purchased item, you can! Just put to the product settings sections this boolean

amount-select: true

Now everything works! But if you want to give the player selected amount of items, you can use placeholder %amount% in console and player command actions. menu:

Previousconfig.yml setupNextItem

Last updated 2 years ago

Set conditions that will allow/disallow users to purchase items. Check page for specific informations about that.

Set conditions that will allow/disallow users to view items in the gui. Check page for specific informations about that.

Actions to be performed after the purchase of the item. The placeholder of the purchaser is %player% Check page for specific informations about that.

🛒
Conditions
Conditions
Actions