More TODOs: color argument, console in parseMessage return

This commit is contained in:
Draycia committed 2020-10-17 04:49:08 -07:00
1 parent bea9816c45
commit 8e91232345
16 files changed
+350 -42

No files matched your search

@@ -35,8 +35,8 @@ public final class ChannelOptions {
@Setting
@Comment("The formats for this channel. The key is the name of the group as your permissions plugin reports it.")
private Map<String, String> formats = new HashMap<String, String>() {{
put("default", "<color><<displayname><reset><color>> <message>");
}};
put("default", "<color><<displayname><reset><color>> <message>");
}};
@Setting
@Comment("The name of the format that the plugin will fall back to when it cannot find a matching format for the player's groups.")
@@ -17,9 +17,9 @@ public final class SharedChannelOptions {
@Setting private String color = "#FFFFFF";
@Setting private Map<String, Context> contexts = new HashMap<>();
@Setting private Map<String, String> formats = new HashMap<String, String>() {{
put("default", "<color><<displayname><reset><color>> <message>");
put("staff", "<#00CED1>[Staff] <color><<displayname><reset><color>> <message>");
}};
put("default", "<color><<displayname><reset><color>> <message>");
put("staff", "<#00CED1>[Staff] <color><<displayname><reset><color>> <message>");
}};
@Setting private String defaultFormatName = "default";
@Setting private boolean ignorable = true;
@Setting private boolean crossServer = true;