Files
QuickShop-Reremake/src/main/resources/config.yml
T
Ghost_chu 0f00a1e452 BKCommonLib support for Advanced display-item protection.
Former-commit-id: c0684123ae1c7c4d065a0c6c192f4fec836096d6 [formerly 63482456f7d03fbe69be15961276f7a6bc363ceb]
Former-commit-id: 87c0be8bbd839cef194a85f85de0ff0081ad0455
2018-11-29 16:33:46 +08:00

212 lines
7.7 KiB
YAML

#Default config: https://github.com/KaiKikuchi/QuickShop/blob/master/src/main/resources/config.yml
#Do not touch if you not clear know about this
config-version: 12
#Do not touch if you not know what is this
dev-mode: false
#Tax amount (decimal) - Eg, P1 buys $50 worth of stuff from P2. Therefore, P1 loses $50, P2 gains $(1-0.05)*50, and tax-account gains $(0.05)*50.
tax: 0.05
#The fake player who money from taxing people goes to
tax-account: tax
#Whether or not to show taxes paid when selling to a shop
show-tax: false
#Should we log transactions/creations to Bukkit\Plugins\QuickShop\qs.log?
log-actions: true
#For item-item based economies that don't use virtual coins.
whole-number-prices-only: false
#Force bukkit chat handler (https://github.com/KaiKikuchi/QuickShop/issues/10)
force-bukkit-chat-handler: false
#Disallow QuickShop-Reremake send anonymous metrics data to bStats.
disabled-metrics: false
#Should allow QS to check update on SpigotMC.org?
updater: true
database:
mysql: false
host: localhost
port: 3306
database: quickshop
user: root
password: passwd
# Set prefix to "none" to remove prefix
prefix: none
# Beta! Use your own risk! Auto-Reconnect
reconnect: false
# Beta! Use VARCHAR for database to solve exception: "com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: BLOB/TEXT column 'owner' used in key specification without a key length"
# If you are using SQLite or all right, Please do not turn on this.
use-varchar: true
#Limits the number of shops a person can create and own at a single time.
limits:
#Disable these if you're not using them! If this is false, the rest of this section is ignored
use: false
#The default number of shops players can make
default: 10
#Use old algorithm to calc unlimited shops into limits.
old-algorithm: false
#Players with these permissions can create these amounts of shops.
ranks:
#Anyone with 'quickshop.vip' permissions, can create 20 shops instead of 10.
quickshop.vip: 20 #Players with quickshop.vip can make 20 shops.
#A list of block (materials) which can be used to create shops.
#By default, chests are added to this list.
#This will only work for blocks which implement InventoryHolder
#in other words, no enderchest shops, no shops on dirt blocks, etc.
#May cause unexpected behaviour with some blocks... Eg don't make a
#shop on a hopper (It sucks the display item in) and furnace shops
#allow players to put whatever item they want in all 3 slots and
#dispenser shops aren't protected from redstone... Etc.
shop-blocks:
- CHEST
- TRAPPED_CHEST
- ENDER_CHEST
shop:
#Cost to make a stall
cost: 10
#Should we refund when their shops are deleted/removed/broken?
refund: false
#Is there a fee for changing prices on a shop (Help deter endless undercutting)
price-change-requires-fee: true
#If price changes require a fee, how much is the fee
fee-for-price-change: 50
#Should we try and lock their shops from other players, so people can't steal from them?
lock: true
#Should we require players be sneaking to create and use shops?
sneak-to-create: false
sneak-to-trade: false
sneak-to-control: false
#Should we automatically create the sign for the chest?
auto-sign: true
#Should pay money from unlimited shops owner to player?
pay-unlimited-shop-owners: false
#Ignore check if player is shop's owner
bypass-owner-check: false
#Should we place display items on the chests? This may cause duped items, especially for modded servers.
display-items: true
#The plugin will check if the display item is in a valid position every the specified amount of ticks. 0 to disable.
display-items-check-ticks: 0
#Use name SafeGuard, Highly recommand turn on, If have trouble with other DropItem holo displauy, you can disabled it in there. BUT MAYBE CAUSE SOME ISSUES.
display-item-use-name: true
#When someone uses /qs find <item>, how far should we search in blocks?
#This command lets users shop quickly without wasting time searching
#Settings > 100 WILL cause lag. Don't do it, or don't cry when your server lags.
find-distance: 45
#If vault not return coins symbol, QuickShop will use this symbol to replace it.
alternate-currency-symbol: '$'
#Ignore trade messages if shop is unlimited
ignore-unlimited-shop-messages: false
#List of items to disallow selling of. Anyone with quickshop.bypass.<itemID> can bypass it
blacklist:
- Bedrock
# custom-potions-name:
# sign:
# format: "%variety%type"
# variety:
# normal: ""
# splash: "Splash"
# lingering: "Ling"
# shopinfo:
# format: "%variety %type"
# variety:
# normal: ""
# splash: "Splash"
# lingering: "Lingering"
# #Custom names for potions types. Format: <PotionType>;<CustomSignName>;<CustomFullName>
# # PotionType: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/potion/PotionType.html
# types:
# - INVISIBILITY;Invis;Invisibility
# #Custom names for potion effect type. Format: <PotionEffectType>;<CustomName>
# # PotionEffect: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/potion/PotionEffectType.html
# effects:
# - FIRE_RESISTANCE;Fire resistance
# - INVISIBILITY;Invisibility
protect:
#Protect shop item can or cannot pull out by HopperMincart (Will remove HopprtMincart
minecart: true
#Protect shop block can or cannot pick up by entity (Will remove Entity
entity: true
#Protect shop block can or cannot active by Redstone
redstone: true
#Protect shop block can or cannot break by something growup
structuregrow: true
#Protect shop block can or cannot break by Entity and Block explode
explode: true
#Protect shop block can or cannot pull out by Hopper
hopper: true
lockette:
private: "[Private]"
more_users: "[More Users]"
#Make Quickshop not cancel break lock sign event(Inpossible break locked chest)
#Float items advanced filter manager
#These all in testing and have many bugs, Use your own risk!
float:
enable: false
#If this is disabled, all options after this will not working.
item:
#Item filter
enable: false
blacklist: true
#true = use blacklist mode, in blacklist item will disallow spawn float item
#false = use whitelist mode, in whitelist item will allow spawn float item
list:
- STONE
- GRASS
#add item's BUKKIT NAME in there
lore:
enable: false
blacklist: true
#true = use blacklist mode, in blacklist item will disallow spawn float item
#false = use whitelist mode, in whitelist item will allow spawn float item
list:
- NOT FLOAT LORE
#add keywords in there, plugin will check it contain or not on items.
displayname:
enable: false
blacklist: true
#true = use blacklist mode, in blacklist item will disallow spawn float item
#false = use whitelist mode, in whitelist item will allow spawn float item
list:
- Super Sword(Can't float)
#add keywords in there, plugin will check it contain or not on items.
# Enable or disable plugin support.
plugin:
#If you have ProtocolLib, QSRR will enable Sign Input GUI not normal chat
ProtocolLib: true
#If you have Multiverse-Core, QSRR will try load world when shop's world not exist and throw out exception auto repair the shop.
Multiverse-Core: true
#If you have OpenInv, QSRR will enable EnderChest feature.
OpenInv: true
#If you have BKCommonLib, QSRR will enable advanced display-item protection.
BKCommonLib: true