mirror of
https://github.com/itHotL/PlayerStats.git
synced 2025-01-19 21:11:36 +01:00
Changed accent color for exclude-info-msg and removed unnecessary plugincolor
This commit is contained in:
parent
89c2a0f85f
commit
a6e15828c1
@ -52,11 +52,6 @@ public enum PluginColor {
|
||||
*/
|
||||
LIGHT_GOLD (TextColor.fromHexString("#FFEA40")),
|
||||
|
||||
/**
|
||||
* A Light Yellow that is used for final accents in the example message (#FFFF8E).
|
||||
*/
|
||||
LIGHT_YELLOW (TextColor.fromHexString("#FFFF8E")),
|
||||
|
||||
/**
|
||||
* The color of vanilla Minecraft hearts (#FF1313).
|
||||
*/
|
||||
|
@ -34,7 +34,7 @@ public final class BukkitConsoleComponentFactory extends ComponentFactory {
|
||||
INFO_MSG = PluginColor.GOLD.getConsoleColor();
|
||||
INFO_MSG_ACCENT_DARKEST = PluginColor.MEDIUM_GOLD.getConsoleColor();
|
||||
INFO_MSG_ACCENT_MEDIUM = PluginColor.LIGHT_GOLD.getConsoleColor();
|
||||
INFO_MSG_ACCENT_LIGHTEST = PluginColor.LIGHT_YELLOW.getConsoleColor();
|
||||
INFO_MSG_ACCENT_LIGHTEST = PluginColor.LIGHTEST_BLUE.getConsoleColor();
|
||||
|
||||
MSG_HOVER = PluginColor.LIGHTEST_BLUE.getConsoleColor();
|
||||
MSG_CLICKED = PluginColor.LIGHT_PURPLE.getConsoleColor();
|
||||
|
@ -47,7 +47,7 @@ public class ComponentFactory {
|
||||
protected TextColor INFO_MSG; //gold
|
||||
protected TextColor INFO_MSG_ACCENT_DARKEST; //medium_gold
|
||||
protected TextColor INFO_MSG_ACCENT_MEDIUM; //light_gold
|
||||
protected TextColor INFO_MSG_ACCENT_LIGHTEST; //light_yellow
|
||||
protected TextColor INFO_MSG_ACCENT_LIGHTEST; //lightest_blue
|
||||
|
||||
protected TextColor MSG_HOVER; //lightest_blue
|
||||
protected TextColor MSG_CLICKED; //light_purple
|
||||
@ -70,7 +70,7 @@ public class ComponentFactory {
|
||||
INFO_MSG = PluginColor.GOLD.getColor();
|
||||
INFO_MSG_ACCENT_DARKEST = PluginColor.MEDIUM_GOLD.getColor();
|
||||
INFO_MSG_ACCENT_MEDIUM = PluginColor.LIGHT_GOLD.getColor();
|
||||
INFO_MSG_ACCENT_LIGHTEST = PluginColor.LIGHT_YELLOW.getColor();
|
||||
INFO_MSG_ACCENT_LIGHTEST = PluginColor.LIGHTEST_BLUE.getColor();
|
||||
|
||||
MSG_HOVER = PluginColor.LIGHTEST_BLUE.getColor();
|
||||
MSG_CLICKED = PluginColor.LIGHT_PURPLE.getColor();
|
||||
@ -88,7 +88,7 @@ public class ComponentFactory {
|
||||
}
|
||||
|
||||
public TextComponent getExampleName() {
|
||||
return text("Artemis_the_gr8").color(INFO_MSG_ACCENT_LIGHTEST);
|
||||
return text("Artemis_the_gr8").color(FEEDBACK_MSG);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -39,18 +39,18 @@ public final class ExcludeInfoMessage implements TextComponent {
|
||||
.append(text("add ").color(factory.INFO_MSG_ACCENT_DARKEST)
|
||||
.append(text("{player-name}").color(factory.INFO_MSG_ACCENT_MEDIUM))
|
||||
.hoverEvent(HoverEvent.showText(
|
||||
text("Excludes this player from /stat results").color(factory.FEEDBACK_MSG))))
|
||||
text("Excludes this player from /stat results").color(factory.INFO_MSG_ACCENT_LIGHTEST))))
|
||||
.append(Component.newline())
|
||||
.append(factory.bulletPoint()).append(Component.space())
|
||||
.append(text("remove ").color(factory.INFO_MSG_ACCENT_DARKEST)
|
||||
.append(text("{player-name}").color(factory.INFO_MSG_ACCENT_MEDIUM))
|
||||
.hoverEvent(HoverEvent.showText(
|
||||
text("Includes this player in /stat results again").color(factory.FEEDBACK_MSG))))
|
||||
text("Includes this player in /stat results again").color(factory.INFO_MSG_ACCENT_LIGHTEST))))
|
||||
.append(Component.newline())
|
||||
.append(factory.bulletPoint()).append(Component.space())
|
||||
.append(text("list").color(factory.INFO_MSG_ACCENT_DARKEST)
|
||||
.hoverEvent(HoverEvent.showText(
|
||||
text("See a list of all currently excluded players").color(factory.FEEDBACK_MSG))))
|
||||
text("See a list of all currently excluded players").color(factory.INFO_MSG_ACCENT_LIGHTEST))))
|
||||
.append(Component.newline())
|
||||
.append(Component.newline())
|
||||
.append(text("Excluded players are:")
|
||||
@ -63,12 +63,12 @@ public final class ExcludeInfoMessage implements TextComponent {
|
||||
.append(text("not counted for the server total").color(factory.INFO_MSG_ACCENT_MEDIUM))
|
||||
.append(Component.newline())
|
||||
.append(factory.arrow()).append(Component.space())
|
||||
.append(text("hidden").color(factory.INFO_MSG_ACCENT_MEDIUM)
|
||||
.hoverEvent(HoverEvent.showText(text("All statistics are still stored and tracked by the server, ")
|
||||
.append(text("hidden").color(factory.INFO_MSG_ACCENT_LIGHTEST)
|
||||
.hoverEvent(HoverEvent.showText(text("All statistics are still stored and tracked by the")
|
||||
.append(Component.newline())
|
||||
.append(text("this command does not delete anything"))
|
||||
.color(factory.FEEDBACK_MSG))))
|
||||
.append(text(", not removed")
|
||||
.append(text("server, this command does not delete anything!"))
|
||||
.color(factory.INFO_MSG_ACCENT_LIGHTEST))))
|
||||
.append(text(" - not removed")
|
||||
.color(factory.INFO_MSG_ACCENT_MEDIUM));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user