It employs caching, which in it's basic form keeps all players logged in to the server in memory but is also extensible to a user specified cap (default: 500 records). The cache is primed on server start with players who recently logged in. It aims to provide a balance of memory consumption against lag associated with join events for popular servers.
Installation requirements
This mod depends on the lua module lsqlite3 (https://github.com/LuaDist/lsqlite3) A thin wrapper for the SQLite database engine.
The preferred installation method is to install lsqlite3 using luarocks (https://luarocks.org/)
If you are running mod security(recommended) you will need to add sauth to the list of trusted mods because of it's dependency on lsqlite3.
License: MIT license
Features:
- Import auth.txt(0.4.x) or auth.sqlite(0.5.x). Check tools folder and readme for more info.
- Seamlessly integrates into Minetest, simply add it to the mod folder and it takes over from the built in handler
Download latest for Minetest version 0.4.x
Download latest for Minetest version 0.5.x
Browse code on Github