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
|
|
|
|
|
2017-01-04 16:07:00 +00:00
|
|
|
# Set the quality (speed) for hologram and item updating.
|
|
|
|
# Valid values are (from slowest to fastest):
|
|
|
|
# 'SLOWEST', 'SLOWER', 'SLOW', 'NORMAL', 'FAST', 'FASTER', 'FASTEST'
|
|
|
|
# The faster the value, the more performance will be used, which
|
|
|
|
# may lead to TPS loss.
|
|
|
|
update-quality: NORMAL
|
2016-11-23 16:15:15 +00:00
|
|
|
|
2016-11-18 16:32:52 +00:00
|
|
|
# Set whether interaction with the hologram should be enabled.
|
|
|
|
# If set to true, a player can do the exact same thing with the
|
|
|
|
# hologram, as with the chest. You can even open the chest if you
|
|
|
|
# are the vendor or have permission.
|
|
|
|
enable-hologram-interaction: true
|
|
|
|
|
2016-08-03 11:49:31 +00:00
|
|
|
# Set whether a debug log file should be created.
|
|
|
|
# The file may get large! Please enable this setting when reporting bugs.
|
|
|
|
enable-debug-log: false
|
|
|
|
|
2016-11-23 15:05:33 +00:00
|
|
|
# Set whether WorldGuard integration should be enabled
|
2016-11-24 20:43:26 +00:00
|
|
|
# Of course, this only works if WorldGuard is installed
|
2016-11-23 15:05:33 +00:00
|
|
|
enable-worldguard-integration: true
|
|
|
|
|
|
|
|
# Set whether Towny integration should be enabled
|
2016-11-24 20:43:26 +00:00
|
|
|
# Of course, this only works if Towny is installed
|
2016-11-23 15:05:33 +00:00
|
|
|
enable-towny-integration: true
|
|
|
|
|
2016-11-26 16:23:02 +00:00
|
|
|
# Set whether the vendor of a shop should get messages when players
|
|
|
|
# buy or sell something from/to his shop
|
|
|
|
enable-vendor-messages: true
|
|
|
|
|
2016-08-09 20:10:44 +00:00
|
|
|
# Set whether the buy- and sell price should be arranged below each other.
|
|
|
|
# The first line will be the buy price with the message "message.hologram.only-buy",
|
|
|
|
# the second line will be the sell price with the message "message.hologram.only-sell".
|
|
|
|
# If buying or selling is disabled, a line for that price will not be created.
|
|
|
|
# (The messages can be found and modified in the specified language file)
|
|
|
|
two-line-prices: false
|
|
|
|
|
2017-01-04 13:50:11 +00:00
|
|
|
# Set the amount (may be negative) a hologram should be lifted in the y-axis,
|
2016-08-10 11:10:09 +00:00
|
|
|
# when "two-line-prices" is set to true and buying and selling is enabled at the shop.
|
|
|
|
# The higher the number, the higher will the hologram be.
|
|
|
|
# A value of '1' equals to one block, and a value of '0.25' is equal to the height of one line.
|
|
|
|
two-line-hologram-lift: 0.25
|
2016-08-09 20:10:44 +00:00
|
|
|
|
2017-01-04 13:50:11 +00:00
|
|
|
# Set the amount (may be negative) a hologram should be lifted in the y-axis,
|
|
|
|
# when "two-line-prices" is set to true and only buying or selling is enabled at the shop.
|
|
|
|
one-line-hologram-lift: 0
|
|
|
|
|
|
|
|
# Set the amount (may be negative) a hologram should be lifted in the y-axis.
|
|
|
|
# If the hologram lift is already increased by the values above, the holograms will
|
|
|
|
# still be lifted by the here specified amount. This also works with 'two-line-prices' disabled.
|
|
|
|
hologram-lift: 0
|
|
|
|
|
2016-08-16 13:06:26 +00:00
|
|
|
# Set whether players should be allowed to sell their items, even if the amount they have, is
|
|
|
|
# lower than the amount, the shop owner has set for the given price, or if the inventory of the chest
|
|
|
|
# doesn't have enough space for all the items, but only for a few, or if the player only has enough money for
|
|
|
|
# a few items, but not for the amount, the shop owner has set. When set to true, players may also
|
|
|
|
# buy items from a shop, even if the amount of items in the chest is lower than the amount, the shop owner has
|
|
|
|
# set for the given price, or if they don't have enough space in the inventory for all of the items, but
|
|
|
|
# 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.
|
|
|
|
# The price will be calculated correspondingly. (If it's not clear enough, please let me know)
|
|
|
|
auto-calculate-item-amount: false
|
|
|
|
|
2016-08-18 13:33:58 +00:00
|
|
|
# Set whether prices may contain decimals (prices of existing shops will stay)
|
|
|
|
allow-decimals-in-price: true
|
|
|
|
|
2016-08-02 11:23:47 +00:00
|
|
|
# Set whether players should be allowed to sell/buy broken items
|
|
|
|
allow-broken-items: false
|
|
|
|
|
2016-08-05 19:44:11 +00:00
|
|
|
# Set whether the level of a potion or tipped arrow (if upgraded) should be appended to the item name.
|
|
|
|
# If set to true, the level ("II") will be displayed after the item name, but only if the item
|
|
|
|
# does NOT have a custom name. If set to false, it will only be shown in the shop info message.
|
|
|
|
append-potion-level-to-item-name: false
|
|
|
|
|
2016-07-13 12:05:56 +00:00
|
|
|
# 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
|
|
|
|
|
2017-01-03 14:35:35 +00:00
|
|
|
# Set whether the mouse buttons should be inverted.
|
|
|
|
# Default:
|
|
|
|
# Right-Click -> Buy
|
|
|
|
# Left-Click -> Sell
|
|
|
|
invert-mouse-buttons: false
|
|
|
|
|
2016-08-17 19:26:55 +00:00
|
|
|
# Set the maximal distance (in blocks) to the shop where the player can see the hologram.
|
2016-08-18 00:14:59 +00:00
|
|
|
maximal-distance: 2
|
2015-09-02 11:41:34 +00:00
|
|
|
|
2017-01-03 14:35:35 +00:00
|
|
|
# Set the maximal distance (in blocks) to the shop where the player can see the floating shop item.
|
2016-08-17 19:26:55 +00:00
|
|
|
maximal-item-distance: 40
|
|
|
|
|
2016-07-13 12:34:09 +00:00
|
|
|
# Set the time in seconds between automatic shop reloads.
|
|
|
|
# You can set this to 0 to disable automatic shop reloads.
|
|
|
|
auto-reload-time: 1200
|
|
|
|
|
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
|
|
|
|
2017-01-03 12:59:09 +00:00
|
|
|
# Set whether the custom WorldGuard flags should be allowed by default
|
|
|
|
# (true = Allowed by default, false = Denied by default)
|
|
|
|
# This can, of course, be overridden in specific regions and is only
|
|
|
|
# enabled if WorldGuard is installed and WorldGuard integration is enabled
|
|
|
|
worldguard-default-flag-values:
|
|
|
|
|
|
|
|
create-shop: false
|
|
|
|
use-shop: false
|
|
|
|
use-admin-shop: false
|
|
|
|
|
|
|
|
# Configuration of the database, where everything is stored.
|
|
|
|
# Shops are found in the table 'shop_list', and logged economy
|
|
|
|
# transactions are found in the table 'shop_log'
|
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-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:
|
|
|
|
|
2016-08-16 10:26:35 +00:00
|
|
|
# ...interval in seconds, when the database should be pinged, to keep the connection alive
|
|
|
|
# You can set this to '0' to disable the ping interval
|
|
|
|
ping-interval: 3600
|
|
|
|
|
2016-06-01 19:30:46 +00:00
|
|
|
# ...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!
|
2016-11-13 19:58:48 +00:00
|
|
|
password: ""
|
|
|
|
|
|
|
|
# Shop limits are handled with permissions.
|
|
|
|
# A player with permission "shopchest.limit.X" has a limit of X shops,
|
|
|
|
# a player with permission "shopchest.limit.*" doesn't have a shop limit.
|
|
|
|
shop-limits:
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2016-11-17 19:33:12 +00:00
|
|
|
# Set the amount of shops that anyone who doesn't have a specific permission may have.
|
|
|
|
# If you don't want the players to have a limit by default, set the value to -1.
|
2016-11-13 19:58:48 +00:00
|
|
|
default: 5
|