Package simpleserver

Examples of simpleserver.Server.runCommand()


            + arguments[0]);
      } else {
        server.ipBans.addBan(p.getIPAddress());
        server.kick(p.getName(), t("IP Banned!"));
        String msg = t("Player %s has been IP banned!", p.getName());
        server.runCommand("say", msg);
        server.adminLog("User " + player.getName() + " banned ip:\t "
            + arguments[0] + "\t(" + p.getName() + ")");
      }
    } else {
      player.addTMessage(Color.RED, "No player or IP specified.");
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.