plugins/mod_console.lua

changeset 1907
1dd4443e7d93
parent 1906
88c61368e669
child 1908
27c1c6e6c583
equal deleted inserted replaced
1906:88c61368e669 1907:1dd4443e7d93
178 print [[s2s:close(from, to) - Close a connection from one domain to another]] 178 print [[s2s:close(from, to) - Close a connection from one domain to another]]
179 elseif section == "module" then 179 elseif section == "module" then
180 print [[module:load(module, host) - Load the specified module on the specified host (or all hosts if none given)]] 180 print [[module:load(module, host) - Load the specified module on the specified host (or all hosts if none given)]]
181 print [[module:reload(module, host) - The same, but unloads and loads the module (saving state if the module supports it)]] 181 print [[module:reload(module, host) - The same, but unloads and loads the module (saving state if the module supports it)]]
182 print [[module:unload(module, host) - The same, but just unloads the module from memory]] 182 print [[module:unload(module, host) - The same, but just unloads the module from memory]]
183 print [[module:list(host) - List the modules loaded on the specified host]]
183 elseif section == "server" then 184 elseif section == "server" then
184 print [[server:version() - Show the server's version number]] 185 print [[server:version() - Show the server's version number]]
185 print [[server:uptime() - Show how long the server has been running]] 186 print [[server:uptime() - Show how long the server has been running]]
186 --print [[server:shutdown(reason) - Shut down the server, with an optional reason to be broadcast to all connections]] 187 --print [[server:shutdown(reason) - Shut down the server, with an optional reason to be broadcast to all connections]]
187 elseif section == "console" then 188 elseif section == "console" then

mercurial