Accounts: Difference between revisions

From Zandronum Wiki
(Visual editor decimated the template parameters)
Tag: Source edit
(Formatting)
Tag: Source edit
Line 10: Line 10:


=== Console ===
=== Console ===
To log in via the {{Zdoomwiki|Console}}, use the login command, like such:
To log in via the {{Zdoomwiki|Console}}, use the <tt>login</tt> command, like such:
  login myusername test123
  login myusername test123
You can bind it to a key for easy access.
You can bind it to a key for easy access.
Line 16: Line 16:


== Saving login credentials ==
== Saving login credentials ==
On Windows, you can save your login information to the operating system's secure credential storage, so you don't need to type your username password each time. To do so, open the {{Zdoomwiki|Console}}, and use the login_add command:
On Windows, you can save your <tt>login</tt> information to the operating system's secure credential storage, so you don't need to type your username password each time. To do so, open the {{Zdoomwiki|Console}}, and use the <tt>login_add</tt> command:
  login_add myusername test123
  login_add myusername test123
Then, to log in with myusername, you will only need to type:
Then, to log in with myusername, you will only need to type:
  login myusername
  login myusername
You can also set the default username for the login command, so you can avoid typing your username too:
You can also set the default username for the <tt>login</tt> command, so you can avoid typing your username too:
  login_default_user myusername
  login_default_user myusername
Then you can just use the login command without any parameters to login:
Then you can just use the <tt>login</tt> command without any parameters to log in:
  login
  login



Revision as of 06:04, 28 June 2022

Some mods can use authentication to store persistent game data. For example, Jumpmaze uses this feature to store personal best times and map leaderboards. This requires creating an account on the Zandronum auth server and logging into it from in-game.

Creating an account

Simply go to the register page on the auth website, and create an account. You'll probably have to check your email for a verification link.

Logging in

Menu

You can log in by opening the main menu, then going to Options -> Multiplayer Options -> Log in. Enter your username and password into their respective fields, then select Log in.

Console

To log in via the Console, use the login command, like such:

login myusername test123

You can bind it to a key for easy access.

bind kp7 "login myusername test123"

Saving login credentials

On Windows, you can save your login information to the operating system's secure credential storage, so you don't need to type your username password each time. To do so, open the Console, and use the login_add command:

login_add myusername test123

Then, to log in with myusername, you will only need to type:

login myusername

You can also set the default username for the login command, so you can avoid typing your username too:

login_default_user myusername

Then you can just use the login command without any parameters to log in:

login

See also

  • Database, for documentation on programming mods with the database and auth functionality