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.
|
2019-06-03 14:28:58 +00:00
|
|
|
#
|
|
|
|
# You can find item names in the 'item_names.txt' file.
|
2015-09-02 11:41:34 +00:00
|
|
|
|
2019-06-03 14:28:58 +00:00
|
|
|
# Set the main command you have to enter to manage the shops.
|
2017-01-08 16:05:29 +00:00
|
|
|
# (default: "/shop ...")
|
2015-09-02 11:41:34 +00:00
|
|
|
main-command-name: "shop"
|
|
|
|
|
2019-06-03 14:28:58 +00:00
|
|
|
# Set the language file for all translatable messages or names.
|
2017-01-08 16:05:29 +00:00
|
|
|
# The value must equal to the name of one of a file in the 'lang' folder
|
2019-06-03 14:28:58 +00:00
|
|
|
# (without the '.lang' extension).
|
2016-06-23 17:52:31 +00:00
|
|
|
language-file: "en_US"
|
2016-06-22 18:51:19 +00:00
|
|
|
|
2017-06-05 13:02:49 +00:00
|
|
|
# Set the item with which a player can click a shop to retrieve information.
|
2019-06-03 14:28:58 +00:00
|
|
|
# You can set this to an empty string ("") to disable this feature.
|
2017-06-05 13:02:49 +00:00
|
|
|
shop-info-item: "STICK"
|
|
|
|
|
2017-08-15 10:38:38 +00:00
|
|
|
# Set whether buys or sells need to be confirmed by the player
|
2019-06-04 19:00:04 +00:00
|
|
|
# in order to prevent accidents.
|
2017-08-15 10:38:38 +00:00
|
|
|
confirm-shopping: false
|
|
|
|
|
2019-05-28 13:53:26 +00:00
|
|
|
# Set whether players should be able to select the shop item from the
|
|
|
|
# creative inventory if they don't hold an item in their hand.
|
2020-03-01 19:46:13 +00:00
|
|
|
creative-select-item: true
|
2019-05-28 13:53:26 +00:00
|
|
|
|
2019-06-03 14:28:58 +00:00
|
|
|
# Set whether the (current) shop creation price should be refunded
|
|
|
|
# when the shop is removed by its creator.
|
2018-11-03 20:44:02 +00:00
|
|
|
refund-shop-creation: false
|
|
|
|
|
2018-08-25 21:45:56 +00:00
|
|
|
# Set whether the plugin will check for updates on server start
|
|
|
|
# and notify permitted players on join.
|
|
|
|
# The command is not affected by this setting and will continue to
|
|
|
|
# check for updates.
|
|
|
|
enable-update-checker: true
|
|
|
|
|
2017-08-15 09:43:54 +00:00
|
|
|
# Set whether buys and sells should be logged in the database.
|
|
|
|
enable-economy-log: false
|
|
|
|
|
2019-06-03 14:28:58 +00:00
|
|
|
# Set the maximum age for economy log entries in days.
|
2018-07-24 16:10:04 +00:00
|
|
|
# All log entries older than this will be deleted on server start.
|
2019-06-03 14:28:58 +00:00
|
|
|
# Set this to 0 to disable this feature.
|
2018-07-24 16:15:26 +00:00
|
|
|
cleanup-economy-log-days: 30
|
2018-07-24 16:10:04 +00:00
|
|
|
|
2016-08-03 11:49:31 +00:00
|
|
|
# Set whether a debug log file should be created.
|
2019-06-03 14:28:58 +00:00
|
|
|
# The file may get large! Please enable this setting when reporting issues.
|
2016-08-03 11:49:31 +00:00
|
|
|
enable-debug-log: false
|
|
|
|
|
2019-06-03 14:28:58 +00:00
|
|
|
# Set whether various protection plugins should be hooked into (if installed)
|
|
|
|
# in order to allow or deny shop creation in certain locations.
|
2016-11-23 15:05:33 +00:00
|
|
|
enable-worldguard-integration: true
|
|
|
|
enable-towny-integration: true
|
2017-03-17 13:36:24 +00:00
|
|
|
enable-authme-integration: true
|
2017-03-28 12:37:12 +00:00
|
|
|
enable-plotsquared-integration: true
|
2017-04-10 15:25:48 +00:00
|
|
|
enable-uskyblock-integration: true
|
2017-04-17 15:07:47 +00:00
|
|
|
enable-askyblock-integration: true
|
2020-03-16 12:35:22 +00:00
|
|
|
enable-bentobox-integration: true
|
2017-04-17 16:24:51 +00:00
|
|
|
enable-islandworld-integration: true
|
2017-04-26 15:03:39 +00:00
|
|
|
enable-griefprevention-integration: true
|
2017-05-13 15:20:56 +00:00
|
|
|
enable-areashop-integration: true
|
|
|
|
|
2019-06-03 14:28:58 +00:00
|
|
|
# Set whether the vendor of a shop should get messages when players buy
|
|
|
|
# or sell something from/to his shop or when his shop is out of stock.
|
2016-11-26 16:23:02 +00:00
|
|
|
enable-vendor-messages: true
|
|
|
|
|
2019-06-03 14:28:58 +00:00
|
|
|
# Set whether only the shop a player is pointing at should be shown.
|
2017-02-10 16:59:08 +00:00
|
|
|
# If set to false, every shop near the player (with the specified
|
|
|
|
# distance) will be shown to him.
|
|
|
|
only-show-shops-in-sight: true
|
|
|
|
|
2017-05-20 18:10:07 +00:00
|
|
|
# Set whether the hologram's location should be fixed at the bottom,
|
|
|
|
# so when it gets more lines, it won't interfere with the item or chest,
|
|
|
|
# but goes higher.
|
|
|
|
hologram-fixed-bottom: true
|
2017-01-04 13:50:11 +00:00
|
|
|
|
|
|
|
# Set the amount (may be negative) a hologram should be lifted in the y-axis.
|
2017-05-22 20:02:22 +00:00
|
|
|
# A value of '1' equals to one block, and a value of '0.25' is equal to the
|
2019-04-28 21:12:58 +00:00
|
|
|
# height of one line.
|
2017-01-04 13:50:11 +00:00
|
|
|
hologram-lift: 0
|
|
|
|
|
2019-06-03 14:28:58 +00:00
|
|
|
# Set whether players should be allowed to buy or sell less items
|
|
|
|
# than the vendor has specified, in case the player does not have enough
|
|
|
|
# money or items, or if the chest does not have enough items or space,
|
|
|
|
# or if the vendor does not have enough money.
|
|
|
|
# The price will be calculated correspondingly.
|
2016-08-16 13:06:26 +00:00
|
|
|
auto-calculate-item-amount: false
|
|
|
|
|
2019-06-03 14:28:58 +00:00
|
|
|
# Set whether prices may contain decimals (prices of existing shops will stay).
|
2016-08-18 13:33:58 +00:00
|
|
|
allow-decimals-in-price: true
|
|
|
|
|
2019-06-03 14:28:58 +00:00
|
|
|
# Set whether players should be allowed to sell/buy broken items.
|
2016-08-02 11:23:47 +00:00
|
|
|
allow-broken-items: false
|
|
|
|
|
2017-01-08 16:05:29 +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
|
2019-06-03 14:28:58 +00:00
|
|
|
# displayed after the item name, but only if the item does not have a
|
|
|
|
# custom name.
|
2016-08-05 19:44:11 +00:00
|
|
|
append-potion-level-to-item-name: false
|
|
|
|
|
2017-01-08 16:05:29 +00:00
|
|
|
# Set whether shops should automatically be removed from the database if
|
2019-06-03 14:28:58 +00:00
|
|
|
# an error occurred while loading.
|
|
|
|
# (e.g. no chest, no space above chest, or unknown world)
|
2016-07-13 12:05:56 +00:00
|
|
|
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
|
2017-01-08 16:05:29 +00:00
|
|
|
# Left-Click -> Sell
|
2017-01-03 14:35:35 +00:00
|
|
|
invert-mouse-buttons: false
|
|
|
|
|
2017-01-08 16:05:29 +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-08 16:05:29 +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
|
|
|
|
|
2019-06-03 14:28:58 +00:00
|
|
|
# Set whether the buy price must be greater than or equal to the sell price.
|
|
|
|
buy-greater-or-equal-sell: true
|
|
|
|
|
|
|
|
# Set the minimum and maximum prices for each individual item.
|
|
|
|
minimum-prices:
|
|
|
|
# "DIAMOND": 0.5
|
|
|
|
|
|
|
|
maximum-prices:
|
|
|
|
# "STONE": 2
|
|
|
|
|
|
|
|
# Set the items of which a player can't create a shop.
|
|
|
|
blacklist:
|
|
|
|
# - "DIORITE"
|
|
|
|
|
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.
|
|
|
|
shop-creation-price:
|
|
|
|
|
|
|
|
# ...a normal shop
|
|
|
|
normal: 5
|
|
|
|
|
|
|
|
# ...an admin shop
|
|
|
|
admin: 0
|
|
|
|
|
2019-06-03 14:28:58 +00:00
|
|
|
# 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.*" does not have a shop limit.
|
|
|
|
# Admin shops are excluded from the shop limit.
|
|
|
|
shop-limits:
|
2017-01-05 13:35:42 +00:00
|
|
|
|
2019-06-03 14:28:58 +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.
|
|
|
|
default: 5
|
2015-09-02 11:41:34 +00:00
|
|
|
|
2017-05-13 15:20:56 +00:00
|
|
|
# Set the events of AreaShop when shops on that region should be removed.
|
|
|
|
# Valid values are: DELETE, UNRENT, RESELL, SELL
|
|
|
|
areashop-remove-shops:
|
|
|
|
- "DELETE"
|
|
|
|
- "UNRENT"
|
|
|
|
- "RESELL"
|
|
|
|
- "SELL"
|
|
|
|
|
2019-06-03 14:28:58 +00:00
|
|
|
# Set whether the custom WorldGuard flags should be allowed by default.
|
2017-01-03 12:59:09 +00:00
|
|
|
worldguard-default-flag-values:
|
|
|
|
|
|
|
|
create-shop: false
|
|
|
|
use-shop: false
|
|
|
|
use-admin-shop: false
|
|
|
|
|
2019-06-03 14:28:58 +00:00
|
|
|
# Set the types of Towny plots where shop creation should be allowed.
|
2017-04-17 14:35:43 +00:00
|
|
|
# Valid values are:
|
|
|
|
# RESIDENTIAL, COMMERCIAL, ARENA, EMBASSY, WILDS, SPLEEF, INN, JAIL, FARM
|
|
|
|
towny-shop-plots:
|
|
|
|
|
|
|
|
residents:
|
|
|
|
- "COMMERCIAL"
|
|
|
|
|
|
|
|
mayor:
|
|
|
|
- "COMMERCIAL"
|
|
|
|
|
|
|
|
king:
|
|
|
|
- "COMMERCIAL"
|
|
|
|
|
2017-01-03 12:59:09 +00:00
|
|
|
# Configuration of the database, where everything is stored.
|
2019-06-03 13:58:13 +00:00
|
|
|
# Shops are found in the table 'shopchest_shops', and logged economy
|
|
|
|
# transactions are found in the table 'shopchest_economy_logs'
|
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"
|
|
|
|
|
2018-11-10 19:34:11 +00:00
|
|
|
# Set the prefix of all table names related to this plugin.
|
|
|
|
table-prefix: "shopchest_"
|
|
|
|
|
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
|
|
|
mysql:
|
|
|
|
|
2017-01-08 16:05:29 +00:00
|
|
|
# ...interval in seconds, when the database should be pinged,
|
|
|
|
# to keep the connection alive
|
2016-08-16 10:26:35 +00:00
|
|
|
# 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
|
2019-06-03 14:28:58 +00:00
|
|
|
password: ""
|