mirror of
https://github.com/darksaid98/TownyChat.git
synced 2026-12-04 14:38:58 +00:00
Hook new commands for use
This commit is contained in:
1 parent
4125e1ce6f
commit
aba3ce1303
1 file changed
+12
-1
@@ -10,7 +10,13 @@ import org.dynmap.DynmapAPI;
|
|||||||
|
|
||||||
import com.ensifera.animosity.craftirc.CraftIRC;
|
import com.ensifera.animosity.craftirc.CraftIRC;
|
||||||
import com.palmergames.bukkit.TownyChat.CraftIRCHandler;
|
import com.palmergames.bukkit.TownyChat.CraftIRCHandler;
|
||||||
|
import com.palmergames.bukkit.TownyChat.Command.ChannelCommand;
|
||||||
|
import com.palmergames.bukkit.TownyChat.Command.JoinCommand;
|
||||||
|
import com.palmergames.bukkit.TownyChat.Command.LeaveCommand;
|
||||||
|
import com.palmergames.bukkit.TownyChat.Command.MuteCommand;
|
||||||
|
import com.palmergames.bukkit.TownyChat.Command.MuteListCommand;
|
||||||
import com.palmergames.bukkit.TownyChat.Command.TownyChatCommand;
|
import com.palmergames.bukkit.TownyChat.Command.TownyChatCommand;
|
||||||
|
import com.palmergames.bukkit.TownyChat.Command.UnmuteCommand;
|
||||||
import com.palmergames.bukkit.TownyChat.channels.ChannelsHolder;
|
import com.palmergames.bukkit.TownyChat.channels.ChannelsHolder;
|
||||||
import com.palmergames.bukkit.TownyChat.config.ConfigurationHandler;
|
import com.palmergames.bukkit.TownyChat.config.ConfigurationHandler;
|
||||||
import com.palmergames.bukkit.TownyChat.listener.HeroicDeathForwarder;
|
import com.palmergames.bukkit.TownyChat.listener.HeroicDeathForwarder;
|
||||||
@@ -68,7 +74,12 @@ public class Chat extends JavaPlugin {
|
|||||||
}
|
}
|
||||||
|
|
||||||
getCommand("townychat").setExecutor(new TownyChatCommand(this));
|
getCommand("townychat").setExecutor(new TownyChatCommand(this));
|
||||||
|
getCommand("channel").setExecutor(new ChannelCommand(this));
|
||||||
|
getCommand("join").setExecutor(new JoinCommand(this));
|
||||||
|
getCommand("leave").setExecutor(new LeaveCommand(this));
|
||||||
|
getCommand("mute").setExecutor(new MuteCommand(this));
|
||||||
|
getCommand("unmute").setExecutor(new UnmuteCommand(this));
|
||||||
|
getCommand("mutelist").setExecutor(new MuteListCommand(this));
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean load() {
|
private boolean load() {
|
||||||
|
|||||||
Reference in new issue
Block a user