summaryrefslogtreecommitdiffstats
path: root/Server
diff options
context:
space:
mode:
authormohe2015 <mohe2015@users.noreply.github.com>2016-11-13 16:04:18 +0100
committerMattes D <github@xoft.cz>2016-11-13 16:04:18 +0100
commita990a6d133860671491a6800fc1c0b6cf84eff79 (patch)
tree524bba6aae974e719859adcaf46243a69b2119cb /Server
parentMerge pull request #3429 from mathiascode/itemscrafting (diff)
downloadcuberite-a990a6d133860671491a6800fc1c0b6cf84eff79.tar
cuberite-a990a6d133860671491a6800fc1c0b6cf84eff79.tar.gz
cuberite-a990a6d133860671491a6800fc1c0b6cf84eff79.tar.bz2
cuberite-a990a6d133860671491a6800fc1c0b6cf84eff79.tar.lz
cuberite-a990a6d133860671491a6800fc1c0b6cf84eff79.tar.xz
cuberite-a990a6d133860671491a6800fc1c0b6cf84eff79.tar.zst
cuberite-a990a6d133860671491a6800fc1c0b6cf84eff79.zip
Diffstat (limited to 'Server')
-rw-r--r--Server/Plugins/APIDump/APIDesc.lua72
1 files changed, 72 insertions, 0 deletions
diff --git a/Server/Plugins/APIDump/APIDesc.lua b/Server/Plugins/APIDump/APIDesc.lua
index a32bec2e8..79fcc67c1 100644
--- a/Server/Plugins/APIDump/APIDesc.lua
+++ b/Server/Plugins/APIDump/APIDesc.lua
@@ -3471,6 +3471,10 @@ end
},
Notes = "Sends the specified animation of the specified entity to the client. The AnimationNumber is protocol-specific.",
},
+ SendHideTitle =
+ {
+ Notes = "Hides the title. This makes the title and subtitle disappear, but if you call SendTitleTimes() the same title and subtitle will appear again."
+ },
SendPluginMessage =
{
Params =
@@ -3486,6 +3490,54 @@ end
},
Notes = "Sends the plugin message on the specified channel.",
},
+ SendResetTitle =
+ {
+ Notes = "Resets and hides the title but not the subtitle."
+ },
+ SendSetSubTitle =
+ {
+ Params =
+ {
+ {
+ Name = "SubTitle",
+ Type = "cCompositeChat",
+ },
+ },
+ Notes = "Sends the subtitle to the client. Doesn't make the client display it yet, use SendTitleTimes() to show both the title and the subtitle."
+ },
+ SendSetRawSubTitle =
+ {
+ Params =
+ {
+ {
+ Name = "SubTitle",
+ Type = "string",
+ },
+ },
+ Notes = "Sends the raw subtitle to the client. Doesn't make the client display it yet, use SendTitleTimes() to show both the title and the subtitle."
+ },
+ SendSetTitle =
+ {
+ Params =
+ {
+ {
+ Name = "Title",
+ Type = "cCompositeChat",
+ },
+ },
+ Notes = "Sends the title to the client. Doesn't make the client display it yet, use SendTitleTimes() to show both the title and the subtitle."
+ },
+ SendSetRawTitle =
+ {
+ Params =
+ {
+ {
+ Name = "Title",
+ Type = "string",
+ },
+ },
+ Notes = "Sends the raw title to the client. Doesn't make the client display it yet, use SendTitleTimes() to show both the title and the subtitle."
+ },
SendSoundEffect =
{
Params =
@@ -3517,6 +3569,25 @@ end
},
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%)",
},
+ SendTitleTimes =
+ {
+ Params =
+ {
+ {
+ Name = "FadeInTicks",
+ Type = "number",
+ },
+ {
+ Name = "DisplayTicks",
+ Type = "number",
+ },
+ {
+ Name = "FadeOutTicks",
+ Type = "number",
+ },
+ },
+ Notes = "Sends the request to display the title and subtitle, previously set with SendSetTitle, SendSetRawTitle, SendSetSubTitle and SendSetRawSubTitle, to the client."
+ },
SendTimeUpdate =
{
Params =
@@ -17416,3 +17487,4 @@ end
"__.*__",
},
}
+