Plugin Message channal and global chat check
This commit is contained in:
@@ -21,6 +21,9 @@ public class ChatImplementation implements ChatAPI{
|
||||
public ChatImplementation() {
|
||||
instance = this;
|
||||
Config.init();
|
||||
|
||||
luckPerms = getLuckPerms();
|
||||
//databaseConnection = getDataBase();
|
||||
// init database
|
||||
// init depends//or set them the first time they are called?
|
||||
}
|
||||
|
||||
@@ -184,4 +184,9 @@ public final class Config {
|
||||
GACFORMAT = getString("commands.globaladminchat.format", GACFORMAT);
|
||||
}
|
||||
|
||||
public static String MESSAGECHANNEL = "altitude:chatplugin";
|
||||
private static void messageChannels() {
|
||||
MESSAGECHANNEL = getString("settings.message-channel", MESSAGECHANNEL);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -6,6 +6,8 @@ public class ChatPlayer {
|
||||
// todo merge partyuser here, or make party user extend this?
|
||||
// todo gctoggle?
|
||||
|
||||
// todo cache prefixes?
|
||||
|
||||
private UUID uuid;
|
||||
private UUID replyTarget;
|
||||
private boolean globalChatEnabled; // this vs permission?
|
||||
|
||||
Reference in New Issue
Block a user