Permissions:

Learn which permissions EconomyShopGUI uses and what they mean.

Permission nodes:

These permissions define whether a player is able to buy/sell items to a specific shop section, the core permissions of EconomyShopGUI.

The <section> part in permssion nodes is replaced with the actual name of the shop category. This is defined by the name of the shop/section configuration.

Permission node
Default
Description

EconomyShopGUI.shop.<section>

TRUE

Gives access to buy/sell items in a specific shop section using the /shop GUI.

EconomyShopGUI.shop.all

TRUE

Gives permission to open all shop sections and buy/sell items

EconomyShopGUI.sellall.<section>

TRUE

Gives access to sell items in a specific shop section using the /sellall inventory command.

EconomyShopGUI.sellall.all

TRUE

Allows players to sell items using the /sellall inventory command to all shop sections

EconomyShopGUI.sellallitem.<section>

TRUE

This permission allows players to sell items using the /sellall <item> in specific shop sections

EconomyShopGUI.sellallitem.all

TRUE

Allows players to sell items to all shop sections using the /sellall <item> command

EconomyShopGUI.sellallhand.<section>

TRUE

Allows players to sell in a specific shop section with the /sellall hand command

EconomyShopGUI.sellallhand.all

TRUE

Allows players to sell items using /sellall hand to all shop sections

EconomyShopGUI.sellgui.<section>

TRUE

Allows players to sell items using the /sellgui command in specific sections

EconomyShopGUI.sellgui.all

TRUE

Allows players to sell items to all shop sections using /sellgui

Per item permissions *Premium only

Permission node
Default
Description

EconomyShopGUI.shop.<section>.item.<permission>

FALSE

A per item permission which allows you to buy/sell this specific item in the specific shop.

EconomyShopGUI.sellall.<section>.item.<permission>

FALSE

A per item permission which allows you to buy/sell this specific item using the /sellall command

EconomyShopGUI.sellallitem.<section>.item.<permission>

FALSE

A per item permission which allows you to buy/sell this specific item using the /sellall item command

EconomyShopGUI.sellallhand.<section>.item.<permission>

FALSE

A per item permission which allows you to buy/sell this specific item using the /sellall handcommand

EconomyShopGUI.sellgui.<section>.item.<permission>

FALSE

em permission which allows you to buy/sell this specific item using the /sellguicommand

How to setup and assign permissions:

Note: Some permissions plugins are CaSe SeNsItIvE! be sure to have the right Character's upper-case or lower-case where written in the table(s) above!

Installing a permission plugin:

Installing a permissions plugin is that easy as dragging and dropping the file inside your server plugin's folder.

  1. First you need to go to your permissions plugin page. We recommend LuckPerms, LP's /lp editor command and webpage is easy to use.

  2. Research how to use the permissions plugin of your choice and be sure it is updated and compatible with your version of Minecraft. [Simple Luckperms Tutorial here]

  3. Download the plugin.

  4. Drop the file inside your plugins folder

  5. Restart the server.

Configuration:

We are not going to explain how to setup permissions in detail as everyone will want to setup their server differently. But if you watch a video on YT or many others you can search for, you can learn how to setup your permissions/ranks plugin just how you want it!

See the list of Basic permissions you will need (above) for ESGUI after installing/setting up your permissions plugin.

Basic permissions you will need to assign to use EconomyShopGUI:

