mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-02 22:16:22 +00:00
Allow toggling channels for other players
This commit is contained in:
1 parent
c351aa5e48
commit
067162e9e6
4 files changed
+43
-1
No files matched your search
@@ -61,6 +61,10 @@ public abstract class ChatChannel {
|
||||
|
||||
public abstract String getToggleOnMessage();
|
||||
|
||||
public abstract String getToggleOtherOnMessage();
|
||||
|
||||
public abstract String getToggleOtherOffMessage();
|
||||
|
||||
public abstract boolean filterEnabled();
|
||||
|
||||
/**
|
||||
|
||||
@@ -322,6 +322,17 @@ public class SimpleChatChannel extends ChatChannel {
|
||||
return (String) getSetting("toggle-on-message");
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getToggleOtherOnMessage() {
|
||||
return (String) getSetting("toggle-other-on");
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getToggleOtherOffMessage() {
|
||||
return (String) getSetting("toggle-other-off");
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean shouldForwardFormatting() {
|
||||
return (Boolean) getSetting("forward-format");
|
||||
|
||||
Reference in new issue
Block a user