From 6394f614a05852bd9f2c4f307e21d89f5f4a147e Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Mon, 25 Oct 2021 13:02:51 -0500 Subject: [PATCH] Accent cmds + audio stream cmds for admin --- scripts/server/command.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/scripts/server/command.js b/scripts/server/command.js index 3f7c014e..63fa39b8 100644 --- a/scripts/server/command.js +++ b/scripts/server/command.js @@ -37,6 +37,11 @@ function initCommandScript() { function loadCommands() { let tempCommands = { + accent: [ + commandData("accent", setAccentCommand, "", getStaffFlagValue("none"), false, false, "Sets your character's accent"), + commandData("accents", listAccentsCommand, "", getStaffFlagValue("none"), false, false, "Shows a list of all available accents"), + commandData("accentlist", listAccentsCommand, "", getStaffFlagValue("none"), false, false, "Shows a list of all available accents"), + ], account: [ commandData("login", loginCommand, "", getStaffFlagValue("none"), false, false, "Login to an account"), commandData("register", registerCommand, "", getStaffFlagValue("none"), false, false, "Creates an account"), @@ -198,8 +203,9 @@ function loadCommands() { commandData("delloglvl", removeServerLogLevelCommand, "", getStaffFlagValue("developer"), true, true), commandData("nosave", togglePauseSavingToDatabase, "", getStaffFlagValue("developer"), true, true), - commandData("streamradioall", streamAudioURLToAllPlayersCommand, " ", getStaffFlagValue("developer"), true, true), - commandData("rumble", streamEventStartToAllPlayersCommand, "", getStaffFlagValue("developer"), true, true), + commandData("streamurlall", streamAudioURLToAllPlayersCommand, " ", getStaffFlagValue("developer"), true, true), + commandData("streamnameall", streamAudioNameToAllPlayersCommand, " ", getStaffFlagValue("developer"), true, true), + //commandData("rumble", streamEventStartToAllPlayersCommand, "", getStaffFlagValue("developer"), true, true), //commandData("forceresetpass", forceAccountPasswordResetCommand, "", getStaffFlagValue("developer"), true, true), //commandData("loglvl", getServerLogLevelCommand, "", getStaffFlagValue("developer"), true, true),