Commands and permissions¶
Commands¶
| Command | Permission | What it does |
|---|---|---|
/shop |
embershop.use |
Open the shop |
/shop <category> |
embershop.use |
Open one section |
/shop sell |
embershop.use |
The sell window |
/shop admin |
embershop.admin |
The editor |
/shop add <cat> [buy] [sell] |
embershop.admin |
List the held item |
/shop additem <cat> <ref> [buy] [sell] |
embershop.admin |
List by reference |
/shop history [player] |
embershop.admin |
Recent trades |
/shop reload |
embershop.admin |
Reload from disk |
Aliases: /embershop, /es.
Permissions¶
| Node | Default | |
|---|---|---|
embershop.use |
everyone | Open and trade |
embershop.admin |
op | Configure, and create shop signs |
embershop.discount.<n> |
— | Pay n% less |
embershop.bonus.<n> |
— | Receive n% more when selling |
Categories and individual items can each require any node you like.
Placeholders¶
Requires PlaceholderAPI.
%embershop_balance% |
formatted balance |
%embershop_categories% |
sections this player can see |
%embershop_items% |
items this player can trade |
%embershop_items_<id>% |
items in one section |
Transaction log¶
Every completed trade is written to plugins/EmberShop/transactions.log, one
line per trade, plain text and greppable by player name. /shop history shows
the recent window without touching the file.
Logged after money and goods have both moved — logging the intention gives you a file full of trades that did not happen, which is worse than no file.
Set log-transactions: false to turn it off.
Shop signs¶
Optional, controlled by shop-signs in the config. When on, a sign reading
[EmberShop] opens the shop; put a category id or sell on the second line
to go straight there. Creating one needs embershop.admin; using one needs
embershop.use.
Turn it off on a server that reaches its shop only by command, or where another plugin already owns shop signs — nothing is registered at all when it is false.
Language¶
Every message in this plugin lives in lang/. Six translations ship
alongside English, and any line you leave untranslated falls back to English
rather than showing blank.
See Languages.