Advertisement
Guest User

ShopChest config

a guest
Jun 19th, 2017
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.08 KB | None | 0 0
  1. # ===============================================
  2. # ====== Configuration File of 'ShopChest' ======
  3. # ===============================================
  4. #
  5. # Lines starting with '#' are comments and are ignored by the server.
  6.  
  7. # Set the main command you have to enter to manage the shops (default: "/shop ...")
  8. main-command-name: "shop"
  9.  
  10. # Set the language of the item-, enchantment-, potion- and arrow-effect names
  11. # The value must equal to the name of one of a file in the 'lang' folder (without the '.lang' extension)
  12. language-file: "en_US"
  13.  
  14. # Set whether the floating shop items on top of the chest should be shown
  15. show-shop-items: true
  16.  
  17. # Set whether quality-mode should be enabled.
  18. # Showing and hiding holograms will look better,
  19. # but TPS will probably decrease.
  20. # Not recommended on servers with low performance
  21. # or on servers with a lot of shops!
  22. enable-quality-mode: false
  23.  
  24. # Set whether interaction with the hologram should be enabled.
  25. # If set to true, a player can do the exact same thing with the
  26. # hologram, as with the chest. You can even open the chest if you
  27. # are the vendor or have permission.
  28. enable-hologram-interaction: true
  29.  
  30. # Set whether a debug log file should be created.
  31. # The file may get large! Please enable this setting when reporting bugs.
  32. enable-debug-log: false
  33.  
  34. # Set whether WorldGuard integration should be enabled
  35. # Of course, this only worls if WorldGuard is installed
  36. enable-worldguard-integration: false
  37.  
  38. # Set whether Towny integration should be enabled
  39. # Of course, this only worls if Towny is installed
  40. enable-towny-integration: false
  41.  
  42. # Set whether the buy- and sell price should be arranged below each other.
  43. # The first line will be the buy price with the message "message.hologram.only-buy",
  44. # the second line will be the sell price with the message "message.hologram.only-sell".
  45. # If buying or selling is disabled, a line for that price will not be created.
  46. # (The messages can be found and modified in the specified language file)
  47. two-line-prices: false
  48.  
  49. # Set the amount (may be negative) the hologram should be lifted in the y-axis,
  50. # when "two-line-prices" is set to true and buying and selling is enabled at the shop.
  51. # The higher the number, the higher will the hologram be.
  52. # A value of '1' equals to one block, and a value of '0.25' is equal to the height of one line.
  53. two-line-hologram-lift: 0.25
  54.  
  55. # Set whether players should be allowed to sell their items, even if the amount they have, is
  56. # lower than the amount, the shop owner has set for the given price, or if the inventory of the chest
  57. # doesn't have enough space for all the items, but only for a few, or if the player only has enough money for
  58. # a few items, but not for the amount, the shop owner has set. When set to true, players may also
  59. # buy items from a shop, even if the amount of items in the chest is lower than the amount, the shop owner has
  60. # set for the given price, or if they don't have enough space in the inventory for all of the items, but
  61. # only for a few, or if the shop owner doesn't have enough money to buy all of the items, the player wants to sell.
  62. # The price will be calculated correspondingly. (If it's not clear enough, please let me know)
  63. auto-calculate-item-amount: false
  64.  
  65. # Set whether prices may contain decimals (prices of existing shops will stay)
  66. allow-decimals-in-price: true
  67.  
  68. # Set whether players should be allowed to sell/buy broken items
  69. allow-broken-items: false
  70.  
  71. # Set whether the level of a potion or tipped arrow (if upgraded) should be appended to the item name.
  72. # If set to true, the level ("II") will be displayed after the item name, but only if the item
  73. # does NOT have a custom name. If set to false, it will only be shown in the shop info message.
  74. append-potion-level-to-item-name: false
  75.  
  76. # Set whether shops should automatically be removed from the database if an error occurred while loading
  77. # e.g. when no chest is found at a shop's location
  78. # This might be useful if you're removing shop chests with WorldEdit, resetting plots, or similar
  79. remove-shop-on-error: false
  80.  
  81. # Set the maximal distance (in blocks) to the shop where the player can see the hologram.
  82. maximal-distance: 5
  83.  
  84. # Set the maximal distance (in blocks) to the shop where the player can see the floatig shop item.
  85. maximal-item-distance: 40
  86.  
  87. # Set the time in seconds between automatic shop reloads.
  88. # You can set this to 0 to disable automatic shop reloads.
  89. auto-reload-time: 1200
  90.  
  91. # Set the price a player has to pay in order to create...
  92. # You can set this to 0 to disable costs.
  93. # Value MUST be a number (e.g. 1, 1.5, 2.75, ...)
  94. shop-creation-price:
  95.  
  96. # ...a normal shop
  97. normal: 500
  98.  
  99. # ...an admin shop
  100. admin: 0
  101.  
  102. # Set whether the shop's chest should be protected by hoppers
  103. hopper-protection: true
  104.  
  105. # Set whether the shop's chest should be protected by explosions
  106. explosion-protection: true
  107.  
  108. # Set whether the buy price must be greater than or equal sell price.
  109. buy-greater-or-equal-sell: true
  110.  
  111. # Set the minimum prices for each individual Item. Not per Stack, per single Item!
  112. # To add an item DELETE THE '[]' after 'minimum-prices:' and follow the format below.
  113. # Important: You must have exactly 2 spaces between the text and the edge.
  114. # You can find the item names in the 'item_names.txt' file.
  115. minimum-prices: []
  116. # "STONE:1": 0.5
  117. # "DIAMOND_SWORD": 100
  118.  
  119. # Set the items of which a player can't create a shop.
  120. # To add an item DELETE THE '[]' after 'blacklist:' and follow format below.
  121. # Important: You must have exactly 2 spaces between the text and edge.
  122. # You can find the item names in the 'item_names.txt' file.
  123. blacklist: []
  124. # - "STONE:1"
  125. # - "DIAMOND_BLOCK"
  126.  
  127. database:
  128.  
  129. # Select the type of database which should be used
  130. # Either use 'SQLite' or 'MySQL'. Otherwise you will break the plugin!
  131. type: "SQLite"
  132.  
  133. # If the specified type is 'MySQL', here you configure the...
  134. # (You can leave this empty if you're using SQLite)
  135. mysql:
  136.  
  137. # ...interval in seconds, when the database should be pinged, to keep the connection alive
  138. # You can set this to '0' to disable the ping interval
  139. ping-interval: 3600
  140.  
  141. # ...hostname where the database is accessible
  142. hostname: "###.##.###.##"
  143.  
  144. # ...port where the database is accessible (default: 3306)
  145. port: ####
  146.  
  147. # ...database you want to use
  148. database: "######"
  149.  
  150. # ...username you are going to login with
  151. username: "######"
  152.  
  153. # ...password you are going to login with
  154. # Be careful, as anyone who can read this file, can read the password!
  155. password: "##########"
  156.  
  157. # Shop limits are handled with permissions.
  158. # A player with permission "shopchest.limit.X" has a limit of X shops,
  159. # a player with permission "shopchest.limit.*" doesn't have a shop limit.
  160. shop-limits:
  161.  
  162. # Set whether admin shops should be excluded of the shop limits.
  163. # If set to true, admin shops won't be added to a player's shop count.
  164. exclude-admin-shops: true
  165.  
  166. # Set the amount of shops that anyone who doesn't have a specific permission may have.
  167. # If you don't want the players to have a limit by default, set the value to -1.
  168. default: -1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement