Plugin reload <plugin_name> feature (#4942)
+ Add `reload <pluginname>` * Fixes #365 Co-authored-by: Alexander Harkness <me@bearbin.net> Co-authored-by: pwnOrbitals <c.de-claverie@pm.me> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com>
This commit is contained in:
co-authored by
Alexander Harkness
pwnOrbitals
Tiger Wang
parent
410d6c0045
commit
9a548b3b3e
@@ -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 =
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user