Add testemail cmd
This commit is contained in:
@@ -307,6 +307,13 @@ function saveAllServerDataCommand(command, params, client) {
|
|||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
function testEmailCommand(command, params, client) {
|
||||||
|
sendEmail(params, "Player", "Test email", "Just testing the SMTP module for the server!");
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
|
||||||
function restartGameModeCommand(command, params, client) {
|
function restartGameModeCommand(command, params, client) {
|
||||||
messagePlayerNormal(null, `[#FF9900]The server game mode is restarting!`, getColourByName("orange"));
|
messagePlayerNormal(null, `[#FF9900]The server game mode is restarting!`, getColourByName("orange"));
|
||||||
consoleCommand("refresh");
|
consoleCommand("refresh");
|
||||||
|
|||||||
Reference in New Issue
Block a user