DUXPLIMA Documentation

Reference

Every command, permission, placeholder and file of uxmShop.

Command names below are the defaults; commands.conf renames them. A command marked "Player" can only be run by a player. Permissions come from paper-plugin.yml and the shipped configuration.

Commands

Catalogue

CommandPermissionWhat it does
/shop (alias /shops)uxmshop.useOpens the hub. Player.
/shop open <section>uxmshop.use and uxmshop.section.<section>Opens one section. Player.
/shop langnoneShows the language you read and the ones the server has. Player.
/shop lang set <language>noneChooses your language. Player.
/shop lang resetnoneGoes back to the client or default language. Player.
/shop lang set-player <player> <language>uxmshop.admin.languageChooses another player's language.
/shop lang reset-player <player>uxmshop.admin.languageClears another player's choice.
/sellnoneThe same as /sell hand. Player.
/sell handuxmshop.sell.handSells the stack in your hand. Player.
/sell alluxmshop.sell.allSells everything in your inventory the catalogue buys, up to shop.sell-all-limit items. Player.
/sell windowuxmshop.sell.windowOpens a window to drop items into. Player.
/value (alias /worth)uxmshop.valueWhat the item in your hand is worth, in both directions. Player.

Player shops

CommandPermissionWhat it does
/myshop (alias /ms)uxmshop.myshopOpens your shop, or says you have none. Player.
/myshop openuxmshop.myshopOpens a shop behind the container you are looking at. Player.
/myshop closenoneCloses your shop and gives the stock back. Player.
/myshop add <buy> <sell> <match>uxmshop.myshopAdds the item in your hand as a line. Player.
/myshop stock <offer> <amount>uxmshop.myshopMoves items from your inventory into a line. Player.
/myshop take <offer> <amount>uxmshop.myshopMoves items from a line back to you. Player.
/myshop remove <offer>uxmshop.myshopTakes a line off the shop. Player.
/myshop price <offer> <buy> <sell>uxmshop.myshopChanges what a line charges. Player.
/myshop staff add <player>noneLets a player restock and reprice. Player.
/myshop staff remove <player>noneTakes a player off the shop. Player.
/myshop listuxmshop.myshopLists the shops on the server. Player.
/myshop finduxmshop.myshopShows which shops trade what you are holding. Player.
/myshop profitsuxmshop.myshopWhat your shops earned and spent, per item. Player.
/myshop profits clearuxmshop.myshopStarts the report again. Player.

Operator

CommandPermissionWhat it does
/uxmshop (alias /shopadmin)uxmshop.admin.versionSays what the command is for.
/uxmshop versionuxmshop.admin.versionShows the running version.
/uxmshop reloaduxmshop.admin.reloadReads every file again.
/uxmshop doctoruxmshop.admin.doctorChecks the plugin's health and prints one line per check.
/uxmshop logs <player> <page>uxmshop.admin.logsWhat one player traded, newest first.
/uxmshop logs direction <player> <direction> <page>uxmshop.admin.logsThe same, for one direction.
/uxmshop prune <days>uxmshop.admin.pruneDeletes log rows older than that many days.
/uxmshop adminshopuxmshop.admin.shopOpens a shop with the server behind it on the container you look at. Player.
/uxmshop iteminfouxmshop.admin.iteminfoThe item in your hand as a block to paste into a section file. Player.
/uxmshop modifier all <player> <factor>uxmshop.admin.modifierA price multiplier for one player over the whole shop.
/uxmshop modifier section <player> <section> <factor>uxmshop.admin.modifierThe same for one section.
/uxmshop modifier line <player> <section> <line> <factor>uxmshop.admin.modifierThe same for one line.
/uxmshop modifier clear <player>uxmshop.admin.modifierRemoves every modifier of a player.
/uxmshop resetprice <section> <line>uxmshop.admin.resetPuts a line back on its base price.
/uxmshop resetstock <section> <line> <direction>uxmshop.admin.resetResets the server stock of a line in one direction.
/uxmshop resetquota <player> <section> <line> <direction>uxmshop.admin.resetResets one player's quota on a line.

Editor

Registered only while editor.enabled is true. Every subcommand needs uxmshop.editor. See the editor.

CommandWhat it does
/shopeditSays what the editor is for.
/shopedit section <name>Starts a section, with the item in your hand as its icon. Player.
/shopedit add <section> <line> <buy> <sell>Adds the item in your hand to a section. Player.
/shopedit price <section> <line> <buy> <sell>Changes what a line charges.
/shopedit match <section> <line> <mode>Changes how strictly a line matches.
/shopedit remove <section> <line>Takes a line out.
/shopedit tiles <window>Names the tiles of a window and the slots they hold.
/shopedit move <window> <tile> <slot>Moves a tile to another slot.
/shopedit icon <window> <tile>Draws a tile from the item in your hand. Player.

Permissions

PermissionDefault
uxmshop.useeveryone
uxmshop.valueeveryone
uxmshop.sell.handeveryone
uxmshop.sell.alleveryone
uxmshop.sell.windoweveryone
uxmshop.shopseveryone
uxmshop.myshopeveryone
uxmshop.section.*op
uxmshop.rank.*op
uxmshop.bypass.taxop
uxmshop.bypass.blacklistop
uxmshop.editorop
uxmshop.admin.*op, grants every uxmshop.admin permission
uxmshop.admin.shopop
uxmshop.admin.modifierop
uxmshop.admin.iteminfoop
uxmshop.admin.logsop
uxmshop.admin.resetop
uxmshop.admin.pruneop
uxmshop.admin.doctorop
uxmshop.admin.versionop
uxmshop.admin.reloadop
uxmshop.admin.languageop

Families the operator completes with names of their own:

PermissionMeaning
uxmshop.section.<section>Opens one catalogue section. A section file may name a different node in permission.
uxmshop.rank.<rank>The node of a rank written in shop.ranks, unless the rank names its own permission.
uxmshop.bypass.blacklist.<material>Trades one blacklisted material.
uxmshop.shops.<n>How many player shops a player may own. uxmshop.shops.* is no limit. Without one, player-shops.limit applies. The prefix is player-shops.limit-permission.

A catalogue section or line may also name permission, buy-permission and sell-permission nodes in its file. See the catalogue.

Placeholders

PlaceholderAPI is needed. The identifier is uxmshop. Every answer is read from memory, and an unknown key or a request with no player answers nothing.

PlaceholderAnswer
%uxmshop_sections%How many catalogue sections there are.
%uxmshop_lines%How many lines of the catalogue can be traded.
%uxmshop_shops%How many player shops there are on the server.
%uxmshop_my_shops%How many shops the player owns.
%uxmshop_shop_limit%How many shops the player may own. An offline player gets the default limit.