Advertisement
Guest User

Untitled

a guest
Jan 25th, 2017
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 8.53 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: true
  37.  
  38. # Set whether Towny integration should be enabled
  39. # Of course, this only worls if Towny is installed
  40. enable-towny-integration: true
  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: true
  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: true
  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: true
  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: true
  80.  
  81. # Set the maximal distance (in blocks) to the shop where the player can see the hologram.
  82. maximal-distance: 4
  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.   # ...a normal shop
  96.   normal: 5
  97.  
  98.   # ...an admin shop
  99.   admin: 0
  100.  
  101. # Set whether the shop's chest should be protected by hoppers
  102. hopper-protection: true
  103.  
  104. # Set whether the shop's chest should be protected by explosions
  105. explosion-protection: true
  106.  
  107. # Set whether the buy price must be greater than or equal sell price.
  108. buy-greater-or-equal-sell: true
  109.  
  110. # Set the minimum prices for each individual Item. Not per Stack, per single Item!
  111. # To add an item DELETE THE '[]' after 'minimum-prices:' and follow the format below.
  112. # Important: You must have exactly 2 spaces between the text and the edge.
  113. # You can find the item names in the 'item_names.txt' file.
  114. minimum-prices:
  115.   "GOLD_ORE": 9
  116.   "GOLD_INGOT": 10
  117.   "GOLD_BLOCK": 90
  118.   "GOLD_SWORD": 31
  119.   "GOLD_SPADE": 12
  120.   "GOLD_PICKAXE": 32
  121.   "GOLD_AXE": 32
  122.   "GOLD_HOE": 22
  123.   "GOLD_HELMET": 50
  124.   "GOLD_CHESTPLATE": 80
  125.   "GOLD_BOOTS": 40
  126.   "GOLD_LEGGINGS": 170
  127.   "GOLD_APPLE": 83
  128.   "GOLD_APPLE:1": 723
  129.   "GOLD_NUGGET": 1
  130.   "GOLD_CARROT": 9
  131.   "POWERED_RAIL": 11.5
  132.   "CLOCK": 40.5
  133.   "DIAMOND_ORE": 100
  134.   "DIAMOND": 25
  135.   "DIAMOND_BLOCK": 225
  136.   "DIAMOND_SWORD": 51
  137.   "DIAMOND_SPADE": 27
  138.   "DIAMOND_PICKAXE": 78
  139.   "DIAMOND_AXE": 78
  140.   "DIAMOND_HOE": 52
  141.   "DIAMOND_HELMET": 125
  142.   "DIAMOND_CHESTPLATE": 200
  143.   "DIAMOND_BOOTS": 100
  144.   "DIAMOND_LEGGINGS": 175
  145.   "IRON_ORE": 4
  146.   "IRON": 5
  147.   "IRON_NUGGET": 0.5
  148.   "IRON_BLOCK": 45
  149.   "IRON_SWORD": 11
  150.   "IRON_SPADE": 12
  151.   "IRON_PICKAXE": 17
  152.   "IRON_AXE": 17
  153.   "IRON_HOE": 12
  154.   "IRON_HELMET": 125
  155.   "IRON_CHESTPLATE": 40
  156.   "IRON_BOOTS": 20
  157.   "IRON_LEGGINGS": 35
  158.   "IRON_DOOR": 10
  159.   "IRON_FENCE": 1.5
  160.   "IRON_TRAPDOOR": 20
  161.   "COMPASS": 20.5
  162.   "COAL": 1
  163.   "COAL_ORE": 4
  164.   "COAL_BLOCK": 9
  165.   "EMERALD_ORE": 80
  166.   "EMERALD": 20
  167.   "EMERALD_BLOCK": 180
  168.   "ELYTRA": 400
  169.   "SHIELD": 6.50
  170.   "OBSIDIAN": 10
  171.   "REDSTONE": 0.50
  172.   "REDSTONE_BLOCK": 4.50
  173.   "TORCH": 0.50
  174.   "REDSTONE_TORCH": 1.50
  175.   "REDSTONE_ORE": 3
  176.   "DYE:4": 0.10
  177.   "LAPIS_BLOCK": 0.90
  178.   "LAPIS_ORE": 1.10
  179.   "ANVIL": 150
  180.   "HOPPER": 25
  181.   "SLIME_BALL": 2
  182.   "SLIME_BLOCK": 18
  183.   "BUCKET": 15
  184.   "SHEARS": 10
  185.   "MINECART": 25
  186.   "EXPERIENCE_BOTTLE": 0.25
  187.   "NETHER_STAR": 50
  188.   "DRAGON_EGG": 100
  189.   "BEACON": 80
  190. #  "STONE:1": 0.5
  191. #  "DIAMOND_SWORD": 100
  192.  
  193. # Set the items of which a player can't create a shop.
  194. # To add an item DELETE THE '[]' after 'blacklist:' and follow format below.
  195. # Important: You must have exactly 2 spaces between the text and edge.
  196. # You can find the item names in the 'item_names.txt' file.
  197. blacklist: []
  198. #  - "STONE:1"
  199. #  - "DIAMOND_BLOCK"
  200.  
  201. database:
  202.   # Select the type of database which should be used
  203.   # Either use 'SQLite' or 'MySQL'. Otherwise you will break the plugin!
  204.   type: "SQLite"
  205.  
  206.   # If the specified type is 'MySQL', here you configure the...
  207.   # (You can leave this empty if you're using SQLite)
  208.   mysql:
  209.     # ...interval in seconds, when the database should be pinged, to keep the connection alive
  210.     # You can set this to '0' to disable the ping interval
  211.     ping-interval: 3600
  212.  
  213.     # ...hostname where the database is accessible
  214.     hostname: ""
  215.  
  216.     # ...port where the database is accessible (default: 3306)
  217.     port: 3306
  218.  
  219.     # ...database you want to use
  220.     database: ""
  221.  
  222.     # ...username you are going to login with
  223.     username: ""
  224.  
  225.     # ...password you are going to login with
  226.     # Be careful, as anyone who can read this file, can read the password!
  227.     password: ""
  228.  
  229. # Shop limits are handled with permissions.
  230. # A player with permission "shopchest.limit.X" has a limit of X shops,
  231. # a player with permission "shopchest.limit.*" doesn't have a shop limit.
  232. shop-limits:
  233.   # Set whether admin shops should be excluded of the shop limits.
  234.   # If set to true, admin shops won't be added to a player's shop count.
  235.   exclude-admin-shops: true
  236.  
  237.   # Set the amount of shops that anyone who doesn't have a specific permission may have.
  238.   # If you don't want the players to have a limit by default, set the value to -1.
  239.   default: 30
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement