Update to new ColorConfig
Dieser Commit ist enthalten in:
Ursprung
5d2f92227c
Commit
9f82936a8f
@ -19,17 +19,17 @@
|
||||
|
||||
package de.steamwar.bausystem.region.flags.flagvalues;
|
||||
|
||||
import de.steamwar.bausystem.config.ColorConfig;
|
||||
import de.steamwar.bausystem.region.flags.Flag;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
import net.md_5.bungee.api.ChatColor;
|
||||
|
||||
@Getter
|
||||
@AllArgsConstructor
|
||||
public enum DamageMode implements Flag.Value<DamageMode> {
|
||||
|
||||
ALLOW(ChatColor.RED + "an"),
|
||||
DENY(ChatColor.GREEN + "aus");
|
||||
ALLOW(ColorConfig.DISABLE + "an"),
|
||||
DENY(ColorConfig.ENABLE + "aus");
|
||||
|
||||
private static DamageMode[] values;
|
||||
private final String chatValue;
|
||||
|
@ -19,17 +19,17 @@
|
||||
|
||||
package de.steamwar.bausystem.region.flags.flagvalues;
|
||||
|
||||
import de.steamwar.bausystem.config.ColorConfig;
|
||||
import de.steamwar.bausystem.region.flags.Flag;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
import net.md_5.bungee.api.ChatColor;
|
||||
|
||||
@Getter
|
||||
@AllArgsConstructor
|
||||
public enum FireMode implements Flag.Value<FireMode> {
|
||||
|
||||
ALLOW(ChatColor.RED + "an"),
|
||||
DENY(ChatColor.GREEN + "aus");
|
||||
ALLOW(ColorConfig.DISABLE + "an"),
|
||||
DENY(ColorConfig.ENABLE + "aus");
|
||||
|
||||
private static FireMode[] values;
|
||||
private final String chatValue;
|
||||
|
@ -20,17 +20,17 @@
|
||||
package de.steamwar.bausystem.region.flags.flagvalues;
|
||||
|
||||
|
||||
import de.steamwar.bausystem.config.ColorConfig;
|
||||
import de.steamwar.bausystem.region.flags.Flag;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
import net.md_5.bungee.api.ChatColor;
|
||||
|
||||
@Getter
|
||||
@AllArgsConstructor
|
||||
public enum FreezeMode implements Flag.Value<FreezeMode> {
|
||||
|
||||
ACTIVE("activate", ChatColor.GREEN + "an"),
|
||||
INACTIVE("deactivate", ChatColor.RED + "aus");
|
||||
ACTIVE("activate", ColorConfig.ENABLE + "an"),
|
||||
INACTIVE("deactivate", ColorConfig.DISABLE + "aus");
|
||||
|
||||
private static FreezeMode[] values;
|
||||
private final String descriptor;
|
||||
|
@ -19,17 +19,17 @@
|
||||
|
||||
package de.steamwar.bausystem.region.flags.flagvalues;
|
||||
|
||||
import de.steamwar.bausystem.config.ColorConfig;
|
||||
import de.steamwar.bausystem.region.flags.Flag;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
import net.md_5.bungee.api.ChatColor;
|
||||
|
||||
@Getter
|
||||
@AllArgsConstructor
|
||||
public enum ProtectMode implements Flag.Value<ProtectMode> {
|
||||
|
||||
ACTIVE(ChatColor.GREEN + "an"),
|
||||
INACTIVE(ChatColor.RED + "aus");
|
||||
ACTIVE(ColorConfig.ENABLE + "an"),
|
||||
INACTIVE(ColorConfig.DISABLE + "aus");
|
||||
|
||||
private static ProtectMode[] values;
|
||||
private final String chatValue;
|
||||
|
@ -19,18 +19,18 @@
|
||||
|
||||
package de.steamwar.bausystem.region.flags.flagvalues;
|
||||
|
||||
import de.steamwar.bausystem.config.ColorConfig;
|
||||
import de.steamwar.bausystem.region.flags.Flag;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
import net.md_5.bungee.api.ChatColor;
|
||||
|
||||
@Getter
|
||||
@AllArgsConstructor
|
||||
public enum TNTMode implements Flag.Value<TNTMode> {
|
||||
|
||||
ALLOW(ChatColor.GREEN + "an"),
|
||||
DENY(ChatColor.RED + "aus"),
|
||||
ONLY_TB(ChatColor.GRAY + "Kein " + ChatColor.YELLOW + "Baurahmen");
|
||||
ALLOW(ColorConfig.ENABLE + "an"),
|
||||
DENY(ColorConfig.DISABLE + "aus"),
|
||||
ONLY_TB(ColorConfig.BASE + "Kein " + ColorConfig.HIGHLIGHT + "Baurahmen");
|
||||
|
||||
private static TNTMode[] values;
|
||||
private final String chatValue;
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren