Skip to content

Commands ​

This plugin requires no permission configuration by default, server owners can use it out of the box (hot-loading the plugin may make the default permissions invalid). For the types mentioned below that you do not know, use tab completion on lower versions, 1.12+ reminds you automatically.

Permissions ​

PermissionPurposeDefault Owner
randomShop.reloadReload pluginop
randomShop.addAdd new itemop
randomShop.openOpen corresponding shoptrue
randomShop.viewManage itemsop
randomShop.clearClear player shopop
randomShop.getIpGet IPop
randomShop.convertConvert databaseop
randomShop.addAllBatch add items to all rarities (1.0.9+)op
randomShop.priceModify price (1.1.5+)op
randomShop.adminOpenAdmin open shop (1.4.4+)op
randomShop.editEdit item (1.5.0+)op
randomShop.importImport data (1.6.0+)op

Commands ​

CommandPurpose
/rshop reloadReload configuration
/rshop add [shopType] [buyType] [price] (quantity) (rarity)Add item
/rshop open [shopType] (itemType)Open shop interface
/rshop view [type]Admin manage items
/rshop clear [type]Clear player shop
/rshop getIpGet IP
/rshop convert[MySQL-SQLite]Convert data source
/rshop addAll [shopType] [buyType] [price] (quantity) (itemType)Batch add items to all rarities (1.0.9+)
/rshop price [itemID] [price]Modify price (1.1.5+)
/rshop adminOpen [shopType] (itemType) (player)Admin open shop (1.4.4+)
/rshop edit [ID] (shopType) (buyType) (price) (quantity) (rarity) (itemType)Edit item (1.5.0+)
/rshop importImport data (1.6.0+)

[] Required () Optional

Special Notes ​

Shop type explanation:

  • daySell: today's hot sales.
  • weekSell: this week's hot sales.
  • monthSell: this month's hot sales.
  • onlySell: selling shop.
  • dayBuy: today's purchases.
  • weekBuy: this week's purchases.
  • monthBuy: this month's purchases.
  • onlyBuy: buying shop.

Purchase type explanation:

  • point: points.
  • vault: coins.

Quantity parameter explanation:

A quantity of 0 means no purchase limit is applied, any other number applies a purchase limit, for example 1 means the player can only buy once per refresh.

Rarity parameter explanation:

  • normal: 0.8 (normal item, white &f).
  • advanced: 0.5 (advanced item, blue &1).
  • rare: 0.3 (rare item, purple &5).
  • rarer: 0.2 (rarer item, pink &d).
  • epic: 0.1 (epic item, orange &e).
  • mythical: 0.01 (mythical item, gradient &e&l).

Item type explanation (1.0.9+):

The type of every item can be customized in item.yml. For example, if you define three types "building / pills / weapons", today's hot sales will refresh according to those three types, so you can have 3 daily hot sales containing different items. Your daily/weekly/monthly shops are no longer single, they can be expanded without limit.