diff options
Diffstat (limited to 'Server')
-rw-r--r-- | Server/Plugins/APIDump/APIDesc.lua | 30 | ||||
-rw-r--r-- | Server/Plugins/APIDump/Classes/World.lua | 15 |
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 = |