package server.command;
import server.Player;
import server.SyntaxException;
public class ChangeLogCommand extends Command {
private static final String PREFIX = "@ZZZ@00D*@00F*@00D*@ZZZ ";
public ChangeLogCommand() {
super(CommandCategory.SYSTEM, "Shows a list of recent changes to the game engine.");
}
@Override
public void run(Player player) throws SyntaxException {
if (CommandProcessor.nextToken() != null) {
throw new SyntaxException();
}
player.sendText(false, "");
player.sendText(false, PREFIX + "Added @10FCHANGELOG@ZZZ and @10FTODO@ZZZ commands.");
player.sendText(false, PREFIX + "NPCs automatically respawn after 30 minutes.");
player.sendText(false, PREFIX + "Removed @10FWAKE@ZZZ command.");
player.sendText(false, PREFIX + "Added @10F_NPC CLONE@ZZZ command.");
player.sendText(false, PREFIX + "Removed @10FPETITION@ZZZ command in favor of a consolidated @10FTELL@ZZZ command for players and admins.");
player.sendText(false, PREFIX + "Made @10FLAST@ZZZ command available to everyone.");
player.sendText(false, PREFIX + "Did a bunch of work on combat system; added the @10FCONSIDER@ZZZ command.");
}
@Override
public String[] getSyntax(Player player) {
return new String[] { "" };
}
}