Download (6 KB)
For Minetest 5.3 and above

How do I install this?

Auth Redux Lite is available for server operators that want a barebones, no-frills authentication handler for their server. The entire mod consists of a single 13 kB file.

Recommended Enhancement: The DataMiner Mod extends the capabilities of Auth Redux Lite, providing comprehensive player and server statistics within a graphical user-interface, in addition to an API for custom-tailored log analysis and reporting directly from the command line

Database Migration:

This fork uses the same database API and architecture as Auth Redux, so migration is completely seamless. If you are already using Auth Redux, simply backup your existing "auth_rx"' subdirectory, and then save the included "init.lua" file in its place.

However, if you are migrating from the builtin auth handler of Minetest 5.x, then there are a few additional steps depending on the specific database backend you are using.

Convert auth.txt

  1. Create an "auth_rx_lite" subdirectory under mods in your game.
  2. Run the included Database Import Script to convert the database.

    awk -f convert.awk -v mode=install ~/.minetest/worlds/world/auth.txt

Convert auth.sqlite

  1. Create an "auth_rx_lite" subdirectory under mods in your game.
  2. Run the Minetest server to migrate the SQLite3 auth database backend.

    minetestserver --migrate-auth files --worldname world

  3. Run the included Database Import Script to convert the database.

    awk -f convert.awk -v mode=install ~/.minetest/worlds/world/auth.txt

In the examples above, you will need to provide your world directory. I'd also recommend moving or simply renaming the auth.txt file to "auth.txt.bak" for safekeeping.

That's all there is to it!

Reviews

Review

Do you recommend this mod?

  • No reviews, yet.