2014-10-24 10:05:57 +02:00
|
|
|
package nautilus.game.arcade.command;
|
|
|
|
|
|
|
|
import org.bukkit.entity.Player;
|
|
|
|
|
|
|
|
import nautilus.game.arcade.ArcadeManager;
|
|
|
|
import mineplex.core.command.CommandBase;
|
|
|
|
import mineplex.core.common.Rank;
|
|
|
|
|
|
|
|
public class YoutubeCommand extends CommandBase<ArcadeManager>
|
|
|
|
{
|
|
|
|
public YoutubeCommand(ArcadeManager plugin)
|
|
|
|
{
|
2015-05-12 02:55:26 +02:00
|
|
|
super(plugin, Rank.OWNER, new Rank[] {Rank.YOUTUBE, Rank.TWITCH}, new String[] {"youtube", "twitch"});
|
2014-10-24 10:05:57 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void Execute(Player caller, String[] args)
|
|
|
|
{
|
|
|
|
Plugin.setYoutuber(caller);
|
|
|
|
}
|
|
|
|
}
|