-
Notifications
You must be signed in to change notification settings - Fork 0
Configuration
realpeyaj edited this page Jul 8, 2026
·
2 revisions
This page explains how to install peyajAuth and customize its various security, database, and gameplay settings.
- Download the latest compiled
peyajAuth.jarfrom the Releases section. - Put the
.jarfile into your server'splugins/directory. - Start the server to generate default configuration files under
/plugins/peyajAuth/. - Open the configuration files in a text editor, edit your settings, and reload using
/auth reload.
peyajAuth supports local SQLite (default) or external MySQL/MariaDB database engines. To configure database settings, edit the /plugins/peyajAuth/database.yml file:
type: SQLITE # Options: SQLITE, MYSQL, MARIADB
sqlite:
file-name: auth.db
mysql:
host: localhost
port: 3306
database: minecraft
username: root
password: ""
pool-settings:
maximum-pool-size: 10
minimum-idle: 2
connection-timeout: 30000
idle-timeout: 600000
max-lifetime: 1800000Stop bots from filling your server using captchas on connection:
captcha:
enabled: true # Enable or disable captcha gates on join
mode: gui # Verification modes: 'gui' (item click challenge) or 'chat' (verification code)security:
# Limit registrations per IP address
max-accounts-per-ip: 2
# Lock accounts after repeated password failures
brute-force:
max-attempts: 5
lockout-duration-minutes: 15