summaryrefslogtreecommitdiffstats
path: root/Server/Plugins
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Server/Plugins/APIDump/APIDesc.lua25
-rw-r--r--Server/Plugins/APIDump/Classes/World.lua73
2 files changed, 94 insertions, 4 deletions
diff --git a/Server/Plugins/APIDump/APIDesc.lua b/Server/Plugins/APIDump/APIDesc.lua
index 334fed378..1548cf97d 100644
--- a/Server/Plugins/APIDump/APIDesc.lua
+++ b/Server/Plugins/APIDump/APIDesc.lua
@@ -1641,6 +1641,29 @@ end
Type = "string",
},
{
+ Name = "Position",
+ Type = "Vector3d",
+ },
+ {
+ Name = "Volume",
+ Type = "number",
+ },
+ {
+ Name = "Pitch",
+ Type = "number",
+ },
+ },
+ Notes = "Sends a sound effect request to the client. The sound is played at the specified coords, with the specified volume (a float, 1.0 is full volume, can be more) and pitch (0-255, 63 is 100%)",
+ },
+ SendSoundEffect =
+ {
+ Params =
+ {
+ {
+ Name = "SoundName",
+ Type = "string",
+ },
+ {
Name = "X",
Type = "number",
},
@@ -1661,7 +1684,7 @@ end
Type = "number",
},
},
- Notes = "Sends a sound effect request to the client. The sound is played at the specified coords, with the specified volume (a float, 1.0 is full volume, can be more) and pitch (0-255, 63 is 100%)",
+ Notes = "Sends a sound effect request to the client. The sound is played at the specified coords, with the specified volume (a float, 1.0 is full volume, can be more) and pitch (0-255, 63 is 100%) (DEPRECATED, use vector-parametered version instead)",
},
SendTitleTimes =
{
diff --git a/Server/Plugins/APIDump/Classes/World.lua b/Server/Plugins/APIDump/Classes/World.lua
index 82f31febe..648bf5aa4 100644
--- a/Server/Plugins/APIDump/Classes/World.lua
+++ b/Server/Plugins/APIDump/Classes/World.lua
@@ -51,6 +51,34 @@ return
Params =
{
{
+ Name = "BlockPos",
+ Type = "Vector3i",
+ },
+ {
+ Name = "ActionByte1",
+ Type = "number",
+ },
+ {
+ Name = "ActionByte2",
+ Type = "number",
+ },
+ {
+ Name = "BlockType",
+ Type = "number",
+ },
+ {
+ Name = "ExcludeClient",
+ Type = "cClientHandle",
+ IsOptional = true,
+ },
+ },
+ Notes = "Broadcasts the BlockAction packet to all clients who have the appropriate chunk loaded (except ExcludeClient). The contents of the packet are specified by the parameters for the call, the blocktype needn't match the actual block that is present in the world data at the specified location.",
+ },
+ BroadcastBlockAction =
+ {
+ Params =
+ {
+ {
Name = "BlockX",
Type = "number",
},
@@ -80,7 +108,7 @@ return
IsOptional = true,
},
},
- Notes = "Broadcasts the BlockAction packet to all clients who have the appropriate chunk loaded (except ExcludeClient). The contents of the packet are specified by the parameters for the call, the blocktype needn't match the actual block that is present in the world data at the specified location.",
+ Notes = "Broadcasts the BlockAction packet to all clients who have the appropriate chunk loaded (except ExcludeClient). The contents of the packet are specified by the parameters for the call, the blocktype needn't match the actual block that is present in the world data at the specified location. (DEPRECATED)",
},
BroadcastChat =
{
@@ -276,6 +304,34 @@ return
Type = "string",
},
{
+ Name = "Position",
+ Type = "Vector3d",
+ },
+ {
+ Name = "Volume",
+ Type = "number",
+ },
+ {
+ Name = "Pitch",
+ Type = "number",
+ },
+ {
+ Name = "ExcludeClient",
+ Type = "cClientHandle",
+ IsOptional = true,
+ },
+ },
+ Notes = "Sends the specified sound effect to all players in this world, except the optional ExceptClient",
+ },
+ BroadcastSoundEffect =
+ {
+ Params =
+ {
+ {
+ Name = "SoundName",
+ Type = "string",
+ },
+ {
Name = "X",
Type = "number",
},
@@ -301,7 +357,7 @@ return
IsOptional = true,
},
},
- Notes = "Sends the specified sound effect to all players in this world, except the optional ExceptClient",
+ Notes = "Sends the specified sound effect to all players in this world, except the optional ExceptClient (DEPRECATED, use vector-parametered version instead)",
},
BroadcastSoundParticleEffect =
{
@@ -340,6 +396,17 @@ return
Params =
{
{
+ Name = "Position",
+ Type = "Vector3d",
+ },
+ },
+ Notes = "Creates a thunderbolt at the specified coords",
+ },
+ CastThunderbolt =
+ {
+ Params =
+ {
+ {
Name = "X",
Type = "number",
},
@@ -352,7 +419,7 @@ return
Type = "number",
},
},
- Notes = "Creates a thunderbolt at the specified coords",
+ Notes = "Creates a thunderbolt at the specified coords (DEPRECATED, use vector-parametered version instead)",
},
ChangeWeather =
{