Examples of leftBanTime()


Examples of simpleserver.Authenticator.leftBanTime()

      player.addTMessage(Color.RED, "Use the %s command to register.", (commandPrefix() + "register"));
      return;
    }

    if (!auth.loginBanTimeOver(player)) {
      player.addTMessage(Color.RED, "You've to wait %s seconds before another try to login.", auth.leftBanTime(player));
      return;
    }

    if (auth.login(player, userName, password)) {
      player.addTMessage(Color.GRAY, "Login successfull!");
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.