package org.mcphoton.impl.command;

import org.mcphoton.command.Command;
import org.mcphoton.messaging.Messageable;

/**
 *
 * @author TheElectronWill
 */
public class StopCommand implements Command {

	@Override
	public void execute(Messageable source, String[] args) {
		System.exit(0);
	}

	@Override
	public String getName() {
		return "stop";
	}

}

Create a "stop" command