Remove legacy codes in config

This commit is contained in:
destro174 2022-03-05 11:29:58 +01:00
parent f89d443bd1
commit c2da8cdd4b

View File

@ -175,15 +175,15 @@ public class Config extends AbstractConfig {
PASSWORD = config.getString("database.password", PASSWORD);
}
public static String PlayerNotSpecified = "&cYou must specify a player. &7/{COMMAND} <Player>";
public static String PlayerOffline = "&cThere isn't anyone online with &f\"{INPUT}\" &cin their name!";
public static String CannotKickSelf = "&cYou cannot kick yourself!";
public static String TargetNotInClaim = "&c{TARGET} is not inside of any claims that you control!";
public static String CannotKickTrustedTarget = "&c{TARGET} has trust in the claims they're in, therefore they cannot be kicked!";
public static String CannotKickExemptTarget = "&c{TARGET} cannot be kicked from claims.";
public static String KickSuccess = "&a{TARGET} was successfully kicked from the claim!";
public static String NoSafeLocation = "&cKick Unsuccessful... No Safe Location Available!"; // send to spawn?
public static String KickedFromClaim = "{PLAYER} &ehas kicked you out of {CLAIM_OWNER}'s claim!";
public static String PlayerNotSpecified = "<red>You must specify a player.";
public static String PlayerOffline = "<red>There isn't anyone online with <white>{INPUT} <red>in their name!";
public static String CannotKickSelf = "<red>You cannot kick yourself!";
public static String TargetNotInClaim = "<red>{TARGET} is not inside of any claims that you control!";
public static String CannotKickTrustedTarget = "<red>{TARGET} has trust in the claims they're in, therefore they cannot be kicked!";
public static String CannotKickExemptTarget = "<red>{TARGET} cannot be kicked from claims.";
public static String KickSuccess = "<green>{TARGET} was successfully kicked from the claim!";
public static String NoSafeLocation = "<red>Kick Unsuccessful... No Safe Location Available!"; // send to spawn?
public static String KickedFromClaim = "{PLAYER} <yellow>has kicked you out of {CLAIM_OWNER}'s claim!";
private static void kickFromClaimMessages() {
PlayerNotSpecified = config.getString("kickfromclaim.PlayerNotSpecified", PlayerNotSpecified);
PlayerOffline = config.getString("kickfromclaim.PlayerOffline", PlayerOffline);