package net.minecraft.command.server;

import net.minecraft.command.CommandBase;
import net.minecraft.command.ICommandSender;
import net.minecraft.server.MinecraftServer;

public class CommandStop extends CommandBase
{
	private static final String __OBFID = "CL_00001132";

	public String getCommandName()
	{
		return "stop";
	}

	public String getCommandUsage(ICommandSender par1ICommandSender)
	{
		return "commands.stop.usage";
	}

	public void processCommand(ICommandSender par1ICommandSender, String[] par2ArrayOfStr)
	{
		notifyAdmins(par1ICommandSender, "commands.stop.start", new Object[0]);
		MinecraftServer.getServer().initiateShutdown();
	}
}