mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 22:15:08 +00:00
Add toggle command and feature
This commit is contained in:
1 parent
225bd6e08e
commit
5e30aed924
5 files changed
+82
-4
No files matched your search
@@ -5,6 +5,7 @@ import co.aikar.commands.ConditionFailedException;
|
||||
import net.draycia.simplechat.channels.ChatChannel;
|
||||
import net.draycia.simplechat.channels.SimpleChatChannel;
|
||||
import net.draycia.simplechat.commands.ChannelCommand;
|
||||
import net.draycia.simplechat.commands.ToggleCommand;
|
||||
import net.draycia.simplechat.listeners.PlayerChatListener;
|
||||
import net.kyori.text.format.TextColor;
|
||||
import org.bukkit.configuration.ConfigurationSection;
|
||||
@@ -135,6 +136,7 @@ public final class SimpleChat extends JavaPlugin {
|
||||
}
|
||||
|
||||
manager.registerCommand(new ChannelCommand(this));
|
||||
manager.registerCommand(new ToggleCommand(this));
|
||||
|
||||
setupListeners();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user