These are the permission nodes you need to add to a group or a specific player in your permissions plugin. 1a. EconomyShopGUI.shop.all Allows access to all shops defined in the shops.yml file -OR- 1b. EconomyShopGUI.shop.<section> Allows access to a specific shop defined in the shops.yml file (Replace <section> with the section's name in the shops file!)

Permissions update:

Since version 4.4 of EconomyShopGUI and version 2.5 of EconomyShopGUI Premium we have have updated our permissions from the plugin to allow servers to have better control over which shops your players should be able to sell items to using /sellgui and /sellall.

Before players would need the EconomyShopGUI.shop.<section> or EconomyShopGUI.shop.all permission node to sell items using /sellall and /sellgui but these have been split into seperate permissions for each command.

How to do it?

Basically if you don't care about which items your players can sell to shop, you will need to give your players the following permission nodes: âž–EconomyShopGUI.sellall.all âž–EconomyShopGUI.sellallitem.all âž–EconomyShopGUI.sellallhand.all âž–EconomyShopGUI.sellgui.all If you are using LuckPerms as your permissions plugin(recomended), this can easily be done by executing the following commands: âž– /lp group default permission set EconomyShopGUI.sellall.all true âž– /lp group default permission set EconomyShopGUI.sellallitem.all true âž– /lp group default permission set EconomyShopGUI.sellallhand.all true âž– /lp group default permission set EconomyShopGUI.sellgui.all true

On the other hand if you have a special shop which is only meant for players that have a rank on your server, you should add the shops they should have access to as seperate permission nodes.

Added permissions since this update:

Permisson node:
Description:

EconomyShopGUI.sellall.<section>

Gives access to sell items in a specific shop section using the /sellall command.

EconomyShopGUI.sellall.all

Allows players to sell items using the /sellall command to all shop sections

EconomyShopGUI.sellallitem.<section>

This permission allows players to sell items using the /sellall item in specific shop sections

EconomyShopGUI.sellallitem.all

Allows players to sell items to all shop sections using the /sellall item command

EconomyShopGUI.sellallhand.<section>

Allows players to sell in a specific shop section with the /sellall hand command

EconomyShopGUI.sellallhand.all

Allows players to sell items using /sellall hand to all shop sections

EconomyShopGUI.sellgui.<section>

Allows players to sell items using the /sellgui command in specific sections

EconomyShopGUI.sellgui.all

Allows players to sell items to all shop sections using /sellgui

Placeholders:

To use placeholders you will need the PlaceholderAPI plugin. The placeholder expansion is hard coded into the plugin itself, so it isn't requried to install any expansion from the ECloud.

Item placeholders:

Item price placeholders are used to display buy/sell prices of shop items in placeholders.

  • Buy prices: %esgui_buyprice_<section>.<itemIndex>%

  • Sell prices: %esgui_sellprice_<section>.<itemIndex>%

    • <section> is replaced with the item's section name

    • <itemIndex> is replaced with the item's index inside the shop

      • Example: page5.items.180

When a shop item uses dynamic prices, the plugin uses a automatic cache interval to save perfomance. The caching delay of dynamic prices can be specified inside the config.yml.

Discounts / Multipliers

These placeholders return the percentage as a raw number:

  • Shop discounts: %esgui_discount_<section>%

  • Shop sell multipliers: %esgui_sell_multiplier_<section>%

Shop placeholders:

Placeholders related to shop sections.

  • %esgui_shop_rotation_<section>%

    • This placeholder returns the time left for the specified rotating shop to rotate

Transaction placeholders:

Transaction placeholders are used to display the player/item which made the most amount of transactions in the shop. It is possible to get the top 1-10 players(or amount) purchasing/selling a single item within the current time frame. It is also possible to get the top 1-10 items(or amount) being purchased/sold in shop within the current time frame.

Note that the free version of the plugin is limited to only the top 1-3(or amount) placeholders and marks a total of only 72 placeholder combinations which can be used.

This totals at 240 placeholder combinations which can be used!

Top player purchasing items:

  • %esgui_<ranking>_player_most_bought_items_current_<timeframe>%

    • Player name which bought the most amount of items in the selected time frame

  • %esgui_<ranking>_player_most_bought_items_current_<timeframe>_amount%

    • The amount of items purchased by the player at this ranking in the selected time frame

Top player selling items:

  • %esgui_<ranking>_player_most_sold_items_current_<timeframe>%

    • Player name which sold the most amount of items the selected time frame

  • %esgui_<ranking>_player_most_sold_items_current_<timeframe>_amount%

    • The amount of items sold by the player at this ranking in the selected time frame

Top purchased items:

  • %esgui_<ranking>_most_bought_item_current_<timeframe>%

    • Item displayname which was purchased the most the selected time frame

  • %esgui_<ranking>_most_bought_item_current_<timeframe>_amount%

    • The amount of the item at this ranking and selected time frame which was purchased

Top sold items:

  • %esgui_<ranking>_most_sold_item_current_<timeframe>%

    • Item displayname which was sold the most the selected time frame

  • %esgui_<ranking>_most_sold_item_current_<timeframe>_amount%

    • The amount of the item at this ranking and the selected time frame which was sold

Last updated

Was this helpful?