    001    package net.minecraft.src;
    002
    003    import net.minecraft.server.MinecraftServer;
    004
    005    public class CommandServerStop extends CommandBase
    006    {
    007        public String getCommandName()
    008        {
    009            return "stop";
    010        }
    011
    012        public void processCommand(ICommandSender par1ICommandSender, String[] par2ArrayOfStr)
    013        {
    014            notifyAdmins(par1ICommandSender, "commands.stop.start", new Object[0]);
    015            MinecraftServer.getServer().initiateShutdown();
    016        }
    017    }