summaryrefslogtreecommitdiffstats
path: root/Plugins/Core/reload.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Plugins/Core/reload.lua')
-rw-r--r--Plugins/Core/reload.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/Plugins/Core/reload.lua b/Plugins/Core/reload.lua
new file mode 100644
index 000000000..e2b338ba1
--- /dev/null
+++ b/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