From 9c57c4cb0327fc3f790938009c5792af19d082b8 Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Thu, 28 Apr 2022 11:34:25 -0500 Subject: [PATCH] Move autolastchar cmd to sacct section --- scripts/server/command.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/server/command.js b/scripts/server/command.js index 1de91495..0643be01 100644 --- a/scripts/server/command.js +++ b/scripts/server/command.js @@ -26,7 +26,6 @@ function loadCommands() { new CommandData("register", registerCommand, "", getStaffFlagValue("None"), false, false, "Creates an account"), new CommandData("changepass", changeAccountPasswordCommand, " ", getStaffFlagValue("None"), true, false, "Change an account password"), new CommandData("iplogin", toggleAutoLoginByIPCommand, "", getStaffFlagValue("None"), true, false, "Toggle whether to automatically login if you join with the same IP as your last join"), - new CommandData("autolastchar", toggleAutoSelectLastCharacterCommand, "", getStaffFlagValue("None"), true, false, "Toggle whether to automatically spawn with the last character you played as"), new 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."), new CommandData("2fa", toggleAccountTwoFactorAuthCommand, "", getStaffFlagValue("None"), true, false, "Set up and use two-factor authentication."), new CommandData("setemail", setAccountEmailCommand, "", getStaffFlagValue("None"), true, false, "Sets your email. To reset your password, you must have a valid email set and verified."), @@ -439,6 +438,7 @@ function loadCommands() { new CommandData("getstaffflags", getPlayerStaffFlagsCommand, "", getStaffFlagValue("ManageAdmins"), true, true, "Shows a list of all staff flags a player has (this server only)."), new CommandData("clearstaffflags", removePlayerStaffFlagsCommand, "", getStaffFlagValue("ManageAdmins"), true, true, "Removes all staff flags for a player (this server only)."), new CommandData("staffflags", getStaffFlagsCommand, "", getStaffFlagValue("ManageAdmins"), true, true, "Shows a list of all valid staff flag names."), + new CommandData("stafftitle", setPlayerStaffTitleCommand, "", getStaffFlagValue("ManageAdmins"), true, true, "Sets a player's staff title."), new CommandData("givemoney", givePlayerMoneyCommand, " ", getStaffFlagValue("serverManager"), true, true), new CommandData("nonrpname", forceCharacterNameChangeCommand, "", getStaffFlagValue("BasicModeration"), true, true, "Forces a player to change their current character's name."), new CommandData("setname", setCharacterNameCommand, " ", getStaffFlagValue("BasicModeration"), true, true, "Changes a character's name directly."), @@ -462,6 +462,7 @@ function loadCommands() { new CommandData("switchchar", switchCharacterCommand, "", getStaffFlagValue("None"), true, false), new CommandData("newchar", newCharacterCommand, " ", getStaffFlagValue("None"), true, false), new CommandData("usechar", useCharacterCommand, "", getStaffFlagValue("None"), true, false), + new CommandData("autolastchar", toggleAutoSelectLastCharacterCommand, "", getStaffFlagValue("None"), true, false, "Toggle whether to automatically spawn with the last character you played as"), ], translate: [], trigger: [