summaryrefslogtreecommitdiffstats
path: root/source/Server.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-11-13 15:56:40 +0100
committermadmaxoft <github@xoft.cz>2013-11-13 15:56:40 +0100
commit1701b628cb63cd59db208266aa87a388d47b151a (patch)
tree2cd73ae768b165473aee762c0b7c3d457e2b1053 /source/Server.h
parentcPluginManager:BindCommand() and :BindConsoleComman() now report full Lua stacktrace on failure. (diff)
downloadcuberite-1701b628cb63cd59db208266aa87a388d47b151a.tar
cuberite-1701b628cb63cd59db208266aa87a388d47b151a.tar.gz
cuberite-1701b628cb63cd59db208266aa87a388d47b151a.tar.bz2
cuberite-1701b628cb63cd59db208266aa87a388d47b151a.tar.lz
cuberite-1701b628cb63cd59db208266aa87a388d47b151a.tar.xz
cuberite-1701b628cb63cd59db208266aa87a388d47b151a.tar.zst
cuberite-1701b628cb63cd59db208266aa87a388d47b151a.zip
Diffstat (limited to '')
-rw-r--r--source/Server.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/Server.h b/source/Server.h
index 6742153ac..1b4848318 100644
--- a/source/Server.h
+++ b/source/Server.h
@@ -57,6 +57,9 @@ public: // tolua_export
/// Executes the console command, sends output through the specified callback
void ExecuteConsoleCommand(const AString & a_Cmd, cCommandOutputCallback & a_Output);
+
+ /// Lists all available console commands and their helpstrings
+ void PrintHelp(const AStringVector & a_Split, cCommandOutputCallback & a_Output);
/// Binds the built-in console commands with the plugin manager
static void BindBuiltInConsoleCommands(void);