Skip to content
This repository has been archived by the owner on Dec 30, 2020. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonidius20 authored Aug 28, 2018
1 parent e4fc483 commit f60b05f
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <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.

### 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 <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> <percent>` — add a discount for an item.
* `/deldiscount <id>` — 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 `<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.

### Building from sources
To build the plugin, add [NukkitX][nukkitx] and [EconomyAPI][economy] as libraries.
Expand Down

0 comments on commit f60b05f

Please sign in to comment.