Fix divider style, change cmd init log to info
This commit is contained in:
@@ -10,6 +10,8 @@
|
|||||||
|
|
||||||
let serverCommands = [];
|
let serverCommands = [];
|
||||||
|
|
||||||
|
// ===========================================================================
|
||||||
|
|
||||||
let builtInCommands = [
|
let builtInCommands = [
|
||||||
"refresh",
|
"refresh",
|
||||||
"restart",
|
"restart",
|
||||||
@@ -26,10 +28,10 @@ let builtInCommands = [
|
|||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
|
|
||||||
function initCommandScript() {
|
function initCommandScript() {
|
||||||
logToConsole(LOG_DEBUG, "[Asshat.Command]: Initializing commands script ...");
|
logToConsole(LOG_INFO, "[Asshat.Command]: Initializing commands script ...");
|
||||||
serverCommands = loadCommands();
|
serverCommands = loadCommands();
|
||||||
//addAllCommandHandlers();
|
//addAllCommandHandlers();
|
||||||
logToConsole(LOG_DEBUG, "[Asshat.Command]: Initialized commands script!");
|
logToConsole(LOG_INFO, "[Asshat.Command]: Initialized commands script!");
|
||||||
}
|
}
|
||||||
|
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
@@ -217,6 +219,14 @@ function loadCommands() {
|
|||||||
//commandData("speakerphone", togglePhoneSpeakerCommand, "", getStaffFlagValue("none"), true, false),
|
//commandData("speakerphone", togglePhoneSpeakerCommand, "", getStaffFlagValue("none"), true, false),
|
||||||
commandData("radio", walkieTalkieChatCommand, "", getStaffFlagValue("none"), true, false),
|
commandData("radio", walkieTalkieChatCommand, "", getStaffFlagValue("none"), true, false),
|
||||||
commandData("r", walkieTalkieChatCommand, "", getStaffFlagValue("none"), true, false),
|
commandData("r", walkieTalkieChatCommand, "", getStaffFlagValue("none"), true, false),
|
||||||
|
|
||||||
|
commandData("additemtype", createItemType, "<name>", getStaffFlagValue("manageItems"), true, false),
|
||||||
|
commandData("itemusetype", setItemTypeUseTypeCommand, "<item type> <use type>", getStaffFlagValue("manageItems"), true, false),
|
||||||
|
commandData("itemuseval", setItemTypeUseValueCommand, "<item type> <use value>", getStaffFlagValue("manageItems"), true, false),
|
||||||
|
commandData("itemorderprice", setItemTypeOrderPriceCommand, "<item type> <price>", getStaffFlagValue("manageItems"), true, false),
|
||||||
|
commandData("itemriskmult", setItemTypeRiskMultiplierCommand, "<item type> <risk multiplier>", getStaffFlagValue("manageItems"), true, false),
|
||||||
|
|
||||||
|
|
||||||
],
|
],
|
||||||
job: [
|
job: [
|
||||||
commandData("takejob", takeJobCommand, "", getStaffFlagValue("none"), true, false),
|
commandData("takejob", takeJobCommand, "", getStaffFlagValue("none"), true, false),
|
||||||
|
|||||||
Reference in New Issue
Block a user