From 2c1abab02c7a3af4dc1c3310176c4aa89132cdc4 Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Mon, 11 Oct 2021 19:31:21 -0500 Subject: [PATCH] Rename some command handler funcs --- scripts/server/command.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/server/command.js b/scripts/server/command.js index 42277c17..c288e04a 100644 --- a/scripts/server/command.js +++ b/scripts/server/command.js @@ -40,15 +40,16 @@ function loadCommands() { account: [ commandData("login", loginCommand, "", getStaffFlagValue("none"), false, false, "Login to an account"), commandData("register", registerCommand, "", getStaffFlagValue("none"), false, false, "Creates an account"), - commandData("changepass", changePasswordCommand, " ", getStaffFlagValue("none"), true, false, "Change an account password"), - commandData("iplogin", autoLoginByIPCommand, "", getStaffFlagValue("none"), true, false, "Toggle whether to automatically login if you join with the same IP as your last join"), - commandData("autolastchar", autoSelectLastCharacterCommand, "", getStaffFlagValue("none"), true, false, "Toggle whether to automatically spawn with the last character you played as"), + commandData("changepass", changeAccountPasswordCommand, " ", getStaffFlagValue("none"), true, false, "Change an account password"), + commandData("iplogin", toggleAutoLoginByIPCommand, "", getStaffFlagValue("none"), true, false, "Toggle whether to automatically login if you join with the same IP as your last join"), + commandData("autolastchar", toggleAutoSelectLastCharacterCommand, "", getStaffFlagValue("none"), true, false, "Toggle whether to automatically spawn with the last character you played as"), commandData("gui", toggleAccountGUICommand, "", getStaffFlagValue("none"), false, false, "Toggle whether to use GUI. If GUI is disabled on the server, it won't show even if you have GUI enabled."), commandData("2fa", toggleAccountTwoFactorAuthCommand, "", getStaffFlagValue("none"), true, false, "Set up and use two-factor authentication."), commandData("setemail", setAccountEmailCommand, "", getStaffFlagValue("none"), true, false, "Sets your email. To reset your password, you must have a valid email set and verified."), commandData("verifyemail", verifyAccountEmailCommand, "", getStaffFlagValue("none"), true, false, "Confirms/verifies your email."), //commandData("setdiscord", setAccountDiscordCommand, "", getStaffFlagValue("none"), true, false, "Set up the integration for discord. Allows you to see info and use in-game commands on discord."), commandData("notips", toggleNoRandomTipsCommand, "", getStaffFlagValue("none"), true, false, "Turn on and off random tips"), + commandData("loginalert", toggleAccountLoginAttemptNotificationsCommand, "", getStaffFlagValue("none"), true, false, "Turn on and off email notifications for attempts to login to your account"), ], ammunation: [], animation: [