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