mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-02 14:38:49 +00:00
Add message prefix feature
This commit is contained in:
1 parent
d328b09c36
commit
f64ae319ed
4 files changed
+41
-4
No files matched your search
@@ -4,6 +4,7 @@ import net.draycia.carbon.events.ChatFormatEvent;
|
||||
import net.draycia.carbon.storage.ChatUser;
|
||||
import net.kyori.adventure.text.Component;
|
||||
import net.kyori.adventure.text.format.TextColor;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.regex.Pattern;
|
||||
@@ -39,6 +40,9 @@ public abstract class ChatChannel {
|
||||
|
||||
public abstract String getKey();
|
||||
|
||||
@Nullable
|
||||
public abstract String getPrefix();
|
||||
|
||||
public abstract String getAliases();
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user