mirror of
https://github.com/DieReicheErethons/Brewery.git
synced 2025-01-24 21:31:22 +01:00
Config option for BlockLocker
This commit is contained in:
parent
0b9b364f28
commit
48367acac3
@ -458,6 +458,7 @@ useWorldGuard: true
|
||||
useLWC: true
|
||||
useGriefPrevention: true
|
||||
useTowny: true
|
||||
useBlockLocker: true
|
||||
useGMInventories: true
|
||||
useCitadel: true
|
||||
|
||||
|
@ -460,6 +460,7 @@ useWorldGuard: true
|
||||
useLWC: true
|
||||
useGriefPrevention: true
|
||||
useTowny: true
|
||||
useBlockLocker: true
|
||||
useGMInventories: true
|
||||
useCitadel: true
|
||||
|
||||
|
@ -455,6 +455,7 @@ useWorldGuard: true
|
||||
useLWC: true
|
||||
useGriefPrevention: true
|
||||
useTowny: true
|
||||
useBlockLocker: true
|
||||
useGMInventories: true
|
||||
useCitadel: true
|
||||
|
||||
|
@ -447,6 +447,7 @@ useWorldGuard: true
|
||||
useLWC: true
|
||||
useGriefPrevention: true
|
||||
useTowny: true
|
||||
useBlockLocker: true
|
||||
useGMInventories: true
|
||||
useCitadel: true
|
||||
|
||||
|
@ -855,6 +855,7 @@ useWorldGuard: true
|
||||
useLWC: true
|
||||
useGriefPrevention: true
|
||||
useTowny: true
|
||||
useBlockLocker: true
|
||||
useGMInventories: true
|
||||
|
||||
# Beim Fass öffnen eine virtuelle Kiste nutzen um Rechte bei allen anderen Plugins abzufragen
|
||||
|
@ -849,6 +849,7 @@ useWorldGuard: true
|
||||
useLWC: true
|
||||
useGriefPrevention: true
|
||||
useTowny: true
|
||||
useBlockLocker: true
|
||||
useGMInventories: true
|
||||
|
||||
# Use a virtual chest when opening a Barrel to check with all other protection plugins
|
||||
|
@ -849,6 +849,7 @@ useWorldGuard: true
|
||||
useLWC: true
|
||||
useGriefPrevention: true
|
||||
useTowny: true
|
||||
useBlockLocker: true
|
||||
useGMInventories: true
|
||||
|
||||
# Use a virtual chest when opening a Barrel to check with all other protection plugins
|
||||
|
@ -855,6 +855,7 @@ useWorldGuard: true
|
||||
useLWC: true
|
||||
useGriefPrevention: true
|
||||
useTowny: true
|
||||
useBlockLocker: true
|
||||
useGMInventories: true
|
||||
|
||||
# Use a virtual chest when opening a Barrel to check with all other protection plugins
|
||||
|
@ -849,6 +849,7 @@ useWorldGuard: true
|
||||
useLWC: true
|
||||
useGriefPrevention: true
|
||||
useTowny: true
|
||||
useBlockLocker: true
|
||||
useGMInventories: true
|
||||
|
||||
# Use a virtual chest when opening a Barrel to check with all other protection plugins
|
||||
|
@ -853,6 +853,7 @@ useWorldGuard: true
|
||||
useLWC: true
|
||||
useGriefPrevention: true
|
||||
useTowny: true
|
||||
useBlockLocker: true
|
||||
useGMInventories: true
|
||||
|
||||
# Use a virtual chest when opening a Barrel to check with all other protection plugins
|
||||
|
@ -381,9 +381,11 @@ public class BConfig {
|
||||
if (useBlocklocker) {
|
||||
try {
|
||||
Class.forName("nl.rutgerkok.blocklocker.BlockLockerAPIv2");
|
||||
Class.forName("nl.rutgerkok.blocklocker.ProtectableBlocksSettings");
|
||||
BlocklockerBarrel.registerBarrelAsProtectable();
|
||||
} catch (ClassNotFoundException e) {
|
||||
useBlocklocker = false;
|
||||
P.p.log("Unsupported Version of 'BlockLocker', locking Brewery Barrels disabled");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1946,7 +1946,8 @@ public class ConfigUpdater {
|
||||
addLinesAt(new String[]{"# Andere Plugins (wenn installiert) nach Rechten zum öffnen von Fässern checken"}, 1, false,
|
||||
"# Plugins 'Landlord' und 'Protection Stones' nutzen WorldGuard. 'ClaimChunk' wird nativ unterstützt.");
|
||||
addLinesAt(new String[]{"useGriefPrevention:", "useLWC:", "useWorldGuard:"}, 1,
|
||||
"useTowny: true");
|
||||
"useTowny: true",
|
||||
"useBlockLocker: true");
|
||||
addLinesAt(new String[]{"useGMInventories:", "# Plugins 'Landlord' und 'Prote", "# -- Plugin Kompatiblität --"}, 1,
|
||||
"",
|
||||
"# Beim Fass öffnen eine virtuelle Kiste nutzen um Rechte bei allen anderen Plugins abzufragen",
|
||||
@ -1988,7 +1989,8 @@ public class ConfigUpdater {
|
||||
addLinesAt(new String[]{"# Enable checking of other Plugins (if installed) for"}, 1, false,
|
||||
"# Plugins 'Landlord' and 'Protection Stones' use the WorldGuard Flag. 'ClaimChunk' is natively supported.");
|
||||
addLinesAt(new String[]{"useGriefPrevention:", "useLWC:", "useWorldGuard:"}, 1,
|
||||
"useTowny: true");
|
||||
"useTowny: true",
|
||||
"useBlockLocker: true");
|
||||
addLinesAt(new String[]{"useGMInventories:", "# Plugins 'Landlord' and 'Protectio", "# -- Plugin Compatibility --"}, 1,
|
||||
"",
|
||||
"# Use a virtual chest when opening a Barrel to check with all other protection plugins",
|
||||
|
Loading…
Reference in New Issue
Block a user