Replaced inconsistent `ReloadConfig` usage with `reloadConfig` across the codebase for better naming consistency. Introduced `ServerName` utility to standardize server name retrieval and improve maintainability. Added logging enhancements for better debugging of muted users and blocked messages.
25 lines
425 B
Java
Executable File
25 lines
425 B
Java
Executable File
package com.alttd.chat;
|
|
|
|
import com.alttd.chat.database.DatabaseConnection;
|
|
import net.luckperms.api.LuckPerms;
|
|
|
|
import java.util.HashMap;
|
|
|
|
public abstract interface ChatAPI {
|
|
|
|
static ChatAPI get() {
|
|
return ChatImplementation.get();
|
|
}
|
|
|
|
LuckPerms getLuckPerms();
|
|
|
|
DatabaseConnection getDataBase();
|
|
|
|
void reloadConfig();
|
|
|
|
void reloadChatFilters();
|
|
|
|
HashMap<String, String> getPrefixes();
|
|
|
|
}
|