67 lines
1.5 KiB
Text
67 lines
1.5 KiB
Text
## ##
|
|
## EasyAuth ##
|
|
## Extended Configuration ##
|
|
## ##
|
|
|
|
# Block everything for unauthenticated players
|
|
allow-chat = false
|
|
allow-commands = false
|
|
allowed-commands = []
|
|
allow-movement = false
|
|
allow-block-interaction = false
|
|
allow-entity-interaction = false
|
|
allow-block-breaking = false
|
|
allow-entity-attacking = false
|
|
allow-item-dropping = false
|
|
allow-item-moving = false
|
|
allow-item-using = false
|
|
|
|
# Hide inventory while not logged in
|
|
hide-inventory = true
|
|
|
|
# Unauthenticated players are invulnerable and ignored by mobs
|
|
player-invulnerable = true
|
|
player-ignored = true
|
|
|
|
# Rate limit teleportation for unauthed players
|
|
teleportation-timeout-ms = 20
|
|
|
|
# Command aliases
|
|
aliases {
|
|
# /l for /login
|
|
login = true
|
|
# /reg for /register
|
|
register = true
|
|
}
|
|
|
|
# Try to rescue players stuck in portals
|
|
try-portal-rescue = true
|
|
|
|
# Password length limits
|
|
min-password-length = 6
|
|
max-password-length = 128
|
|
|
|
# Username validation
|
|
username-regexp = "^[a-zA-Z]{1,16}$"
|
|
|
|
# No Floodgate
|
|
floodgate-bypass-regex = false
|
|
|
|
# Prevent same-name kicks
|
|
prevent-another-location-kick = true
|
|
|
|
# Don't force offline UUIDs (already in offline mode)
|
|
forced-offline-uuid = false
|
|
|
|
# Don't skip auth
|
|
skip-all-auth-checks = false
|
|
|
|
# Disallow case-insensitive duplicate usernames
|
|
allow-case-insensitive-username = false
|
|
|
|
# Prompt to authenticate every 10 seconds
|
|
authentication-prompt-interval = 10
|
|
|
|
# Log registration and login events
|
|
log-player-registration = true
|
|
log-player-login = true
|