Chat/api/src/main/java/com/alttd/chat/ChatAPI.java
Teriuihi 5212954946 Refactor config reload and server name handling.
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.
2025-03-21 22:55:57 +01:00

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();
}