summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/Core/reload.lua
diff options
context:
space:
mode:
Diffstat (limited to 'MCServer/Plugins/Core/reload.lua')
-rw-r--r--MCServer/Plugins/Core/reload.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/MCServer/Plugins/Core/reload.lua b/MCServer/Plugins/Core/reload.lua
new file mode 100644
index 000000000..e2b338ba1
--- /dev/null
+++ b/MCServer/Plugins/Core/reload.lua
@@ -0,0 +1,6 @@
+function HandleReloadCommand( Split, Player )
+ Server = cRoot:Get():GetServer()
+ Server:SendMessage( cChatColor.Green .. "Reloading all plugins." )
+ cRoot:Get():GetPluginManager():ReloadPlugins()
+ return true
+end \ No newline at end of file