standard javadoc
This commit is contained in:
@@ -255,8 +255,8 @@ public class AsyncronousJoin {
|
||||
|
||||
/**
|
||||
* Method needFirstSpawn.
|
||||
* @return boolean
|
||||
*/
|
||||
|
||||
* @return boolean */
|
||||
private boolean needFirstSpawn() {
|
||||
if (player.hasPlayedBefore())
|
||||
return false;
|
||||
|
||||
@@ -57,16 +57,16 @@ public class AsyncronousLogin {
|
||||
|
||||
/**
|
||||
* Method getIP.
|
||||
* @return String
|
||||
*/
|
||||
|
||||
* @return String */
|
||||
protected String getIP() {
|
||||
return plugin.getIP(player);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method needsCaptcha.
|
||||
* @return boolean
|
||||
*/
|
||||
|
||||
* @return boolean */
|
||||
protected boolean needsCaptcha() {
|
||||
if (Settings.useCaptcha) {
|
||||
if (!plugin.captcha.containsKey(name)) {
|
||||
@@ -93,8 +93,8 @@ public class AsyncronousLogin {
|
||||
/**
|
||||
* Checks the precondition for authentication (like user known) and returns
|
||||
* the playerAuth-State
|
||||
* @return PlayerAuth
|
||||
*/
|
||||
|
||||
* @return PlayerAuth */
|
||||
protected PlayerAuth preAuth() {
|
||||
if (PlayerCache.getInstance().isAuthenticated(name)) {
|
||||
m.send(player, "logged_in");
|
||||
|
||||
@@ -54,8 +54,8 @@ public class ProcessSyncronousPlayerLogin implements Runnable {
|
||||
|
||||
/**
|
||||
* Method getLimbo.
|
||||
* @return LimboPlayer
|
||||
*/
|
||||
|
||||
* @return LimboPlayer */
|
||||
public LimboPlayer getLimbo() {
|
||||
return limbo;
|
||||
}
|
||||
|
||||
@@ -46,17 +46,17 @@ public class AsyncRegister {
|
||||
|
||||
/**
|
||||
* Method getIp.
|
||||
* @return String
|
||||
*/
|
||||
|
||||
* @return String */
|
||||
protected String getIp() {
|
||||
return plugin.getIP(player);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method preRegisterCheck.
|
||||
* @return boolean
|
||||
* @throws Exception
|
||||
*/
|
||||
|
||||
|
||||
* @return boolean * @throws Exception */
|
||||
protected boolean preRegisterCheck() throws Exception {
|
||||
String lowpass = password.toLowerCase();
|
||||
if (PlayerCache.getInstance().isAuthenticated(name)) {
|
||||
@@ -113,8 +113,8 @@ public class AsyncRegister {
|
||||
|
||||
/**
|
||||
* Method emailRegister.
|
||||
* @throws Exception
|
||||
*/
|
||||
|
||||
* @throws Exception */
|
||||
protected void emailRegister() throws Exception {
|
||||
if (Settings.getmaxRegPerEmail > 0) {
|
||||
if (!plugin.getPermissionsManager().hasPermission(player, "authme.allow2accounts") && database.getAllAuthsByEmail(email).size() >= Settings.getmaxRegPerEmail) {
|
||||
|
||||
@@ -52,8 +52,8 @@ public class AsyncronousUnregister {
|
||||
|
||||
/**
|
||||
* Method getIp.
|
||||
* @return String
|
||||
*/
|
||||
|
||||
* @return String */
|
||||
protected String getIp() {
|
||||
return plugin.getIP(player);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user