Engine.SetPassword
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.