{"id":15141053,"url":"https://github.com/shivajiva101/sauth","last_synced_at":"2025-10-23T18:30:27.755Z","repository":{"id":25861941,"uuid":"105457933","full_name":"shivajiva101/sauth","owner":"shivajiva101","description":"authentification handler mod for minetest","archived":false,"fork":false,"pushed_at":"2024-05-20T15:55:38.000Z","size":156,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":7,"default_branch":"0.5","last_synced_at":"2025-01-30T20:12:23.335Z","etag":null,"topics":["authentification","lsqlite3","minetest-mod"],"latest_commit_sha":null,"homepage":"https://forum.minetest.net/viewtopic.php?f=9\u0026t=18604","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shivajiva101.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-01T16:56:09.000Z","updated_at":"2024-10-20T21:57:06.000Z","dependencies_parsed_at":"2023-01-14T03:34:12.343Z","dependency_job_id":"507702a4-1f63-4f21-b51c-1d5bed84521c","html_url":"https://github.com/shivajiva101/sauth","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivajiva101%2Fsauth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivajiva101%2Fsauth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivajiva101%2Fsauth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivajiva101%2Fsauth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shivajiva101","download_url":"https://codeload.github.com/shivajiva101/sauth/tar.gz/refs/heads/0.5","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237869173,"owners_count":19379281,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["authentification","lsqlite3","minetest-mod"],"created_at":"2024-09-26T08:43:54.932Z","updated_at":"2025-10-23T18:30:27.385Z","avatar_url":"https://github.com/shivajiva101.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sauth v2.0\n[![Build status](https://github.com/shivajiva101/sauth/workflows/Check%20\u0026%20Release/badge.svg)](https://github.com/shivajiva101/sauth/actions)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n\u003cb\u003eIMPORTANT: Version 2 changes the DB schema inline with the core auth schema. The existing sauth.sqlite will be converted so make a backup! ONLY USE with minetest version 0.5 or greater.\u003c/b\u003e\n\nSauth is an alternative sqlite3 auth handler for minetest. Capable of handling large player databases and provides mitigation of auth entry request load by use of memory caching. Fine tune your servers auth memory load by caching clients who play regularly to reduce join event load on the server, resulting in a better playability experience on servers with many player accounts.\n\nRequires:\n\n* lsqlite3 lua library. (http://lua.sqlite.org/)\n* SQLite3 (https://www.sqlite.org/) \u003cb\u003eOR\u003c/b\u003e your favourite SQL management app (for importing sql files)\n\nI suggest you use luarocks (https://luarocks.org/) to install lsqlite3.\n\n\tsudo apt install luarocks\n\tluarocks install lsqlite3\n\nYour server should always run mods in secure mode, you must add sauth to the list of trusted mods in minetest.conf for example:\n\n\tsecure.trusted_mods = irc,sauth\n\nYou can and should use your existing auth db, make a copy of auth.sqlite renaming it to sauth.sqlite \u003cb\u003eBEFORE\u003c/b\u003e starting the server.\n\nTo enable the mod for singleplayer add:\n\n\tsauth.enable_singleplayer = true\n\nto minetest.conf before starting the server.\n\nCaching comes at the expense of memory consumption. During server startup sauth initialises the cache with up to 500 players who logged in to the server in the last 24 hours before the last player to login prior to shutdown. You can manage the cache by adding these settings to minetest.conf and modifying the values otherwise the mod will use the hard coded defaults.\n\n\tsauth.cache_max = 500 -- default maximum number of memory cached entries on startup\n\tsauth.cache_ttl = 86400 -- default seconds deducted from last login\n\n\u003cb\u003eUninstalling\u003c/b\u003e\n\nIf/when you want to remove sauth just delete the mod and minetest will default back to using the internal auth handler on the same db, it's as simple as that!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshivajiva101%2Fsauth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshivajiva101%2Fsauth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshivajiva101%2Fsauth/lists"}