⌨️Commands
FAQ:
Does the /shop command has permission?
A: Use /shop can directly open a menu called main. This is a feature called Auto Open, and you can disable it at config.yml file with menu.auto-open.enabled option. If you only want some players to be exposed to this command, you can set conditions for the menu so that only players who meet the specified conditions can open the menu. For more info, please view Menus page.
Why it say condition not meet when open daily example menu?
A: That menu already set a condition and you can find it at menus/daily-shop-example.yml.
ultimateshop.bypassprice
This permission can help you bypass price check and won't cost any price.
/shop menu <menuID>/<shopID>
Open common menu or shop menu.
Require ultimateshop.menu permission.
For console, should extra add <player> arg at the end of command, like /shop menu test Player1.
Support add -b at the end of the command to bypass menu open condition check. (Premium version only)
/shop quickbuy <shopID> <productID> [amount]
Quick purchase item.
Require ultimateshop.quickbuy permission.
For console, should extra add <player> arg at the end of command, like /shop quickbuy test A Player1.
/shop quicksell <shopID> <productID> [amount]
Same as quickbuy, just replace quickbuy to quicksell.
amount arg can be replaced to * symbol, then plugin will auto sell all the items you can sell. (Premium version only)
/shop reload
Reload the plugin, some configs need you restart server.
Require ultimateshop.reload permission.
/shop givesellstick <itemID> <playerID> [amount] (Premium version only)
Give specifeid player specified amount (if not set, default to 1) sell stick.
Require ultimateshop.givesellstick permission.
/shop setbuytimes/setselltimes <shopID> <productID> <player>/global [times]
Set player's specified product buy times to specified value.
Require ultimateshop.setbuytimes permission.
If didn't set times arg, we will think you are trying to reset the buy/sell times.
productID arg can be replaced to * symbol, then plugin will auto pick up all product in specified shop. (Premium version only)
setselltimes is similar to setbuytimes here.
/shop addbuytimes/addselltimes <shopID> <productID> <player>/global <times>
Add specified value to player's specified product buy times.
Require ultimateshop.addtbuytimes permission.
productID arg can be replaced to * symbol, then plugin will auto pick up all product in specified shop. (Premium version only)
addselltimes is similar to setbuytimes here.
/shop sellall
Open sellall menu.
Require ultimateshop.sellall permission.
/shop saveitem <saveItemID> <saveItemMethod>
Save your hold items. For more info, please view Save Item page.
Require ultimateshop.saveitem permission.
/shop generateitemformat
Generate hold item into Item Format at plugins/UltimateShop folder.
Require ultimateshop.generateitemformat permission.
/shop getplaceholdervalue <text> (Premium version only)
Parse input text to get placeholder value in it.
Require ultimateshop.getplaceholdervalue permission.
/shop resetrandomplaceholder <placeholderID> [player] (Premium version only)
Reset random placeholder value.
The per player's random placeholder must enter the player name in the command parameters, while the per player's random placeholder cannot enter the player name in the command parameters, otherwise the plugin will prompt an error.
Require ultimateshop.resetrandomplaceholder permission.
/shop setrandomplaceholder <placeholderID> [element] [player] (Premium version only)
Set random placeholder value.
Different from resetrandomplaceholder, setrandomplaceholder command won't reset refresh time and allow users pick specifeid element.
The per player's random placeholder must enter the player name in the command parameters, while the per player's random placeholder cannot enter the player name in the command parameters, otherwise the plugin will prompt an error.
Support add -b at the end of the command to bypass element exist check, which means you can set the custom element you'd like. For example, my random placeholder only have A,B,C total 3 elements, if I type D as element here, plugin will print error message, if you add -b suffix, then the placeholder value will be set to D and plugin never print error message, but it is not recommended. (Removed in 3.12.0, now this command no longer check element exist)
Require ultimateshop.setrandomplaceholder permission.
/shop editor (Premium version only)
Open shop editor.
Require UltimateShopEditor addon plugin, download it at SpigotMC.
Require ultimateshop.editor permission.
/shop search
Print the message that helps you know the hold item target product in shop.
Require ultimateshop.search permission.
/shop sellallhand
Sell all hand item.
Require ultimateshop.sellallhand permission.
Last updated