make access password mandatory
This commit is contained in:
parent
5f49d6c036
commit
435e3f3e29
5 changed files with 35 additions and 7 deletions
|
@ -435,7 +435,7 @@ public abstract class Config {
|
|||
public static int eggTimer = 6000;
|
||||
@Var(name = "connectionTimeout", min = 10, max = 300)
|
||||
public static int timeout = 30;
|
||||
@Var(name = "passwordMinLength", min = 1, max = 32)
|
||||
@Var(name = "passwordMinLength", min = 8, max = 32)
|
||||
public static int minPassLength = 8;
|
||||
@Var(name = "port", min = 1024, max = 32767, nonDefault = true)
|
||||
public static int port = -1;
|
||||
|
@ -459,7 +459,7 @@ public abstract class Config {
|
|||
@Var(name = "spawnPitch", min = -89.0f, max = 89.0f)
|
||||
public static float spawnPitch = 0.0f;
|
||||
|
||||
@Var(name = "password")
|
||||
@Var(name = "password", nonDefault = true)
|
||||
public static String password = "";
|
||||
|
||||
static {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue