Engine.SetPassword: Difference between revisions
Jump to navigation
Jump to search
Created page with "== Function == <syntaxhighlight lang="javascript"> function Engine.SetPassword(newPassword); </syntaxhighlight> === Arguments === * newPassword ** The new password for the..." |
(No difference)
|
Latest revision as of 15:18, 22 August 2014
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.