diff --git a/README.md b/README.md index 92ea6d8..a865366 100644 --- a/README.md +++ b/README.md @@ -8,34 +8,34 @@ * Set up the lists of buyable and sellable items using admin commands. The lists update automaticaly after editing, so you don't need to reboot your server. ### User commands -* /buy [id] [amount] — buying a specified amount of items with a specified ID (string or number). -* /buy [id] — buying 1 item with a specified ID. -* /sell [id] [amount] — selling a specified amount of items with a specified ID. -* /sell [id] — selling 1 item with a specified ID. -* /sell — selling items from your hands. -* /buylist (/blist) — list of buyable items. -* /selllist (/slist) — list of sellable items. -* /auc [id] [amount] [start price] — put a specified amount of items with the specified ID with the specified start price on an auction. -* /auc [id] [start price] — put 1 item with the specified ID with the specified start price on an auction. -* /auc [start price] — place items from your hands on an auction. -* /bet [your bid] — place a bet on an ongoing auction. -* /id — an ID of an item in your hand. -* /shophelp — list of shop commands. +* `/buy ` — buying a specified amount of items with a specified ID (string or number). +* `/buy ` — buying 1 item with a specified ID. +* `/sell ` — selling a specified amount of items with a specified ID. +* `/sell ` — selling 1 item with a specified ID. +* `/sell` — selling items from your hands. +* `/buylist (/blist)` — list of buyable items. +* `/selllist (/slist)` — list of sellable items. +* `/auc ` — put a specified amount of items with the specified ID with the specified start price on an auction. +* `/auc ` — put 1 item with the specified ID with the specified start price on an auction. +* `/auc ` — place items from your hands on an auction. +* `/bet ` — place a bet on an ongoing auction. +* `/id` — an ID of an item in your hand. +* `/shophelp` — list of shop commands. ### Admin commands Admin commands are available to players with `trading.editshoplist` permission. Operators have this permission by default. -* /addbuyitem [id] [price] (/abi [id] [price]) — add an item to the list of buyable items. -* /addsellitem [id] [price] (/asi [id] [price]) — add an item to the list of sellable items. -* /delbuyitem [id] (/dbi [id]) — delete an item from the list of buyable items. -* /delsellitem [id] (/dsi [id]) — delete an item from the list of sellable items. -* /adddiscount [id] [%] — add a discount for an item. -* /deldiscount [id] — delete a discount. +* `/addbuyitem (/abi )` — add an item to the list of buyable items. +* `/addsellitem (/asi )` — add an item to the list of sellable items. +* `/delbuyitem (/dbi )` — delete an item from the list of buyable items. +* `/delsellitem (/dsi )` — delete an item from the list of sellable items. +* `/adddiscount ` — add a discount for an item. +* `/deldiscount ` — delete a discount. ### Configuration file All parameters in the [configuration file](src/main/resources/config.yml) are commented. ### Other functions -The plugin supports custom translations. In order to use your own language, set `general.languauge` option in the config file to [your_lang]. The plugin will create [your_lang].lng file with English strings. You have to translate the text in this file to your languauge. +The plugin supports custom translations. In order to use your own language, set `general.languauge` option in the config file to ``. The plugin will create `.lng` file with English strings. You have to translate the text in this file to your languauge. ### Building from sources To build the plugin, add [NukkitX][nukkitx] and [EconomyAPI][economy] as libraries.