Skip to content
This repository was archived by the owner on Mar 26, 2024. It is now read-only.

Latest commit

 

History

History
18 lines (17 loc) · 1.32 KB

File metadata and controls

18 lines (17 loc) · 1.32 KB

Simplified auth

This is serversided babric modification for Better Than Adventure that allows for authorization using ingame commands, such as /register or /login
In current form only possible to use JSON file based "database"

Licenses

Libraries used in this project are using:

Setup

  1. Mod to work would require working server instance of Babric BTA server (available here) with halplibe version at least 3.2.1 (which was by default included in BTA instance) installed.
  2. Don't forget about read/write privilages on server directory and any other directory specified by config (by default should be available for server but still, this can sometime happen)

Config

Currently config allows for setting only

  • DatabaseManager -specifies which database engine would be used for storing player data (currently only JSON file).
  • Address - when specified json dbmanager, Address would point to directory where "database" file would reside.
  • Schema - when specified json dbmanager, it would point at name of json file that would store usernames and encrypted passwords. Modification in json manager mode should by default create required paths and files.