fix: fix easyauth to use individual passwords
This commit is contained in:
parent
cf5041d5a3
commit
cae87ddc0e
5 changed files with 39 additions and 5 deletions
|
|
@ -24,10 +24,8 @@ kick-timeout = 300
|
|||
# 2 minutes before they can rejoin after being kicked for failed attempts
|
||||
reset-login-attempts-timeout = 120
|
||||
|
||||
# Registration is disabled for players — admin-only via `auth register <user> <pass>`
|
||||
# With enable-global-password=true and single-use-global-password=false,
|
||||
# the /register command is disabled. Players can only /login with a password set by admin.
|
||||
enable-global-password = true
|
||||
# Per-user passwords, set by admin via `auth register <user> <pass>`
|
||||
enable-global-password = false
|
||||
single-use-global-password = false
|
||||
|
||||
# Hide player coordinates during auth (teleport to spawn)
|
||||
|
|
|
|||
11
configs/easyauth-storage.conf
Normal file
11
configs/easyauth-storage.conf
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
## ##
|
||||
## EasyAuth ##
|
||||
## Storage Configuration ##
|
||||
## ##
|
||||
|
||||
database-type = "sqlite"
|
||||
|
||||
sqlite {
|
||||
sqlite-path = "EasyAuth/easyauth.db"
|
||||
sqlite-table = "easyauth"
|
||||
}
|
||||
7
configs/easyauth-technical.conf
Normal file
7
configs/easyauth-technical.conf
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
## ##
|
||||
## EasyAuth ##
|
||||
## Technical Config ##
|
||||
## ##
|
||||
|
||||
# No global password set (registration is admin-only)
|
||||
global-password = null
|
||||
7
configs/easyauth-translation.conf
Normal file
7
configs/easyauth-translation.conf
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
## ##
|
||||
## EasyAuth ##
|
||||
## Translation Configuration ##
|
||||
## ##
|
||||
|
||||
enable-server-side-translation = true
|
||||
default-language = "en_us"
|
||||
Loading…
Add table
Add a link
Reference in a new issue