summaryrefslogtreecommitdiffstats
path: root/Server
diff options
context:
space:
mode:
authordImrich <damian@haze.sk>2021-02-04 00:33:17 +0100
committerTiger Wang <ziwei.tiger@outlook.com>2021-02-06 15:14:40 +0100
commit925f960ea2aeeea8eaeae94a8ef6602690b215c2 (patch)
treec865f2e046008670b8fc9e7985c8394a7590c97e /Server
parentCreative mode hits immediately disappear boats (#5117) (diff)
downloadcuberite-925f960ea2aeeea8eaeae94a8ef6602690b215c2.tar
cuberite-925f960ea2aeeea8eaeae94a8ef6602690b215c2.tar.gz
cuberite-925f960ea2aeeea8eaeae94a8ef6602690b215c2.tar.bz2
cuberite-925f960ea2aeeea8eaeae94a8ef6602690b215c2.tar.lz
cuberite-925f960ea2aeeea8eaeae94a8ef6602690b215c2.tar.xz
cuberite-925f960ea2aeeea8eaeae94a8ef6602690b215c2.tar.zst
cuberite-925f960ea2aeeea8eaeae94a8ef6602690b215c2.zip
Diffstat (limited to 'Server')
-rw-r--r--Server/Plugins/APIDump/APIDesc.lua30
-rw-r--r--Server/Plugins/APIDump/Classes/World.lua15
2 files changed, 45 insertions, 0 deletions
diff --git a/Server/Plugins/APIDump/APIDesc.lua b/Server/Plugins/APIDump/APIDesc.lua
index 88e999bd3..430e43df6 100644
--- a/Server/Plugins/APIDump/APIDesc.lua
+++ b/Server/Plugins/APIDump/APIDesc.lua
@@ -1584,6 +1584,21 @@ end
},
Notes = "Sends the specified animation of the specified entity to the client. The AnimationNumber is protocol-specific.",
},
+ SendPlayerListHeaderFooter =
+ {
+ Params =
+ {
+ {
+ Type = "cCompositeChat",
+ Name = "Header",
+ },
+ {
+ Type = "cCompositeChat",
+ Name = "Footer",
+ },
+ },
+ Desc = "Sends the header and footer of the player list to the client.",
+ },
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."
@@ -11388,6 +11403,21 @@ a_Player:OpenWindow(Window);
},
Notes = "Broadcasts the specified message to all players, with its message type set to mtWarning. Use for concerning events, such as plugin reload etc.",
},
+ BroadcastPlayerListsHeaderFooter =
+ {
+ Params =
+ {
+ {
+ Type = "cCompositeChat",
+ Name = "Header",
+ },
+ {
+ Type = "cCompositeChat",
+ Name = "Footer",
+ },
+ },
+ Desc = "Broadcasts the header and footer of the player list to all players.",
+ },
DoWithPlayerByUUID =
{
Params =
diff --git a/Server/Plugins/APIDump/Classes/World.lua b/Server/Plugins/APIDump/Classes/World.lua
index a1f2bc979..8792e7651 100644
--- a/Server/Plugins/APIDump/Classes/World.lua
+++ b/Server/Plugins/APIDump/Classes/World.lua
@@ -327,6 +327,21 @@ return
},
Notes = "Spawns the specified particles to all players in the world exept the optional ExeptClient. A list of available particles by thinkofdeath can be found {{https://gist.github.com/thinkofdeath/5110835|Here}}",
},
+ BroadcastPlayerListHeaderFooter =
+ {
+ Params =
+ {
+ {
+ Type = "cCompositeChat",
+ Name = "Header",
+ },
+ {
+ Type = "cCompositeChat",
+ Name = "Footer",
+ },
+ },
+ Desc = "Broadcasts the header and footer of the player list to all players in the world.",
+ },
BroadcastSoundEffect =
{
Params =