2014-07-09 04:55:51 +02:00
|
|
|
package mineplex.hub.commands;
|
|
|
|
|
|
|
|
import org.bukkit.entity.Player;
|
|
|
|
|
2014-07-23 04:18:29 +02:00
|
|
|
import mineplex.core.command.MultiCommandBase;
|
2014-07-09 04:55:51 +02:00
|
|
|
import mineplex.core.common.Rank;
|
|
|
|
import mineplex.hub.HubManager;
|
|
|
|
|
2014-07-23 04:18:29 +02:00
|
|
|
public class NewsCommand extends MultiCommandBase<HubManager>
|
2014-07-11 03:10:35 +02:00
|
|
|
{
|
2014-07-09 04:55:51 +02:00
|
|
|
public NewsCommand(HubManager plugin)
|
|
|
|
{
|
|
|
|
super(plugin, Rank.ADMIN, "news");
|
2014-07-23 04:18:29 +02:00
|
|
|
|
|
|
|
AddCommand(new NewsAddCommand(plugin));
|
|
|
|
AddCommand(new NewsDeleteCommand(plugin));
|
|
|
|
AddCommand(new NewsConfirmCommand(plugin));
|
|
|
|
AddCommand(new NewsListCommand(plugin));
|
|
|
|
AddCommand(new NewsSetCommand(plugin));
|
2014-07-09 04:55:51 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2014-07-23 04:18:29 +02:00
|
|
|
protected void Help(Player caller, String args[])
|
2014-07-09 04:55:51 +02:00
|
|
|
{
|
2014-07-23 04:18:29 +02:00
|
|
|
Plugin.GetNewsManager().Help(caller);
|
2014-07-09 04:55:51 +02:00
|
|
|
}
|
|
|
|
}
|