Managing Users
The Lounge stores user configurations as JSON files, accessible via SFTP at /thelounge/users.
Adding a User via JSON
To add a new user manually, you can create a new .json file in the users directory.
-
Generate a Password Hash: The Lounge uses bcrypt for password hashing. You can generate a hash for your desired password using a 3rd party tool like bcrypt-generator.com. Use a cost (rounds) of 11 if prompted.
-
Create the User File: Create a new file named
username.json(replaceusernamewith your desired login name) in the users directory using SFTP. Use the following template:{ "password": "YOUR_BCRYPT_HASH_HERE", "log": false, "sessions": {}, "clientSettings": {}, "networks": [] } -
Restart the Pod: For the new user file to be recognized, you must restart your pod from the PikaPods control panel.
Editing User Configuration
You can edit existing user settings by modifying their corresponding .json file via SFTP. Most changes (except for the password, if updated via the UI) require a server restart to take effect.
For more details, refer to the official documentation.