Tim Buyalski Dev
All projects

2025

Scallywag

Authentication plugin for PaperMC servers

This project was created as part of Santos Games. The target audience required the server to run in offline mode, meaning that official Mojang authentication was bypassed.

Running completely without authentication is ridiculous for obvious reasons. The easy solution would be to use a free authentication plugin, but those usually lack important features like encryption, log filters, managability and often just store the user's password in a humble JSON file.

I have created this plugin to be my reusable and highly adaptable solution to the problem. It uses MySQL and encrypts the passwords with BCrypt. It also filters the logs to remove any passwords and other sensetive info. This was also my first time properly utilising async programming in Java (it was also important to maintain the balance between not halting the server and maintaining security).

The plugin is customizable and has a minimal API. Your dependent plugin can provide external password validation, listen to auth-events or even provide an external authentication scheme. It was also important for me to provide documentation. The plugin has been battle tested on Santos Games, multiple SMPs and some other secret projects!