Add toggle command and feature

This commit is contained in:
Draycia committed 2020-06-13 01:09:36 -07:00
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();
}