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
+29 -1
View File
@@ -46,6 +46,10 @@ drainItems:
# Zeit (in Tagen) die Trunkenheitsdaten nach offlinegehen eines Spielers im Speicher verbleiben, um z.B. Kater-Effekte anzuwenden. [7]
hangoverDays: 7
# Ob das craften und das benutzen des Trank-Versiegelungs-Tisches aktiviert ist (2 Flaschen über 4 Holz) [true, true]
craftSealingTable: true
enableSealingTable: true
# Färben der Iteminformationen je nach Qualität während sie sich 1. im Fass und/oder 2. im Braustand befinden [true, true]
colorInBarrels: true
colorInBrewer: true
@@ -65,6 +69,7 @@ maxBrewsInMCBarrels: 6
# Benutzte Zutaten und andere Brau-Daten werden in allen Brewery Tränken gespeichert. Um zu verhindern,
# dass gehackte clients diese Daten auslesen um Rezepte herauszufinden, können diese encodiert werden.
# Einziger Nachteil: Tränke können nur auf Servern mit dem gleichen encodeKey benutzt werden.
# Wenn Brewery Tränke auf mehreren (Bungeecord) Servern benutzt werden, unten unter 'multiServerDB' eine gemeinsame Datenbank eintragen.
# Dies kann also aktiviert werden um Rezept-cheating schwerer zu machen, aber keine Tränke per World Download, Schematic, o.ä. geteilt werden. [false]
enableEncode: false
encodeKey: 0
@@ -80,7 +85,7 @@ autosave: 3
debug: false
# Config Version
version: '2.0'
version: '2.1'
oldMat: true
@@ -421,6 +426,29 @@ useCitadel: true
useLogBlock: true
# -- MultiServer/BungeeCord --
# Wenn Brewery auf mehreren Servern läuft und diese zB mit BungeeCord verbunden sind,
# sollte hier eine gemeinsame Datenbank eingetragen werden.
# Dann wird Betrunkenheit auf den Servern synchronisiert und encodierte Tränke können auf allen Servern benutzt werden.
multiServerDB:
# Soll die Datenbank-Synchronisation aktiviert sein
enabled: false
# Soll die Betrunkenheit von Spielern synchronisiert werden
syncDrunkeness: true
host: localhost
port: '3306'
user: minec
password: xyz
database: base
# -- Verschiedene weitere Einstellungen --
# Ob Items in der Zweithand auch in den Kessel geworfen werden sollen [false]
useOffhandForCauldron: false
# -- Chat Veränderungs Einstellungen --
# Ob geschriebener Chat bei großer Trunkenheit abgefälscht werden soll,
+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
+28 -1
View File
@@ -47,6 +47,10 @@ drainItems:
# Temps (en jours) pour que les données d'ivresse restent sauvergardées lorsque le joueur est déconnecté, pour appliquer les effets. [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
# Colorer les informations d'objets (lore) au dépend de la qualité dans un tonneau et/ou dans un stand de brassage (l'alambic) [true, true]
colorInBarrels: true
colorInBrewer: true
@@ -67,6 +71,7 @@ maxBrewsInMCBarrels: 6
# Pour empêcher les clients piratés de lire exactement ce qui a été utilisé pour infuser un élément, les données peuvent être encodées/brouillées.
# Il s'agit d'un processus rapide pour empêcher les joueurs de pirater des recettes, une fois qu'ils mettent la main sur une bière.
# Seul inconvénient: Les boissons brassicoles ne peuvent être utilisés que sur un autre serveur avec la même clé de chiffrement.
# Lorsque vous utilisez des boissons brassicoles sur plusieurs serveurs (BungeeCord), définissez une base de données partagée ci-dessous à "multiServerDB".
# Activez cette option si vous voulez rendre la tricherie des recettes plus difficile, mais ne partagez pas les infusions par téléchargement mondial, schémas ou autres moyens.
enableEncode: false
encodeKey: 0
@@ -82,7 +87,7 @@ autosave: 3
debug: false
# Version de configuration
version: '2.0'
version: '2.1'
oldMat: true
@@ -418,6 +423,28 @@ useCitadel: true
useLogBlock: true
# -- MultiServer/BungeeCord --
# Si Brewery est exécuté sur plusieurs serveurs connectés (via BungeeCord), une base de données partagée peut être utilisée
# ici pour synchroniser l'ivresse et pour pouvoir utiliser des boissons codées entre elles.
multiServerDB:
# Si l'utilisation de la base de données est activée
enabled: false
# Si l'ivresse des joueurs devait être synchronisée entre les serveurs
syncDrunkeness: true
host: localhost
port: '3306'
user: minec
password: xyz
database: base
# -- Divers autres paramètres --
# If items in Offhand should be added to the cauldron as well [false]
useOffhandForCauldron: false
# -- Paramètres de la distorsion du Chat --
# Si le Chat écrit est déformé quand le joueur est ivre, de sorte qu'il ressemble à un chat bourré en train d'écrire
+28 -1
View File
@@ -46,6 +46,10 @@ drainItems:
# Tempo in giorni che la sbronza resta in memoria dopo che il giocatore va offline, cioè il tempo per cui i postumi della sbornia durano. [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
# Colora la descrizione dell'item in base alla qualità mentre è in un barile o in un alambicco [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
# Versione del config
version: '2.0'
version: '2.1'
oldMat: true
@@ -410,6 +415,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
# -- Imostazioni di distorsione della chat --
# If written Chat is distorted when the Player is Drunk,