- Read the Submission Rules before posting otherwise the mod may be rejected if it doesn't comply with these rules. (Updated February 10, 2023)
- I'm aware of the current Submission Rules
- Author does not approve the use of his content in other addons without his permission
- No
WARNING: This mod uses Bastardized SHA-1 and HMAC-SHA1 Routines in Pure Lua
for hashing the password. >> Add this mod before using the Account System mod. <<
The lua mod that enables users to login/register an account to allow data synchronization to the server. When players log out their rings, scores and lives reset back to zero and starting from scratch.
To read the list of commands just type in chat "!help" and you'll receive a list of commands in console.
List of commands:
sayto 0 !login <username> <password> - Logs in and sets the account's rings, lives and scores.
sayto 0 !register <username> <password> - Registers an account on the server side.
sayto 0 !newpassword <password> - Changes the logged in account's password to the new one.
sayto 0 !delete_account - Deletes the account from the server. (If logged in)
sayto 0 !resetdata - Resets the account's rings, scores to zero and resets the lives back to three.
sayto 0 !sync - Saves your account's data to the server. (It will not resync your game from the dedicated server.) (This command has been replaced with !savedata)
sayto 0 !savedata - Saves your account's data to the server.
sayto 0 !adminhelp - Displays a list of commands as admin to execute. (Must be admin on the server in order to execute them).
Fair warning: Entering "sayto 0 !login" or "sayto 0 !resetdata" in console will cause the player to die on the clientside. The server still sees you as "Alive", it's for resyncing your game. Also do not use this on a singleplayer game you will actually lose that life as it's meant for dedicated servers only.
Recommendation for those who do use the mod for saving and loading your data is to use a different password and never use the same password that you use on any website.
(I'm still learning as I go so the script may change at some point.)
for hashing the password. >> Add this mod before using the Account System mod. <<
The lua mod that enables users to login/register an account to allow data synchronization to the server. When players log out their rings, scores and lives reset back to zero and starting from scratch.
To read the list of commands just type in chat "!help" and you'll receive a list of commands in console.
List of commands:
sayto 0 !login <username> <password> - Logs in and sets the account's rings, lives and scores.
sayto 0 !register <username> <password> - Registers an account on the server side.
sayto 0 !newpassword <password> - Changes the logged in account's password to the new one.
sayto 0 !delete_account - Deletes the account from the server. (If logged in)
sayto 0 !resetdata - Resets the account's rings, scores to zero and resets the lives back to three.
sayto 0 !savedata - Saves your account's data to the server.
sayto 0 !adminhelp - Displays a list of commands as admin to execute. (Must be admin on the server in order to execute them).
Fair warning: Entering "sayto 0 !login" or "sayto 0 !resetdata" in console will cause the player to die on the clientside. The server still sees you as "Alive", it's for resyncing your game. Also do not use this on a singleplayer game you will actually lose that life as it's meant for dedicated servers only.
Recommendation for those who do use the mod for saving and loading your data is to use a different password and never use the same password that you use on any website.
(I'm still learning as I go so the script may change at some point.)