소스 검색

Update 'plugins/ushop.md'

MasterCake 5 년 전
부모
커밋
c73e69fe59
1개의 변경된 파일20개의 추가작업 그리고 1개의 파일을 삭제
  1. 20 1
      plugins/ushop.md

+ 20 - 1
plugins/ushop.md

@@ -1,7 +1,7 @@
 # Introduction
 # Introduction
 Welcome to the uShop documentation page. This guide will assist you in setting up your item sale shop.
 Welcome to the uShop documentation page. This guide will assist you in setting up your item sale shop.
 
 
-This plugin offers a fancy way of selling items to the server. Unlike the default /sell command of Essentials, uShop provides a nice GUI which displays the current worths of any item that were put in the GUI.
+This plugin offers a fancy way of selling items to the server. Unlike the default `/sell` command of Essentials, uShop provides a nice GUI which displays the current worths of any item that were put in the GUI.
 uShop is a must-have for every survival and skyblock server!
 uShop is a must-have for every survival and skyblock server!
 
 
 # Features
 # Features
@@ -16,6 +16,8 @@ uShop is a must-have for every survival and skyblock server!
 
 
 There are two ways of setting a price on your items; either by altering the `sell-prices-simple` item list in your config.yml, or by using the command. Both methods are explained below.
 There are two ways of setting a price on your items; either by altering the `sell-prices-simple` item list in your config.yml, or by using the command. Both methods are explained below.
 
 
+Your players can access the shop by typing `/sell` (configurable)
+
 ### Simple prices
 ### Simple prices
 
 
 Simple prices are saved in the format `MATERIALNAME:PRICE`. Initially, they're all set to zero. Altering this prices will have no effect on meta data values (enchantments, lore, displayname) etc, but it give you a simple opportunity to set prices.
 Simple prices are saved in the format `MATERIALNAME:PRICE`. Initially, they're all set to zero. Altering this prices will have no effect on meta data values (enchantments, lore, displayname) etc, but it give you a simple opportunity to set prices.
@@ -48,3 +50,20 @@ You might want to open the Shop for player using a command sign plugin or by a N
 
 
 `/ushop open <player>`
 `/ushop open <player>`
 
 
+## Default config.yml
+
+```yml
+gui-name: "&cShop"
+gui-rows: 5
+gui-sellitem:
+  material: "EMERALD"
+  displayname: "&cClick to Sell (&a%total%&c)"
+gui-item-enumeration-format: "%amount%x &c%material%&r = &a %price%"
+message-sold: "&aSold all items for &c%total%&a!" 
+command: "sell"
+# sell prices. I suggest to use /ushop setprice in game for adding items, or use /ushop convert in order to use your essentialsx prices!
+
+# [... sell prices here]
+```
+
+