diff options
author | [IPSA] Chris de Claverie <c.de-claverie@protonmail.com> | 2020-09-28 00:15:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-28 00:15:03 +0200 |
commit | 9a548b3b3e5d69bc776383860a0611babd654d7b (patch) | |
tree | 86d43bfe622550e2af1120f5613b0c0415bfded6 /Server/Plugins/APIDump/Classes/Plugins.lua | |
parent | Fixing Mob spawner behaviour (#4930) (diff) | |
download | cuberite-9a548b3b3e5d69bc776383860a0611babd654d7b.tar cuberite-9a548b3b3e5d69bc776383860a0611babd654d7b.tar.gz cuberite-9a548b3b3e5d69bc776383860a0611babd654d7b.tar.bz2 cuberite-9a548b3b3e5d69bc776383860a0611babd654d7b.tar.lz cuberite-9a548b3b3e5d69bc776383860a0611babd654d7b.tar.xz cuberite-9a548b3b3e5d69bc776383860a0611babd654d7b.tar.zst cuberite-9a548b3b3e5d69bc776383860a0611babd654d7b.zip |
Diffstat (limited to 'Server/Plugins/APIDump/Classes/Plugins.lua')
-rw-r--r-- | Server/Plugins/APIDump/Classes/Plugins.lua | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Server/Plugins/APIDump/Classes/Plugins.lua b/Server/Plugins/APIDump/Classes/Plugins.lua index 63f4172e6..adc6bf0b3 100644 --- a/Server/Plugins/APIDump/Classes/Plugins.lua +++ b/Server/Plugins/APIDump/Classes/Plugins.lua @@ -675,6 +675,17 @@ cPluginManager.AddHook(cPluginManager.HOOK_CHAT, OnChatMessage); }, Notes = "Queues the specified plugin to be unloaded. To avoid deadlocks, the unloading happens in the main tick thread asynchronously.", }, + ReloadPlugin = + { + Params = + { + { + Name = "PluginName", + Type = "string", + }, + }, + Notes = "Queues the specified plugin to be reloaded. To avoid deadlocks, the reloading happens in the main tick thread asynchronously.", + } }, Constants = { |