mirror of
https://github.com/exituser/Brewery.git
synced 2026-09-17 04:19:01 +00:00
Update 3.1
This commit is contained in:
@@ -28,7 +28,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.github.DieReicheErethons</groupId>
|
<groupId>com.github.DieReicheErethons</groupId>
|
||||||
<artifactId>Brewery</artifactId>
|
<artifactId>Brewery</artifactId>
|
||||||
<version>3.0</version>
|
<version>3.1</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<groupId>com.dre</groupId>
|
<groupId>com.dre</groupId>
|
||||||
<artifactId>Brewery</artifactId>
|
<artifactId>Brewery</artifactId>
|
||||||
<version>3.0</version>
|
<version>3.1</version>
|
||||||
<name>Brewery</name>
|
<name>Brewery</name>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
|||||||
@@ -52,6 +52,8 @@ drainItems:
|
|||||||
# Partikel steigen von Kesseln auf wenn sie Zutaten und eine Feuerquelle haben [true]
|
# Partikel steigen von Kesseln auf wenn sie Zutaten und eine Feuerquelle haben [true]
|
||||||
# Die sich ändernde Farbe der Partikel kann beim Fermentieren mancher Rezepte helfen
|
# Die sich ändernde Farbe der Partikel kann beim Fermentieren mancher Rezepte helfen
|
||||||
enableCauldronParticles: true
|
enableCauldronParticles: true
|
||||||
|
# Ob nur ein Minimum an Kessel-Partikeln dargestellt werden sollen [false]
|
||||||
|
minimalParticles: false
|
||||||
|
|
||||||
# Ob das craften und das benutzen des Trank-Versiegelungs-Tisches aktiviert ist (2 Flaschen über 4 Holz) [true, true]
|
# Ob das craften und das benutzen des Trank-Versiegelungs-Tisches aktiviert ist (2 Flaschen über 4 Holz) [true, true]
|
||||||
craftSealingTable: true
|
craftSealingTable: true
|
||||||
@@ -86,7 +88,7 @@ autosave: 3
|
|||||||
debug: false
|
debug: false
|
||||||
|
|
||||||
# Config Version
|
# Config Version
|
||||||
version: '3.0'
|
version: '3.1'
|
||||||
oldMat: true
|
oldMat: true
|
||||||
|
|
||||||
|
|
||||||
@@ -507,9 +509,6 @@ colorInBrewer: true
|
|||||||
# Ob große Fässer an jedem Block geöffnet werden können, nicht nur an Zapfhahn und Schild. Bei kleinen Fässern geht dies immer. [true]
|
# Ob große Fässer an jedem Block geöffnet werden können, nicht nur an Zapfhahn und Schild. Bei kleinen Fässern geht dies immer. [true]
|
||||||
openLargeBarrelEverywhere: true
|
openLargeBarrelEverywhere: true
|
||||||
|
|
||||||
# Ob nur ein Minimum an Kessel-Partikeln dargestellt werden sollen [false]
|
|
||||||
minimalParticles: false
|
|
||||||
|
|
||||||
# Ob das Entleeren von Brewery Tränken mit Hilfe von Trichtern möglich ist, um die Glasflasche zurück zu bekommen [true]
|
# Ob das Entleeren von Brewery Tränken mit Hilfe von Trichtern möglich ist, um die Glasflasche zurück zu bekommen [true]
|
||||||
brewHopperDump: true
|
brewHopperDump: true
|
||||||
|
|
||||||
|
|||||||
@@ -52,6 +52,8 @@ drainItems:
|
|||||||
# Show Particles over Cauldrons when they have ingredients and a heat source. [true]
|
# Show Particles over Cauldrons when they have ingredients and a heat source. [true]
|
||||||
# The changing color of the particles can help with timing some recipes
|
# The changing color of the particles can help with timing some recipes
|
||||||
enableCauldronParticles: true
|
enableCauldronParticles: true
|
||||||
|
# If Cauldron Particles should be reduced to the bare minimum [false]
|
||||||
|
minimalParticles: false
|
||||||
|
|
||||||
# If crafting and using of the Brew Sealing Table is enabled (2 Bottles over 4 Planks) [true, true]
|
# If crafting and using of the Brew Sealing Table is enabled (2 Bottles over 4 Planks) [true, true]
|
||||||
craftSealingTable: true
|
craftSealingTable: true
|
||||||
@@ -87,7 +89,7 @@ autosave: 3
|
|||||||
debug: false
|
debug: false
|
||||||
|
|
||||||
# Config Version
|
# Config Version
|
||||||
version: '3.0'
|
version: '3.1'
|
||||||
oldMat: true
|
oldMat: true
|
||||||
|
|
||||||
|
|
||||||
@@ -508,9 +510,6 @@ colorInBrewer: true
|
|||||||
# If a Large Barrel can be opened by clicking on any of its blocks, not just Spigot or Sign. This is always true for Small Barrels. [true]
|
# If a Large Barrel can be opened by clicking on any of its blocks, not just Spigot or Sign. This is always true for Small Barrels. [true]
|
||||||
openLargeBarrelEverywhere: true
|
openLargeBarrelEverywhere: true
|
||||||
|
|
||||||
# If Cauldron Particles should be reduced to the bare minimum [false]
|
|
||||||
minimalParticles: false
|
|
||||||
|
|
||||||
# Allow emptying brews into hoppers to discard brews while keeping the glass bottle [true]
|
# Allow emptying brews into hoppers to discard brews while keeping the glass bottle [true]
|
||||||
brewHopperDump: true
|
brewHopperDump: true
|
||||||
|
|
||||||
|
|||||||
@@ -53,6 +53,8 @@ drainItems:
|
|||||||
# Show Particles over Cauldrons when they have ingredients and a heat source. [true]
|
# Show Particles over Cauldrons when they have ingredients and a heat source. [true]
|
||||||
# The changing color of the particles can help with timing some recipes
|
# The changing color of the particles can help with timing some recipes
|
||||||
enableCauldronParticles: true
|
enableCauldronParticles: true
|
||||||
|
# If Cauldron Particles should be reduced to the bare minimum [false]
|
||||||
|
minimalParticles: false
|
||||||
|
|
||||||
# If crafting and using of the Brew Sealing Table is enabled (2 Bottles over 4 Planks) [true, true]
|
# If crafting and using of the Brew Sealing Table is enabled (2 Bottles over 4 Planks) [true, true]
|
||||||
craftSealingTable: true
|
craftSealingTable: true
|
||||||
@@ -88,7 +90,7 @@ autosave: 3
|
|||||||
debug: false
|
debug: false
|
||||||
|
|
||||||
# Version de configuration
|
# Version de configuration
|
||||||
version: '3.0'
|
version: '3.1'
|
||||||
oldMat: true
|
oldMat: true
|
||||||
|
|
||||||
|
|
||||||
@@ -503,9 +505,6 @@ colorInBrewer: true
|
|||||||
# Si le grand tonneau peut être ouvert en cliquant sur n'importe quel bloc, non seulement le robinet ou le panneau. Toujours "true" pour les petits tonneaux. [true]
|
# Si le grand tonneau peut être ouvert en cliquant sur n'importe quel bloc, non seulement le robinet ou le panneau. Toujours "true" pour les petits tonneaux. [true]
|
||||||
openLargeBarrelEverywhere: true
|
openLargeBarrelEverywhere: true
|
||||||
|
|
||||||
# If Cauldron Particles should be reduced to the bare minimum [false]
|
|
||||||
minimalParticles: false
|
|
||||||
|
|
||||||
# Allow emptying brews into hoppers to discard brews while keeping the glass bottle [true]
|
# Allow emptying brews into hoppers to discard brews while keeping the glass bottle [true]
|
||||||
brewHopperDump: true
|
brewHopperDump: true
|
||||||
|
|
||||||
|
|||||||
@@ -52,6 +52,8 @@ drainItems:
|
|||||||
# Show particles over cauldrons when they have ingredients and a heat source. [true]
|
# Show particles over cauldrons when they have ingredients and a heat source. [true]
|
||||||
# The changing color of the particles can help with timing some recipes
|
# The changing color of the particles can help with timing some recipes
|
||||||
enableCauldronParticles: true
|
enableCauldronParticles: true
|
||||||
|
# If Cauldron Particles should be reduced to the bare minimum [false]
|
||||||
|
minimalParticles: false
|
||||||
|
|
||||||
# If crafting and using of the Brew Sealing Table is enabled (2 Bottles over 4 Planks) [true, true]
|
# If crafting and using of the Brew Sealing Table is enabled (2 Bottles over 4 Planks) [true, true]
|
||||||
craftSealingTable: true
|
craftSealingTable: true
|
||||||
@@ -87,7 +89,7 @@ autosave: 3
|
|||||||
debug: false
|
debug: false
|
||||||
|
|
||||||
# Versione del config
|
# Versione del config
|
||||||
version: '3.0'
|
version: '3.1'
|
||||||
oldMat: true
|
oldMat: true
|
||||||
|
|
||||||
|
|
||||||
@@ -495,9 +497,6 @@ colorInBrewer: true
|
|||||||
# Se un barile grande può essere aperto cliccandoci sopra, non solo sul cartello e sulla staccionata. Questo è sempre true per i barili piccoli. [true]
|
# Se un barile grande può essere aperto cliccandoci sopra, non solo sul cartello e sulla staccionata. Questo è sempre true per i barili piccoli. [true]
|
||||||
openLargeBarrelEverywhere: true
|
openLargeBarrelEverywhere: true
|
||||||
|
|
||||||
# If Cauldron Particles should be reduced to the bare minimum [false]
|
|
||||||
minimalParticles: false
|
|
||||||
|
|
||||||
# Allow emptying brews into hoppers to discard brews while keeping the glass bottle [true]
|
# Allow emptying brews into hoppers to discard brews while keeping the glass bottle [true]
|
||||||
brewHopperDump: true
|
brewHopperDump: true
|
||||||
|
|
||||||
|
|||||||
@@ -52,6 +52,8 @@ drainItems:
|
|||||||
# Partikel steigen von Kesseln auf wenn sie Zutaten und eine Feuerquelle haben [true]
|
# Partikel steigen von Kesseln auf wenn sie Zutaten und eine Feuerquelle haben [true]
|
||||||
# Die sich ändernde Farbe der Partikel kann beim Fermentieren mancher Rezepte helfen
|
# Die sich ändernde Farbe der Partikel kann beim Fermentieren mancher Rezepte helfen
|
||||||
enableCauldronParticles: true
|
enableCauldronParticles: true
|
||||||
|
# Ob nur ein Minimum an Kessel-Partikeln dargestellt werden sollen [false]
|
||||||
|
minimalParticles: false
|
||||||
|
|
||||||
# Ob das craften und das benutzen des Trank-Versiegelungs-Tisches aktiviert ist (2 Flaschen über 4 Holz) [true, true]
|
# Ob das craften und das benutzen des Trank-Versiegelungs-Tisches aktiviert ist (2 Flaschen über 4 Holz) [true, true]
|
||||||
craftSealingTable: true
|
craftSealingTable: true
|
||||||
@@ -86,7 +88,7 @@ autosave: 3
|
|||||||
debug: false
|
debug: false
|
||||||
|
|
||||||
# Config Version
|
# Config Version
|
||||||
version: '3.0'
|
version: '3.1'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -905,9 +907,6 @@ colorInBrewer: true
|
|||||||
# Ob große Fässer an jedem Block geöffnet werden können, nicht nur an Zapfhahn und Schild. Bei kleinen Fässern geht dies immer. [true]
|
# Ob große Fässer an jedem Block geöffnet werden können, nicht nur an Zapfhahn und Schild. Bei kleinen Fässern geht dies immer. [true]
|
||||||
openLargeBarrelEverywhere: true
|
openLargeBarrelEverywhere: true
|
||||||
|
|
||||||
# Ob nur ein Minimum an Kessel-Partikeln dargestellt werden sollen [false]
|
|
||||||
minimalParticles: false
|
|
||||||
|
|
||||||
# Ob das Entleeren von Brewery Tränken mit Hilfe von Trichtern möglich ist, um die Glasflasche zurück zu bekommen [true]
|
# Ob das Entleeren von Brewery Tränken mit Hilfe von Trichtern möglich ist, um die Glasflasche zurück zu bekommen [true]
|
||||||
brewHopperDump: true
|
brewHopperDump: true
|
||||||
|
|
||||||
|
|||||||
@@ -52,6 +52,8 @@ drainItems:
|
|||||||
# Show Particles over Cauldrons when they have ingredients and a heat source. [true]
|
# Show Particles over Cauldrons when they have ingredients and a heat source. [true]
|
||||||
# The changing color of the particles can help with timing some recipes
|
# The changing color of the particles can help with timing some recipes
|
||||||
enableCauldronParticles: true
|
enableCauldronParticles: true
|
||||||
|
# If Cauldron Particles should be reduced to the bare minimum [false]
|
||||||
|
minimalParticles: false
|
||||||
|
|
||||||
# If crafting and using of the Brew Sealing Table is enabled (2 Bottles over 4 Planks) [true, true]
|
# If crafting and using of the Brew Sealing Table is enabled (2 Bottles over 4 Planks) [true, true]
|
||||||
craftSealingTable: true
|
craftSealingTable: true
|
||||||
@@ -87,7 +89,7 @@ autosave: 3
|
|||||||
debug: false
|
debug: false
|
||||||
|
|
||||||
# Config Version
|
# Config Version
|
||||||
version: '3.0'
|
version: '3.1'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -898,9 +900,6 @@ colorInBrewer: true
|
|||||||
# If a Large Barrel can be opened by clicking on any of its blocks, not just Spigot or Sign. This is always true for Small Barrels. [true]
|
# If a Large Barrel can be opened by clicking on any of its blocks, not just Spigot or Sign. This is always true for Small Barrels. [true]
|
||||||
openLargeBarrelEverywhere: true
|
openLargeBarrelEverywhere: true
|
||||||
|
|
||||||
# If Cauldron Particles should be reduced to the bare minimum [false]
|
|
||||||
minimalParticles: false
|
|
||||||
|
|
||||||
# Allow emptying brews into hoppers to discard brews while keeping the glass bottle [true]
|
# Allow emptying brews into hoppers to discard brews while keeping the glass bottle [true]
|
||||||
brewHopperDump: true
|
brewHopperDump: true
|
||||||
|
|
||||||
|
|||||||
@@ -52,6 +52,8 @@ drainItems:
|
|||||||
# Show Particles over Cauldrons when they have ingredients and a heat source. [true]
|
# Show Particles over Cauldrons when they have ingredients and a heat source. [true]
|
||||||
# The changing color of the particles can help with timing some recipes
|
# The changing color of the particles can help with timing some recipes
|
||||||
enableCauldronParticles: true
|
enableCauldronParticles: true
|
||||||
|
# If Cauldron Particles should be reduced to the bare minimum [false]
|
||||||
|
minimalParticles: false
|
||||||
|
|
||||||
# If crafting and using of the Brew Sealing Table is enabled (2 Bottles over 4 Planks) [true, true]
|
# If crafting and using of the Brew Sealing Table is enabled (2 Bottles over 4 Planks) [true, true]
|
||||||
craftSealingTable: true
|
craftSealingTable: true
|
||||||
@@ -87,7 +89,7 @@ autosave: 3
|
|||||||
debug: false
|
debug: false
|
||||||
|
|
||||||
# Config Version
|
# Config Version
|
||||||
version: '3.0'
|
version: '3.1'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -897,9 +899,6 @@ colorInBrewer: true
|
|||||||
# If a Large Barrel can be opened by clicking on any of its blocks, not just Spigot or Sign. This is always true for Small Barrels. [true]
|
# If a Large Barrel can be opened by clicking on any of its blocks, not just Spigot or Sign. This is always true for Small Barrels. [true]
|
||||||
openLargeBarrelEverywhere: true
|
openLargeBarrelEverywhere: true
|
||||||
|
|
||||||
# If Cauldron Particles should be reduced to the bare minimum [false]
|
|
||||||
minimalParticles: false
|
|
||||||
|
|
||||||
# Allow emptying brews into hoppers to discard brews while keeping the glass bottle [true]
|
# Allow emptying brews into hoppers to discard brews while keeping the glass bottle [true]
|
||||||
brewHopperDump: true
|
brewHopperDump: true
|
||||||
|
|
||||||
|
|||||||
@@ -53,6 +53,8 @@ drainItems:
|
|||||||
# Show Particles over Cauldrons when they have ingredients and a heat source. [true]
|
# Show Particles over Cauldrons when they have ingredients and a heat source. [true]
|
||||||
# The changing color of the particles can help with timing some recipes
|
# The changing color of the particles can help with timing some recipes
|
||||||
enableCauldronParticles: true
|
enableCauldronParticles: true
|
||||||
|
# If Cauldron Particles should be reduced to the bare minimum [false]
|
||||||
|
minimalParticles: false
|
||||||
|
|
||||||
# If crafting and using of the Brew Sealing Table is enabled (2 Bottles over 4 Planks) [true, true]
|
# If crafting and using of the Brew Sealing Table is enabled (2 Bottles over 4 Planks) [true, true]
|
||||||
craftSealingTable: true
|
craftSealingTable: true
|
||||||
@@ -88,7 +90,7 @@ autosave: 3
|
|||||||
debug: false
|
debug: false
|
||||||
|
|
||||||
# Version de configuration
|
# Version de configuration
|
||||||
version: '3.0'
|
version: '3.1'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -903,9 +905,6 @@ colorInBrewer: true
|
|||||||
# Si le grand tonneau peut être ouvert en cliquant sur n'importe quel bloc, non seulement le robinet ou le panneau. Toujours "true" pour les petits tonneaux. [true]
|
# Si le grand tonneau peut être ouvert en cliquant sur n'importe quel bloc, non seulement le robinet ou le panneau. Toujours "true" pour les petits tonneaux. [true]
|
||||||
openLargeBarrelEverywhere: true
|
openLargeBarrelEverywhere: true
|
||||||
|
|
||||||
# If Cauldron Particles should be reduced to the bare minimum [false]
|
|
||||||
minimalParticles: false
|
|
||||||
|
|
||||||
# Allow emptying brews into hoppers to discard brews while keeping the glass bottle [true]
|
# Allow emptying brews into hoppers to discard brews while keeping the glass bottle [true]
|
||||||
brewHopperDump: true
|
brewHopperDump: true
|
||||||
|
|
||||||
|
|||||||
@@ -52,6 +52,8 @@ drainItems:
|
|||||||
# Show Particles over Cauldrons when they have ingredients and a heat source. [true]
|
# Show Particles over Cauldrons when they have ingredients and a heat source. [true]
|
||||||
# The changing color of the particles can help with timing some recipes
|
# The changing color of the particles can help with timing some recipes
|
||||||
enableCauldronParticles: true
|
enableCauldronParticles: true
|
||||||
|
# If Cauldron Particles should be reduced to the bare minimum [false]
|
||||||
|
minimalParticles: false
|
||||||
|
|
||||||
# If crafting and using of the Brew Sealing Table is enabled (2 Bottles over 4 Planks) [true, true]
|
# If crafting and using of the Brew Sealing Table is enabled (2 Bottles over 4 Planks) [true, true]
|
||||||
craftSealingTable: true
|
craftSealingTable: true
|
||||||
@@ -87,7 +89,7 @@ autosave: 3
|
|||||||
debug: false
|
debug: false
|
||||||
|
|
||||||
# Versione del config
|
# Versione del config
|
||||||
version: '3.0'
|
version: '3.1'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -897,9 +899,6 @@ colorInBrewer: true
|
|||||||
# Se un barile grande può essere aperto cliccandoci sopra, non solo sul cartello e sulla staccionata. Questo è sempre true per i barili piccoli. [true]
|
# Se un barile grande può essere aperto cliccandoci sopra, non solo sul cartello e sulla staccionata. Questo è sempre true per i barili piccoli. [true]
|
||||||
openLargeBarrelEverywhere: true
|
openLargeBarrelEverywhere: true
|
||||||
|
|
||||||
# If Cauldron Particles should be reduced to the bare minimum [false]
|
|
||||||
minimalParticles: false
|
|
||||||
|
|
||||||
# Allow emptying brews into hoppers to discard brews while keeping the glass bottle [true]
|
# Allow emptying brews into hoppers to discard brews while keeping the glass bottle [true]
|
||||||
brewHopperDump: true
|
brewHopperDump: true
|
||||||
|
|
||||||
|
|||||||
@@ -54,6 +54,8 @@ drainItems:
|
|||||||
# Show Particles over Cauldrons when they have ingredients and a heat source. [true]
|
# Show Particles over Cauldrons when they have ingredients and a heat source. [true]
|
||||||
# The changing color of the particles can help with timing some recipes
|
# The changing color of the particles can help with timing some recipes
|
||||||
enableCauldronParticles: true
|
enableCauldronParticles: true
|
||||||
|
# If Cauldron Particles should be reduced to the bare minimum [false]
|
||||||
|
minimalParticles: false
|
||||||
|
|
||||||
# If crafting and using of the Brew Sealing Table is enabled (2 Bottles over 4 Planks) [true, true]
|
# If crafting and using of the Brew Sealing Table is enabled (2 Bottles over 4 Planks) [true, true]
|
||||||
craftSealingTable: true
|
craftSealingTable: true
|
||||||
@@ -89,7 +91,7 @@ autosave: 3
|
|||||||
debug: false
|
debug: false
|
||||||
|
|
||||||
# 配置文件版本
|
# 配置文件版本
|
||||||
version: '3.0'
|
version: '3.1'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -901,9 +903,6 @@ colorInBrewer: true
|
|||||||
# 大型熟成木桶可以通过右击桶身任意一个位置来打开, 而不需要专门右击其龙头. 这一操作对小型酒桶总为真.[true]
|
# 大型熟成木桶可以通过右击桶身任意一个位置来打开, 而不需要专门右击其龙头. 这一操作对小型酒桶总为真.[true]
|
||||||
openLargeBarrelEverywhere: false
|
openLargeBarrelEverywhere: false
|
||||||
|
|
||||||
# If Cauldron Particles should be reduced to the bare minimum [false]
|
|
||||||
minimalParticles: false
|
|
||||||
|
|
||||||
# Allow emptying brews into hoppers to discard brews while keeping the glass bottle [true]
|
# Allow emptying brews into hoppers to discard brews while keeping the glass bottle [true]
|
||||||
brewHopperDump: true
|
brewHopperDump: true
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
name: Brewery
|
name: Brewery
|
||||||
version: 3.0
|
version: 3.1
|
||||||
main: com.dre.brewery.P
|
main: com.dre.brewery.P
|
||||||
softdepend: [LWC, LogBlock, WorldGuard, GriefPrevention, Vault, ChestShop, Shopkeepers, Towny, BlockLocker]
|
softdepend: [LWC, LogBlock, WorldGuard, GriefPrevention, Vault, ChestShop, Shopkeepers, Towny, BlockLocker]
|
||||||
authors: [Milan Albrecht, Frank Baumann, ProgrammerDan, Daniel Saukel]
|
authors: [Milan Albrecht, Frank Baumann, ProgrammerDan, Daniel Saukel]
|
||||||
|
|||||||
@@ -364,7 +364,15 @@ public class P extends JavaPlugin {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}));
|
}));
|
||||||
|
metrics.addCustomChart(new SimplePie("cauldron_particles", () -> {
|
||||||
|
if (!BConfig.enableCauldronParticles) {
|
||||||
|
return "disabled";
|
||||||
|
}
|
||||||
|
if (BConfig.minimalParticles) {
|
||||||
|
return "minimal";
|
||||||
|
}
|
||||||
|
return "enabled";
|
||||||
|
}));
|
||||||
metrics.addCustomChart(new SimplePie("wakeups", () -> {
|
metrics.addCustomChart(new SimplePie("wakeups", () -> {
|
||||||
if (!BConfig.enableWake) {
|
if (!BConfig.enableWake) {
|
||||||
return "disabled";
|
return "disabled";
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ import java.util.Map;
|
|||||||
|
|
||||||
public class BConfig {
|
public class BConfig {
|
||||||
|
|
||||||
public static final String configVersion = "3.0";
|
public static final String configVersion = "3.1";
|
||||||
public static boolean updateCheck;
|
public static boolean updateCheck;
|
||||||
public static CommandSender reloader;
|
public static CommandSender reloader;
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,6 @@ import java.io.*;
|
|||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
|
||||||
import java.util.Objects;
|
import java.util.Objects;
|
||||||
|
|
||||||
public class ConfigUpdater {
|
public class ConfigUpdater {
|
||||||
@@ -250,9 +249,17 @@ public class ConfigUpdater {
|
|||||||
} else {
|
} else {
|
||||||
update30en();
|
update30en();
|
||||||
}
|
}
|
||||||
updateVersion(BConfig.configVersion);
|
|
||||||
fromVersion = "3.0";
|
fromVersion = "3.0";
|
||||||
}
|
}
|
||||||
|
if (fromVersion.equals("3.0")) {
|
||||||
|
if (de) {
|
||||||
|
update31de();
|
||||||
|
} else {
|
||||||
|
update31en();
|
||||||
|
}
|
||||||
|
updateVersion(BConfig.configVersion);
|
||||||
|
fromVersion = "3.1";
|
||||||
|
}
|
||||||
|
|
||||||
if (P.use1_13 && oldMat) {
|
if (P.use1_13 && oldMat) {
|
||||||
updateMaterials(true);
|
updateMaterials(true);
|
||||||
@@ -2004,6 +2011,20 @@ public class ConfigUpdater {
|
|||||||
"minimalParticles: false");
|
"minimalParticles: false");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void update31en() {
|
||||||
|
addLinesAt(new String[]{"minimalParticles:", "loadDataAsync:", "openLargeBarrelEverywhere:", "colorInBrewer:"}, 1,
|
||||||
|
"",
|
||||||
|
"# Allow emptying brews into hoppers to discard brews while keeping the glass bottle [true]",
|
||||||
|
"brewHopperDump: true");
|
||||||
|
}
|
||||||
|
|
||||||
|
private void update31de() {
|
||||||
|
addLinesAt(new String[]{"minimalParticles:", "loadDataAsync:", "openLargeBarrelEverywhere:", "colorInBrewer:"}, 1,
|
||||||
|
"",
|
||||||
|
"# Ob das Entleeren von Brewery Tränken mit Hilfe von Trichtern möglich ist, um die Glasflasche zurück zu bekommen [true]",
|
||||||
|
"brewHopperDump: true");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
private void convertCookedSection(FileConfiguration yml, int toLine) {
|
private void convertCookedSection(FileConfiguration yml, int toLine) {
|
||||||
|
|||||||
Reference in New Issue
Block a user