Allow prefix data to be loaded from PrefixConfig

This commit is contained in:
destro174
2021-08-19 00:59:37 +02:00
parent 090ae5c438
commit a35ad9ebeb
7 changed files with 205 additions and 68 deletions
@@ -3,7 +3,9 @@ package com.alttd.chat;
import com.alttd.chat.database.DatabaseConnection;
import net.luckperms.api.LuckPerms;
public interface ChatAPI {
import java.util.HashMap;
public abstract interface ChatAPI {
static ChatAPI get() {
return ChatImplementation.get();
@@ -17,4 +19,6 @@ public interface ChatAPI {
void ReloadChatFilters();
HashMap<String, String> getPrefixes();
}