mirror of
https://github.com/amalthea-mc/ShopChest.git
synced 2024-11-26 04:12:22 +00:00
Shorten lines in config file
This commit is contained in:
parent
39e3b4f837
commit
5a40f84e21
@ -4,11 +4,13 @@
|
|||||||
#
|
#
|
||||||
# Lines starting with '#' are comments and are ignored by the server.
|
# 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 ...")
|
# Set the main command you have to enter to manage the shops
|
||||||
|
# (default: "/shop ...")
|
||||||
main-command-name: "shop"
|
main-command-name: "shop"
|
||||||
|
|
||||||
# Set the language of the item-, enchantment-, potion- and arrow-effect names
|
# 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)
|
# The value must equal to the name of one of a file in the 'lang' folder
|
||||||
|
# (without the '.lang' extension)
|
||||||
language-file: "en_US"
|
language-file: "en_US"
|
||||||
|
|
||||||
# Set whether the floating shop items on top of the chest should be shown
|
# Set whether the floating shop items on top of the chest should be shown
|
||||||
@ -44,35 +46,44 @@ enable-towny-integration: true
|
|||||||
enable-vendor-messages: true
|
enable-vendor-messages: true
|
||||||
|
|
||||||
# Set whether the buy- and sell price should be arranged below each other.
|
# 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 first line will be the buy price with the message
|
||||||
# the second line will be the sell price with the message "message.hologram.only-sell".
|
# "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.
|
# 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)
|
# (The messages can be found and modified in the specified language file)
|
||||||
two-line-prices: false
|
two-line-prices: false
|
||||||
|
|
||||||
# Set the amount (may be negative) a hologram should be lifted in the y-axis,
|
# Set the amount (may be negative) a hologram should be lifted in the y-axis,
|
||||||
# when "two-line-prices" is set to true and buying and selling is enabled at the shop.
|
# 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.
|
# 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.
|
# 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
|
two-line-hologram-lift: 0.25
|
||||||
|
|
||||||
# Set the amount (may be negative) a hologram should be lifted in the y-axis,
|
# 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.
|
# when "two-line-prices" is set to true and only buying or selling is
|
||||||
|
# enabled at the shop.
|
||||||
one-line-hologram-lift: 0
|
one-line-hologram-lift: 0
|
||||||
|
|
||||||
# Set the amount (may be negative) a hologram should be lifted in the y-axis.
|
# 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
|
# If the hologram lift is already increased by the values above,
|
||||||
# still be lifted by the here specified amount. This also works with 'two-line-prices' disabled.
|
# the holograms will still be lifted by the here specified amount.
|
||||||
|
# This also works with 'two-line-prices' disabled.
|
||||||
hologram-lift: 0
|
hologram-lift: 0
|
||||||
|
|
||||||
# Set whether players should be allowed to sell their items, even if the amount they have, is
|
# Set whether players should be allowed to sell their items, even if the
|
||||||
# lower than the amount, the shop owner has set for the given price, or if the inventory of the chest
|
# amount they have, is lower than the amount, the shop owner has set for the
|
||||||
# doesn't have enough space for all the items, but only for a few, or if the player only has enough money for
|
# given price, or if the inventory of the chest doesn't have enough space
|
||||||
# a few items, but not for the amount, the shop owner has set. When set to true, players may also
|
# for all the items, but only for a few, or if the player only has enough
|
||||||
# buy items from a shop, even if the amount of items in the chest is lower than the amount, the shop owner has
|
# money for a few items, but not for the amount, the shop owner has set.
|
||||||
# set for the given price, or if they don't have enough space in the inventory for all of the items, but
|
# When set to true, players may also buy items from a shop, even if the
|
||||||
# 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.
|
# amount of items in the chest is lower than the amount, the shop owner has
|
||||||
# The price will be calculated correspondingly. (If it's not clear enough, please let me know)
|
# 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
|
auto-calculate-item-amount: false
|
||||||
|
|
||||||
# Set whether prices may contain decimals (prices of existing shops will stay)
|
# Set whether prices may contain decimals (prices of existing shops will stay)
|
||||||
@ -81,14 +92,18 @@ allow-decimals-in-price: true
|
|||||||
# Set whether players should be allowed to sell/buy broken items
|
# Set whether players should be allowed to sell/buy broken items
|
||||||
allow-broken-items: false
|
allow-broken-items: false
|
||||||
|
|
||||||
# Set whether the level of a potion or tipped arrow (if upgraded) should be appended to the item name.
|
# Set whether the level of a potion or tipped arrow (if upgraded) should be
|
||||||
# If set to true, the level ("II") will be displayed after the item name, but only if the item
|
# appended to the item name. If set to true, the level ("II") will be
|
||||||
# does NOT have a custom name. If set to false, it will only be shown in the shop info message.
|
# 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
|
append-potion-level-to-item-name: false
|
||||||
|
|
||||||
# Set whether shops should automatically be removed from the database if an error occurred while loading
|
# Set whether shops should automatically be removed from the database if
|
||||||
# e.g. when no chest is found at a shop's location
|
# an error occurred while loading e.g. when no chest is found at a
|
||||||
# This might be useful if you're removing shop chests with WorldEdit, resetting plots, or similar
|
# shop's location.
|
||||||
|
# This might be useful if you're removing shop chests with WorldEdit,
|
||||||
|
# resetting plots, or similar
|
||||||
remove-shop-on-error: false
|
remove-shop-on-error: false
|
||||||
|
|
||||||
# Set whether the mouse buttons should be inverted.
|
# Set whether the mouse buttons should be inverted.
|
||||||
@ -97,10 +112,12 @@ remove-shop-on-error: false
|
|||||||
# Left-Click -> Sell
|
# Left-Click -> Sell
|
||||||
invert-mouse-buttons: false
|
invert-mouse-buttons: false
|
||||||
|
|
||||||
# Set the maximal distance (in blocks) to the shop where the player can see the hologram.
|
# Set the maximal distance (in blocks) to the shop where the
|
||||||
|
# player can see the hologram.
|
||||||
maximal-distance: 2
|
maximal-distance: 2
|
||||||
|
|
||||||
# Set the maximal distance (in blocks) to the shop where the player can see the floating shop item.
|
# Set the maximal distance (in blocks) to the shop where the
|
||||||
|
# player can see the floating shop item.
|
||||||
maximal-item-distance: 40
|
maximal-item-distance: 40
|
||||||
|
|
||||||
# Set the time in seconds between automatic shop reloads.
|
# Set the time in seconds between automatic shop reloads.
|
||||||
@ -174,7 +191,8 @@ database:
|
|||||||
# (You can leave this empty if you're using SQLite)
|
# (You can leave this empty if you're using SQLite)
|
||||||
mysql:
|
mysql:
|
||||||
|
|
||||||
# ...interval in seconds, when the database should be pinged, to keep the connection alive
|
# ...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
|
# You can set this to '0' to disable the ping interval
|
||||||
ping-interval: 3600
|
ping-interval: 3600
|
||||||
|
|
||||||
@ -203,6 +221,8 @@ shop-limits:
|
|||||||
# If set to true, admin shops won't be added to a player's shop count.
|
# If set to true, admin shops won't be added to a player's shop count.
|
||||||
exclude-admin-shops: true
|
exclude-admin-shops: true
|
||||||
|
|
||||||
# Set the amount of shops that anyone who doesn't have a specific permission may have.
|
# Set the amount of shops that anyone who doesn't have a
|
||||||
# If you don't want the players to have a limit by default, set the value to -1.
|
# specific permission may have.
|
||||||
|
# If you don't want the players to have a limit by default
|
||||||
|
# set the value to -1.
|
||||||
default: 5
|
default: 5
|
Loading…
Reference in New Issue
Block a user