summaryrefslogtreecommitdiffstats
path: root/Server/Plugins
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2016-09-05 15:05:05 +0200
committerMattes D <github@xoft.cz>2016-09-05 15:05:05 +0200
commitd273c9bad3ff14ab937ca914f66036724f0709fc (patch)
tree56d65d99c382806fc8630631e146e29aa552f5aa /Server/Plugins
parentMerge pull request #3346 from cuberite/FixWarnings (diff)
downloadcuberite-d273c9bad3ff14ab937ca914f66036724f0709fc.tar
cuberite-d273c9bad3ff14ab937ca914f66036724f0709fc.tar.gz
cuberite-d273c9bad3ff14ab937ca914f66036724f0709fc.tar.bz2
cuberite-d273c9bad3ff14ab937ca914f66036724f0709fc.tar.lz
cuberite-d273c9bad3ff14ab937ca914f66036724f0709fc.tar.xz
cuberite-d273c9bad3ff14ab937ca914f66036724f0709fc.tar.zst
cuberite-d273c9bad3ff14ab937ca914f66036724f0709fc.zip
Diffstat (limited to 'Server/Plugins')
-rw-r--r--Server/Plugins/APIDump/Classes/Plugins.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/Server/Plugins/APIDump/Classes/Plugins.lua b/Server/Plugins/APIDump/Classes/Plugins.lua
index ee56f88de..99262b9cd 100644
--- a/Server/Plugins/APIDump/Classes/Plugins.lua
+++ b/Server/Plugins/APIDump/Classes/Plugins.lua
@@ -82,7 +82,7 @@ cPluginManager.AddHook(cPluginManager.HOOK_CHAT, OnChatMessage);
GetNumPlugins = { Params = "", Return = "number", Notes = "Returns the number of plugins, including the disabled, errored, unloaded and not-found ones" },
GetPlugin = { Params = "PluginName", Return = "{{cPlugin}}", Notes = "(<b>DEPRECATED, UNSAFE</b>) Returns a plugin handle of the specified plugin, or nil if such plugin is not loaded. Note thatdue to multithreading the handle is not guaranteed to be safe for use when stored - a single-plugin reload may have been triggered in the mean time for the requested plugin." },
GetPluginFolderName = { Params = "PluginName", Return = "string", Notes = "Returns the name of the folder from which the plugin was loaded (without the \"Plugins\" part). Used as a plugin's display name." },
- GetPluginsPath = { Params = "", Return = "string", Notes = "Returns the path where the individual plugin folders are located. Doesn't include the path separator at the end of the returned string." },
+ GetPluginsPath = { Params = "", Return = "string", IsStatic = true, Notes = "Returns the path where the individual plugin folders are located. Doesn't include the path separator at the end of the returned string." },
IsCommandBound = { Params = "Command", Return = "bool", Notes = "Returns true if in-game Command is already bound (by any plugin)" },
IsConsoleCommandBound = { Params = "Command", Return = "bool", Notes = "Returns true if console Command is already bound (by any plugin)" },
IsPluginLoaded = { Params = "PluginName", Return = "", Notes = "Returns true if the specified plugin is loaded." },