summaryrefslogtreecommitdiffstats
path: root/Server/Plugins/APIDump/APIDesc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Server/Plugins/APIDump/APIDesc.lua')
-rw-r--r--Server/Plugins/APIDump/APIDesc.lua76
1 files changed, 65 insertions, 11 deletions
diff --git a/Server/Plugins/APIDump/APIDesc.lua b/Server/Plugins/APIDump/APIDesc.lua
index d7dc83043..674729624 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,
@@ -8650,7 +8670,7 @@ a_Player:OpenWindow(Window);
{
{
Name = "MobType",
- Type = "Globals#eMonsterType",
+ Type = "eMonsterType",
},
},
Returns =
@@ -8710,7 +8730,7 @@ a_Player:OpenWindow(Window);
{
{
Name = "MobType",
- Type = "Globals#eMonsterType",
+ Type = "eMonsterType",
},
},
Notes = "Returns the type of this mob ({{Globals#eMonsterType|mtXXX}} constant)",
@@ -8801,7 +8821,7 @@ a_Player:OpenWindow(Window);
{
{
Name = "MobType",
- Type = "Globals#eMonsterType",
+ Type = "eMonsterType",
},
},
Returns =
@@ -8819,7 +8839,7 @@ a_Player:OpenWindow(Window);
{
{
Name = "MobType",
- Type = "Globals#eMonsterType",
+ Type = "eMonsterType",
},
},
Returns =
@@ -8910,7 +8930,7 @@ a_Player:OpenWindow(Window);
{
{
Name = "MobType",
- Type = "Globals#eMonsterType",
+ Type = "eMonsterType",
},
},
Notes = "Returns the mob type ({{Globals#eMonsterType|mtXXX}} constant) parsed from the string type (\"creeper\"), or mtInvalidType if unrecognized.",
@@ -9976,7 +9996,7 @@ a_Player:OpenWindow(Window);
{
{
Name = "GameMode",
- Type = "Globals#eGameMode",
+ Type = "eGameMode",
},
},
Notes = "(OBSOLETE) Returns the current resolved game mode of the player. If the player is set to inherit the world's gamemode, returns that instead. See also GetGameMode() and IsGameModeXXX() functions. Note that this function is the same as GetGameMode(), use that function instead.",
@@ -10076,7 +10096,7 @@ a_Player:OpenWindow(Window);
{
{
Name = "GameMode",
- Type = "Globals#eGameMode",
+ Type = "eGameMode",
},
},
Notes = "Returns the player's gamemode. The player may have their gamemode unassigned, in which case they inherit the gamemode from the current {{cWorld|world}}.<br /> <b>NOTE:</b> Instead of comparing the value returned by this function to the gmXXX constants, use the IsGameModeXXX() functions. These functions handle the gamemode inheritance automatically.",
@@ -10861,7 +10881,7 @@ a_Player:OpenWindow(Window);
{
{
Name = "NewGameMode",
- Type = "Globals#eGameMode",
+ Type = "eGameMode",
},
},
Notes = "Sets the gamemode for the player. The new gamemode overrides the world's default gamemode, unless it is set to gmInherit.",
@@ -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 =
@@ -13831,7 +13885,7 @@ end
{
{
Name = "BiomeType",
- Type = "Globals#EMCSBiome",
+ Type = "EMCSBiome",
},
},
Notes = "Converts a string representation to a {{Globals#BiomeTypes|BiomeType}} enumerated value. Returns biInvalidBiome if the input is not a recognized biome.",
@@ -13849,7 +13903,7 @@ end
{
{
Name = "DamageType",
- Type = "Globals#eDamageType",
+ Type = "eDamageType",
},
},
Notes = "Converts a string representation to a {{Globals#DamageType|DamageType}} enumerated value. Returns -1 if the inupt is not a recognized damage type.",
@@ -13867,7 +13921,7 @@ end
{
{
Name = "Dimension",
- Type = "Globals#eDimension",
+ Type = "eDimension",
},
},
Notes = "Converts a string representation to a {{Globals#eDimension|eDimension}} enumerated value. Returns dimNotSet if the input is not a recognized dimension.",