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