2015-09-02 11:41:34 +00:00
|
|
|
# ===============================================
|
2016-06-22 18:51:19 +00:00
|
|
|
# ====== Configuration File of 'ShopChest' ======
|
2015-09-02 11:41:34 +00:00
|
|
|
# ===============================================
|
|
|
|
#
|
|
|
|
# Lines starting with '#' are comments and are ignored by the server.
|
|
|
|
|
|
|
|
# Set the main command you have to enter to manage the shops (default: "/shop ...")
|
|
|
|
main-command-name: "shop"
|
|
|
|
|
2016-06-22 18:51:19 +00:00
|
|
|
# Set the language of the item-, enchantment-, potion- and arrow-effect names
|
|
|
|
# The value must equal to the name of one of a file in the 'lang' folder (without the '.lang' extension)
|
2016-06-23 17:52:31 +00:00
|
|
|
language-file: "en_US"
|
2016-06-22 18:51:19 +00:00
|
|
|
|
2016-07-13 12:05:56 +00:00
|
|
|
# Set whether the floating shop items on top of the chest should be shown
|
|
|
|
show-shop-items: true
|
|
|
|
|
|
|
|
# Set whether shops should automatically be removed from the database if an error occurred while loading
|
|
|
|
# e.g. when no chest is found at a shop's location
|
|
|
|
# This might be useful if you're removing shop chests with WorldEdit, resetting plots, or similar
|
|
|
|
remove-shop-on-error: false
|
|
|
|
|
2015-09-02 11:41:34 +00:00
|
|
|
# Set the maximal distance to the shop where the player can see the hologram.
|
|
|
|
# Value MUST be a number (e.g. 1, 1.5, 2.75, ...)
|
|
|
|
maximal-distance: 1.75
|
|
|
|
|
2016-06-03 14:28:44 +00:00
|
|
|
# Set the price a player has to pay in order to create...
|
|
|
|
# You can set this to 0 to disable costs.
|
|
|
|
# Value MUST be a number (e.g. 1, 1.5, 2.75, ...)
|
|
|
|
shop-creation-price:
|
|
|
|
|
|
|
|
# ...a normal shop
|
|
|
|
normal: 5
|
|
|
|
|
|
|
|
# ...an admin shop
|
|
|
|
admin: 0
|
|
|
|
|
2016-04-16 14:49:45 +00:00
|
|
|
# Set whether the shop's chest should be protected by hoppers
|
2016-04-09 14:34:26 +00:00
|
|
|
hopper-protection: true
|
|
|
|
|
2016-04-16 14:49:45 +00:00
|
|
|
# Set whether the shop's chest should be protected by explosions
|
2016-04-09 14:34:26 +00:00
|
|
|
explosion-protection: true
|
|
|
|
|
2015-09-02 11:41:34 +00:00
|
|
|
# Set whether the buy price must be greater than or equal sell price.
|
|
|
|
buy-greater-or-equal-sell: true
|
|
|
|
|
|
|
|
# Set the minimum prices for each individual Item. Not per Stack, per single Item!
|
|
|
|
# To add an item DELETE THE '[]' after 'minimum-prices:' and follow the format below.
|
2015-09-04 18:16:33 +00:00
|
|
|
# Important: You must have exactly 2 spaces between the text and the edge.
|
2015-09-02 11:41:34 +00:00
|
|
|
# You can find the item names in the 'item_names.txt' file.
|
|
|
|
minimum-prices: []
|
|
|
|
# "STONE:1": 0.5
|
|
|
|
# "DIAMOND_SWORD": 100
|
|
|
|
|
2015-09-16 14:45:05 +00:00
|
|
|
# Set the items of which a player can't create a shop.
|
|
|
|
# To add an item DELETE THE '[]' after 'blacklist:' and follow format below.
|
|
|
|
# Important: You must have exactly 2 spaces between the text and edge.
|
|
|
|
# You can find the item names in the 'item_names.txt' file.
|
|
|
|
blacklist: []
|
|
|
|
# - "STONE:1"
|
|
|
|
# - "DIAMOND_BLOCK"
|
2015-09-02 11:41:34 +00:00
|
|
|
|
2016-06-01 19:30:46 +00:00
|
|
|
database:
|
|
|
|
|
|
|
|
# Select the type of database which should be used
|
|
|
|
# Either use 'SQLite' or 'MySQL'. Otherwise you will break the plugin!
|
|
|
|
type: "SQLite"
|
|
|
|
|
2016-07-01 12:28:31 +00:00
|
|
|
# Set the amount of attempts, ShopChest tries to reconnect to the database,
|
|
|
|
# when the connection is lost, until giving up.
|
|
|
|
reconnect-attemps: 5
|
|
|
|
|
2016-06-22 18:51:19 +00:00
|
|
|
# If the specified type is 'MySQL', here you configure the...
|
2016-06-01 19:30:46 +00:00
|
|
|
# (You can leave this empty if you're using SQLite)
|
|
|
|
mysql:
|
|
|
|
|
|
|
|
# ...hostname where the database is accessible
|
|
|
|
hostname: ""
|
|
|
|
|
|
|
|
# ...port where the database is accessible (default: 3306)
|
|
|
|
port: 3306
|
|
|
|
|
|
|
|
# ...database you want to use
|
|
|
|
database: ""
|
|
|
|
|
|
|
|
# ...username you are going to login with
|
|
|
|
username: ""
|
|
|
|
|
|
|
|
# ...password you are going to login with
|
|
|
|
# Be careful, as anyone who can read this file, can read the password!
|
|
|
|
password: ""
|
|
|
|
|
2015-09-04 18:16:33 +00:00
|
|
|
# Priority: default < group < player
|
|
|
|
shop-limits:
|
2016-06-24 16:13:33 +00:00
|
|
|
|
|
|
|
# Set whether admin shops should be excluded of the shop limits.
|
|
|
|
# If set to true, admin shops won't be added to a player's shop count.
|
|
|
|
exclude-admin-shops: true
|
2015-09-04 18:16:33 +00:00
|
|
|
|
|
|
|
# Set the amount of shops anyone who's not listed in the sections below can have.
|
|
|
|
# If you don't want the players to have a limit, set the value to -1.
|
|
|
|
default: 5
|
|
|
|
|
|
|
|
# Set the amount of shops a player in a specific permission group can have.
|
|
|
|
# If you don't want the group to have a limit, set the value to -1.
|
|
|
|
# To add an item DELETE THE '[]' after 'group:' and follow the format below.
|
|
|
|
# Important: You must have exactly 4 spaces between the text and the edge.
|
|
|
|
group: []
|
|
|
|
# "VIP": 10
|
|
|
|
|
|
|
|
# Set the amount of shops a specific player can have.
|
|
|
|
# You can add a player by its name or by its UUID, but please do NOT provide the name and the UUID.
|
|
|
|
# If you don't want the player to have a limit, set the value to -1.
|
|
|
|
# To add an item DELETE THE '[]' after 'player:' and follow the format below.
|
|
|
|
# Important: You must have exactly 4 spaces between the text and the edge.
|
|
|
|
player: []
|
|
|
|
# "EpicEric": 50
|
2016-06-23 17:52:31 +00:00
|
|
|
# "898afbbe-6566-4a0f-b0ac-145868b3cb12": 50
|