AuthMe-like authentication plugin built for Folia (Paper 1.20.1+).
- Java 17
- Gradle
Commands:
- gradle build
The shaded jar is in build/libs/FoliaLogin-1.0.0.jar.
- Drop the jar into your Folia plugins folder.
- Start the server to generate config.yml and lang.yml.
- Adjust config.yml and lang.yml, then /authme reload.
- sessions.singleSession: block duplicate logins for the same name.
- sessions.invalidateOnQuit: force password again after disconnect.
- security.allowBypassPermission: allow authme.bypass to skip login (default false).
- premium.enabled: auto-login premium accounts (Mojang API check).
- premium.allowOfflineMode: allow premium auto-login even when server is offline-mode.
- premium.proxyEnabled: auto-login premium accounts only when a proxy forwards online UUIDs.
- /register [password]
- /login
- /changepassword [new]
- /logout
- /authme register
- /authme changepassword
- /authme unregister
- /authme reload
- /authme status
- authme.player.register
- authme.player.login
- authme.player.changepassword
- authme.player.logout
- authme.admin.register
- authme.admin.changepassword
- authme.admin.unregister
- authme.admin.reload
- authme.admin.status
- authme.bypass
- All Player/World interactions are executed through Folia schedulers.
- All database access runs on a dedicated executor.
- SQLite by default (config.yml -> database.type = SQLITE)
- MySQL/MariaDB supported (set database.type = MYSQL)
Restart is recommended after changing database settings.