Engine.SetPassword

From Tomb Raider Mod Launcher Wiki
Revision as of 15:18, 22 August 2014 by Jack9267 (talk | contribs) (Created page with "== Function == <syntaxhighlight lang="javascript"> function Engine.SetPassword(newPassword); </syntaxhighlight> === Arguments === * newPassword ** The new password for the...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Function

function Engine.SetPassword(newPassword);

Arguments

  • newPassword
    • The new password for the server.

Description

This function will change the password for the server.

Example

// Force the password to hello.
//
Engine.SetPassword("hello");

Notes

  • This function will not save the password to the configuration file and it is only temporary.
  • When the server is restarted the password from the configuration file is used.