summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-02-09 00:14:44 +0100
committerMattes D <github@xoft.cz>2014-02-09 00:14:44 +0100
commitd2bc39ba84b5eb6cbf5aaaff1834937fea9c6d48 (patch)
treec8bd2c52c6e21b24baa813a0f07415f1370ce273
parentMerge pull request #653 from mc-server/RedstoneSimulator (diff)
parent"reload" is back. (diff)
downloadcuberite-d2bc39ba84b5eb6cbf5aaaff1834937fea9c6d48.tar
cuberite-d2bc39ba84b5eb6cbf5aaaff1834937fea9c6d48.tar.gz
cuberite-d2bc39ba84b5eb6cbf5aaaff1834937fea9c6d48.tar.bz2
cuberite-d2bc39ba84b5eb6cbf5aaaff1834937fea9c6d48.tar.lz
cuberite-d2bc39ba84b5eb6cbf5aaaff1834937fea9c6d48.tar.xz
cuberite-d2bc39ba84b5eb6cbf5aaaff1834937fea9c6d48.tar.zst
cuberite-d2bc39ba84b5eb6cbf5aaaff1834937fea9c6d48.zip
Diffstat (limited to '')
-rw-r--r--src/Server.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Server.cpp b/src/Server.cpp
index ba2b46d55..ab1458da4 100644
--- a/src/Server.cpp
+++ b/src/Server.cpp
@@ -459,6 +459,17 @@ void cServer::ExecuteConsoleCommand(const AString & a_Cmd, cCommandOutputCallbac
if (split[0] == "reload")
{
cPluginManager::Get()->ReloadPlugins();
+ cRoot::Get()->ReloadGroups();
+ return;
+ }
+ if (split[0] == "reloadplugins")
+ {
+ cPluginManager::Get()->ReloadPlugins();
+ return;
+ }
+ if (split[0] == "reloadgroups")
+ {
+ cRoot::Get()->ReloadGroups();
return;
}