summaryrefslogtreecommitdiffstats
path: root/Server/Plugins/APIDump/Classes
diff options
context:
space:
mode:
Diffstat (limited to 'Server/Plugins/APIDump/Classes')
-rw-r--r--Server/Plugins/APIDump/Classes/Projectiles.lua2
-rw-r--r--Server/Plugins/APIDump/Classes/RankManager.lua16
-rw-r--r--Server/Plugins/APIDump/Classes/World.lua17
3 files changed, 34 insertions, 1 deletions
diff --git a/Server/Plugins/APIDump/Classes/Projectiles.lua b/Server/Plugins/APIDump/Classes/Projectiles.lua
index b92f6d2a8..a62779960 100644
--- a/Server/Plugins/APIDump/Classes/Projectiles.lua
+++ b/Server/Plugins/APIDump/Classes/Projectiles.lua
@@ -26,7 +26,7 @@ return
},
GetBlockHit =
{
- Desc = "Gets the block arrow is in",
+ Notes = "Returns the coords of the block into which the arrow is stuck. Undefined if the arrow is still moving.",
Returns =
{
{
diff --git a/Server/Plugins/APIDump/Classes/RankManager.lua b/Server/Plugins/APIDump/Classes/RankManager.lua
index 9695117a6..be2969298 100644
--- a/Server/Plugins/APIDump/Classes/RankManager.lua
+++ b/Server/Plugins/APIDump/Classes/RankManager.lua
@@ -626,6 +626,22 @@ return
},
Notes = "Removes the specified rank. If ReplacementRankName is given, the players that have RankName will get their rank set to ReplacementRankName. If it isn't given, or is an invalid rank, the players will be removed from the manager, their ranks will be unset completely. Logs an info message and does nothing if the rank is not found.",
},
+ RemoveRestrictionFromGroup =
+ {
+ IsStatic = true,
+ Params =
+ {
+ {
+ Name = "Restriction",
+ Type = "string",
+ },
+ {
+ Name = "GroupName",
+ Type = "string",
+ },
+ },
+ Notes = "Removes the specified restriction from the specified group.",
+ },
RenameGroup =
{
IsStatic = true,
diff --git a/Server/Plugins/APIDump/Classes/World.lua b/Server/Plugins/APIDump/Classes/World.lua
index 91741377f..2733410e4 100644
--- a/Server/Plugins/APIDump/Classes/World.lua
+++ b/Server/Plugins/APIDump/Classes/World.lua
@@ -1112,6 +1112,23 @@ function OnAllChunksAvailable()</pre> All return values from the callbacks are i
},
Notes = "Calls the specified callback for each furnace in the chunk. Returns true if all furnaces in the chunk have been processed (including when there are zero furnaces), or false if the callback has aborted the enumeration by returning true. The CallbackFunction has the following signature: <pre class=\"prettyprint lang-lua\">function Callback({{cFurnaceEntity|FurnaceEntity}})</pre> The callback should return false or no value to continue with the next furnace, or true to abort the enumeration.",
},
+ ForEachLoadedChunk =
+ {
+ Params =
+ {
+ {
+ Name = "CallbackFunction",
+ Type = "function",
+ },
+ },
+ Returns =
+ {
+ {
+ Type = "boolean",
+ },
+ },
+ Notes = "Calls the specified callback for each loaded chunk in the world. Returns true if all chunks have been processed, or false if the callback has aborted the enumeration by returning true. The CallbackFunction has the following signature: <pre class=\"prettyprint lang-lua\">function Callback(ChunkX, ChunkZ)</pre> The callback should return false or no value to continue with the next chunk, or true to abort the enumeration.",
+ },
ForEachPlayer =
{
Params =