Skip to content

EnXa220/FoliaLogin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FoliaLogin

AuthMe-like authentication plugin built for Folia (Paper 1.20.1+).

Build

  • Java 17
  • Gradle

Commands:

  • gradle build

The shaded jar is in build/libs/FoliaLogin-1.0.0.jar.

Installation

  1. Drop the jar into your Folia plugins folder.
  2. Start the server to generate config.yml and lang.yml.
  3. Adjust config.yml and lang.yml, then /authme reload.

Config Highlights

  • 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.

Player Commands

  • /register [password]
  • /login
  • /changepassword [new]
  • /logout

Admin Commands

  • /authme register
  • /authme changepassword
  • /authme unregister
  • /authme reload
  • /authme status

Permissions

  • 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

Folia Notes

  • All Player/World interactions are executed through Folia schedulers.
  • All database access runs on a dedicated executor.

Database

  • SQLite by default (config.yml -> database.type = SQLITE)
  • MySQL/MariaDB supported (set database.type = MYSQL)

Restart is recommended after changing database settings.

About

Folia safe AuthMe style authentication for Folia servers.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors