summaryrefslogtreecommitdiffstats
path: root/Server/Plugins/APIDump/APIDesc.lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Server/Plugins/APIDump/APIDesc.lua54
1 files changed, 54 insertions, 0 deletions
diff --git a/Server/Plugins/APIDump/APIDesc.lua b/Server/Plugins/APIDump/APIDesc.lua
index d7dc83043..573837333 100644
--- a/Server/Plugins/APIDump/APIDesc.lua
+++ b/Server/Plugins/APIDump/APIDesc.lua
@@ -1338,6 +1338,16 @@ end
},
Notes = "Returns the brand that the client has sent in their MC|Brand plugin message.",
},
+ GetForgeMods =
+ {
+ Returns =
+ {
+ {
+ Type = "table",
+ },
+ },
+ Notes = "Returns the Forge mods installed on the client.",
+ },
GetIPString =
{
Returns =
@@ -1456,6 +1466,16 @@ end
},
Notes = "Returns true if the client has registered to receive messages on the specified plugin channel.",
},
+ IsForgeClient =
+ {
+ Returns =
+ {
+ {
+ Type = "boolean",
+ },
+ },
+ Notes = "Returns true if the client is modded with Forge.",
+ },
IsUUIDOnline =
{
IsStatic = true,
@@ -11892,6 +11912,25 @@ end
},
Notes = "Returns true if the specified player is queued to be transferred to a World.",
},
+ RegisterForgeMod =
+ {
+ Params =
+ {
+ {
+ Name = "ModName",
+ Type = "string",
+ },
+ {
+ Name = "ModVersion",
+ Type = "string",
+ },
+ {
+ Name = "ProtocolVersionNumber",
+ Type = "number",
+ },
+ },
+ Notes = "Add a Forge mod name/version to the server ping list.",
+ },
SetMaxPlayers =
{
Params =
@@ -11913,6 +11952,21 @@ end
},
Notes = "Returns true iff the server is set to authenticate players (\"online mode\").",
},
+ UnregisterForgeMod =
+ {
+ Params =
+ {
+ {
+ Name = "ModName",
+ Type = "string",
+ },
+ {
+ Name = "ProtocolVersionNumber",
+ Type = "number",
+ },
+ },
+ Notes = "Remove a Forge mod name/version from the server ping list.",
+ },
},
},
cStringCompression =