diff options
author | madmaxoft <github@xoft.cz> | 2014-03-19 22:51:02 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-03-19 22:51:02 +0100 |
commit | d6a72da3821091f23f063942dbafdc3a5c0b34ac (patch) | |
tree | 32043fca92317ef38b81371600ad38653c16fc48 /MCServer | |
parent | APIDump: Added ZeroBraneStudio API export. (diff) | |
download | cuberite-d6a72da3821091f23f063942dbafdc3a5c0b34ac.tar cuberite-d6a72da3821091f23f063942dbafdc3a5c0b34ac.tar.gz cuberite-d6a72da3821091f23f063942dbafdc3a5c0b34ac.tar.bz2 cuberite-d6a72da3821091f23f063942dbafdc3a5c0b34ac.tar.lz cuberite-d6a72da3821091f23f063942dbafdc3a5c0b34ac.tar.xz cuberite-d6a72da3821091f23f063942dbafdc3a5c0b34ac.tar.zst cuberite-d6a72da3821091f23f063942dbafdc3a5c0b34ac.zip |
Diffstat (limited to 'MCServer')
-rw-r--r-- | MCServer/Plugins/APIDump/main_APIDump.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/MCServer/Plugins/APIDump/main_APIDump.lua b/MCServer/Plugins/APIDump/main_APIDump.lua index 2e1aa445d..7455c3cd2 100644 --- a/MCServer/Plugins/APIDump/main_APIDump.lua +++ b/MCServer/Plugins/APIDump/main_APIDump.lua @@ -1541,9 +1541,12 @@ function Initialize(Plugin) LOG("Initialising " .. Plugin:GetName() .. " v." .. Plugin:GetVersion()) + -- Bind a console command to dump the API: cPluginManager:BindConsoleCommand("api", HandleCmdApi, "Dumps the Lua API docs into the API/ subfolder") + + -- Add a WebAdmin tab that has a Dump button g_Plugin:AddWebTab("APIDump", HandleWebAdminDump) - -- TODO: Add a WebAdmin tab that has a Dump button + return true end |