Added help for #dev subcommands
This commit is contained in:
@@ -306,7 +306,7 @@ public class MagicBot extends ListenerAdapter {
|
|||||||
"#server reboot/shutdown are your options.\n" +
|
"#server reboot/shutdown are your options.\n" +
|
||||||
"#logs magicbot/world/login n (tail)\n" +
|
"#logs magicbot/world/login n (tail)\n" +
|
||||||
"#flash <text> Send flash message\n" +
|
"#flash <text> Send flash message\n" +
|
||||||
"#dev build <target>/restart/debug/shutdown\n" +
|
"#dev help (list dev subcommands)\n" +
|
||||||
"#trash <blank>/detail/flush";
|
"#trash <blank>/detail/flush";
|
||||||
sendResponse(event, helpString);
|
sendResponse(event, helpString);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -60,6 +60,16 @@ public class DevRequestHandler {
|
|||||||
return;
|
return;
|
||||||
case "console":
|
case "console":
|
||||||
commandString = "./mbdevconsole.sh";
|
commandString = "./mbdevconsole.sh";
|
||||||
|
break;
|
||||||
|
case "help":
|
||||||
|
MagicBot.sendResponse(event,
|
||||||
|
"#dev build <target> (blank==master) \n" +
|
||||||
|
"#dev shutdown (Shutdown dev server)\n" +
|
||||||
|
"#dev restart (Restarts the server)\n"+
|
||||||
|
"#dev debug (Restarts server in debug mode)\n" +
|
||||||
|
"#dev console # (Displays # lines from console)\n" +
|
||||||
|
"#dev lastout (Displays output from last command) \n");
|
||||||
|
return;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user