Version 2.1 & Config Updater

Also Implements #229
This commit is contained in:
Sn0wStorm
2020-04-08 13:12:33 +02:00
parent 0e5893472b
commit 44310e0e36
18 changed files with 297 additions and 14 deletions
+28 -1
View File
@@ -46,6 +46,10 @@ drainItems:
# Time (in days) that drunkeness-data stays in memory after a player goes offline, to apply hangover etc. [7]
hangoverDays: 7
# If crafting and using of the Brew Sealing Table is enabled (2 Bottles over 4 Planks) [true, true]
craftSealingTable: true
enableSealingTable: true
# Color the Item information (lore) depending on quality while it is 1. in a barrel and/or 2. in a brewing stand [true, true]
colorInBarrels: true
colorInBrewer: true
@@ -66,6 +70,7 @@ maxBrewsInMCBarrels: 6
# hacked clients from reading what exactly was used to brew an item, the data can be encoded/scrambled.
# This is a fast process to stop players from hacking out recipes, once they get hold of a brew.
# Only drawback: brew items can only be used on another server with the same encodeKey.
# When using Brews on multiple (BungeeCord) Servers, define a shared Database below at 'multiServerDB'
# So enable this if you want to make recipe cheating harder, but don't share any brews by world download, schematics, or other means. [false]
enableEncode: false
encodeKey: 0
@@ -81,7 +86,7 @@ autosave: 3
debug: false
# Config Version
version: '2.0'
version: '2.1'
oldMat: true
@@ -423,6 +428,28 @@ useCitadel: true
useLogBlock: true
# -- MultiServer/BungeeCord --
# If Brewery is running on multiple connected Servers (via BungeeCord)
# a shared Database can be used here to synchronise drunkeness and to be able to use encoded brews between them.
multiServerDB:
# If using the Database is enabled
enabled: false
# If the drunkeness of players should be synchronised between Servers
syncDrunkeness: true
host: localhost
port: '3306'
user: minec
password: xyz
database: base
# -- Various Other Settings --
# If items in Offhand should be added to the cauldron as well [false]
useOffhandForCauldron: false
# -- Chat Distortion Settings --
# If written Chat is distorted when the Player is Drunk, so that it looks like drunk writing