2016-06-22 23:09:49 +00:00
|
|
|
package io.github.norbipeti.thebuttonmcchat;
|
|
|
|
|
|
|
|
public class Channel {
|
|
|
|
public final String DisplayName;
|
2016-06-25 19:05:00 +00:00
|
|
|
public final ChatFormatter.Color Color;
|
2016-06-22 23:09:49 +00:00
|
|
|
public final String Command;
|
|
|
|
|
2016-06-25 19:05:00 +00:00
|
|
|
public Channel(String displayname, ChatFormatter.Color color, String command) {
|
2016-06-22 23:09:49 +00:00
|
|
|
DisplayName = displayname;
|
|
|
|
Color = color;
|
|
|
|
Command = command;
|
|
|
|
}
|
|
|
|
|
2016-06-25 19:05:00 +00:00
|
|
|
public static Channel GlobalChat = new Channel("§fg§f",
|
|
|
|
ChatFormatter.Color.White, "g");
|
|
|
|
public static Channel TownChat = new Channel("§3TC§f",
|
|
|
|
ChatFormatter.Color.DarkAqua, "tc");
|
|
|
|
public static Channel NationChat = new Channel("§6NC§f",
|
|
|
|
ChatFormatter.Color.Gold, "nc");
|
|
|
|
public static Channel AdminChat = new Channel("§cADMIN§f",
|
|
|
|
ChatFormatter.Color.Red, "a");
|
|
|
|
public static Channel ModChat = new Channel("§9MOD§f",
|
|
|
|
ChatFormatter.Color.Blue, "mod");
|
2016-06-22 23:09:49 +00:00
|
|
|
}
|