config.yml
Source:
/var/www/api/verifybot/knowledge/source/ultimateclans/9/addons/ClanChest/config.yml
# Clan AI Knowledge Metadata
# product: UltimateClans
# version: 9.x
# component_type: addon
# component: ClanChest
# source_path: addons/ClanChest/config.yml
# user_facing_language: English
Config:
#It is very important to use Mysql if possible due to the large data traffic caused
#by clan chests, or even think about having a moderate amount of enabled pages per clan.
Chest:
forge_open-gui: true
extra_chest_limit: 1
extra_chest_price: 1000.0
extra_chest_price_multiplier: 2.5
extra_chest_permission_buy: uclans.player.vip
#You can configure active saving of chests, time is counted in seconds
#If active save is turned off the chest is only saved when the inventory is closed or the page is changed
save:
active: true
time: 5
#On-demand loading loads the chests only when they are needed.
#In case of errors use in 'false'
load:
ondemand: true
animated: true
tick_sound: BLOCK_LAVA_POP
default: 1
# format: CLAN_CHESTS/REQUIRED_LEVEL
#You can add multiple chests for various clan levels.
#example:
# unlocker:
# '1': 1 #The clan can have 1 chest if it is level 1
# '5': 10 #The clan can have 5 chest if it is level 10
# '10': 30 #The clan can have 10 chest if it is level 30
#
#Use '1': 0 to not need levels for 1 chest
unlocker: [
]
#in ticks. recommended above 20 ticks. (do not use 0). for sync recommended double ...high.sync_delay
time_to_open: 40
# With this option you can disable certain items or items with certain NBTs from being placed in the chest
disabled:
items:
- ENDER_CHEST
nbts:
- '123456'
Icon:
click_sound: ''
material: CHEST
name: <green>Shared Chest
lore:
- ''
- ' <white>Extra Limit: <aqua>%uclans_chest_extra%<gray>/<aqua>%uclans_chest_limit%'
- ' '
- ' <yellow>Click to open shared Chest.'
glow: false
slot: 41
page: clan_home
texture: ''
# avaliable: TOP, BOTTOM, BORDER, ALL or numeric list
mimeslots: [
]
nbt:
string: [
]
model: 0
left_click_action:
- /{_clan} {_chest} {_open}
right_click_action:
- /{_clan} {_chest} {_open}
#Permissions are for advanced connoisseurs, be careful when editing this!
Permissions:
buy:
name: Chest-Buy
default_value: true
applicable_roles:
- moderator
- admin
open:
name: Chest-Open
default_value: true
applicable_roles:
- member
- moderator
- admin
logger:
enable_colors: true
plugin_material: CHEST
plugin_name: Chest
events:
ClanChestUpgradeEvent: true
# CHEST STORAGE
Storage:
#mysql/sqlite (It is highly recommended to use mysql for better performance!!!)
type: sqlite
mysql:
host: localhost
port: 3306
base: YOUR-BASE-PRE-CREATED
#SSL is only valid for MYSQL, most servers are not necessary to use it as true.
useSSL: false
# Used for Mysql mandatory and optional for H2 and Sqlite (default: root)
user: root
# Used for Mysql mandatory and optional for H2 and Sqlite (default is empty)
pass: ''
databases:
chest_items_table: uclans_chest-items
chest_info_table: uclans_chest-info
# https://github.com/brettwooldridge/HikariCP#popular-datasource-class-names
datasource:
mysql: jdbc:mysql://
mysql_class: ''
sqlite: 'jdbc:sqlite:'
sqlite_class: org.sqlite.JDBC