diff --git a/scripts/server/command.js b/scripts/server/command.js index 318ce9ca..a5c20ba0 100644 --- a/scripts/server/command.js +++ b/scripts/server/command.js @@ -370,7 +370,14 @@ function loadCommands() { commandData("no", playerPromptAnswerNoCommand, "", getStaffFlagValue("None"), true, false, "Answers a prompt with NO"), commandData("admins", listOnlineAdminsCommand, "", getStaffFlagValue("None"), true, false, "Shows a list of online admins"), ], - moderation: [ + radio: [ + commandData("radiostation", playStreamingRadioCommand, "", getStaffFlagValue("None"), true, false, "Plays a radio station in your vehicle, house, or business (depending on which one you're in)"), + commandData("radiostations", showRadioStationListCommand, "", getStaffFlagValue("None"), true, false, "Shows a list of all available radio stations"), + commandData("radiovolume", setStreamingRadioVolumeCommand, "", getStaffFlagValue("None"), true, false, "Sets the radio streaming volume (for your game only)."), + commandData("radioreloadall", reloadAllRadioStationsCommand, "", getStaffFlagValue("ManageServer"), true, false, "Reloads all radio stations from database (use after making changes)"), + ], + security: [], + staff: [ commandData("kick", kickClientCommand, " [reason]", getStaffFlagValue("BasicModeration"), true, true, "Kicks a player from the server"), commandData("mute", muteClientCommand, " [reason]", getStaffFlagValue("BasicModeration"), true, true, "Mutes a player, preventing them from using any chat."), commandData("freeze", freezeClientCommand, " [reason]", getStaffFlagValue("BasicModeration"), true, true, "Freeze a player, preventing them from moving."), @@ -402,23 +409,17 @@ function loadCommands() { commandData("staffflags", allStaffFlagsCommand, "", getStaffFlagValue("ManageAdmins"), true, true, "Shows a list of all valid staff flag names."), commandData("givemoney", givePlayerMoneyCommand, " ", getStaffFlagValue("serverManager"), true, true), commandData("nonrpname", forceCharacterNameChangeCommand, "", getStaffFlagValue("BasicModeration"), true, true, "Forces a player to change their current character's name."), - commandData("forcename", forceCharacterNameCommand, " ", getStaffFlagValue("BasicModeration"), true, true, "Changes a character's name directly."), - commandData("forceskin", forcePlayerSkinCommand, " ", getStaffFlagValue("BasicModeration"), true, true, "Changes a character's skin directly."), - commandData("forcefightstyle", forceFightStyleCommand, " ", getStaffFlagValue("BasicModeration"), true, true, "Changes a character's fight style."), + commandData("setname", forceCharacterNameCommand, " ", getStaffFlagValue("BasicModeration"), true, true, "Changes a character's name directly."), + commandData("setskin", forcePlayerSkinCommand, " ", getStaffFlagValue("BasicModeration"), true, true, "Changes a character's skin."), + commandData("setaccent", forcePlayerAccentCommand, " ", getStaffFlagValue("BasicModeration"), true, true, "Changes a character's accent."), + commandData("setfightstyle", forceFightStyleCommand, " ", getStaffFlagValue("BasicModeration"), true, true, "Changes a character's fight style."), + commandData("setstars", forcePlayerWantedLevelCommand, " ", getStaffFlagValue("BasicModeration"), true, true, "Forces a player to have a wanted level"), commandData("plrinfo", getPlayerInfoCommand, "", getStaffFlagValue("BasicModeration"), true, true, "Shows basic info about the specified player"), commandData("getplrhouse", getAllHousesOwnedByPlayerCommand, "", getStaffFlagValue("BasicModeration"), true, true, "Shows a list of all houses owned by the player"), commandData("getplrbiz", getAllBusinessesOwnedByPlayerCommand, "", getStaffFlagValue("BasicModeration"), true, true, "Shows a list of all businesses owned by the player"), commandData("getplrveh", getAllVehiclesOwnedByPlayerCommand, "", getStaffFlagValue("BasicModeration"), true, true, "Shows a list of all vehicles owned by the player"), commandData("geoip", getGeoIPInformationCommand, "", getStaffFlagValue("BasicModeration"), true, true, "Retrieves GeoIP information on a player (country & city)"), - commandData("setstars", forcePlayerWantedLevelCommand, " ", getStaffFlagValue("BasicModeration"), true, true, "Forces a player to have a wanted level"), ], - radio: [ - commandData("radiostation", playStreamingRadioCommand, "", getStaffFlagValue("None"), true, false, "Plays a radio station in your vehicle, house, or business (depending on which one you're in)"), - commandData("radiostations", showRadioStationListCommand, "", getStaffFlagValue("None"), true, false, "Shows a list of all available radio stations"), - commandData("radiovolume", setStreamingRadioVolumeCommand, "", getStaffFlagValue("None"), true, false, "Sets the radio streaming volume (for your game only)."), - commandData("radioreloadall", reloadAllRadioStationsCommand, "", getStaffFlagValue("ManageServer"), true, false, "Reloads all radio stations from database (use after making changes)"), - ], - security: [], startup: [], subAccount: [ commandData("switchchar", switchCharacterCommand, "", getStaffFlagValue("None"), true, false),