summaryrefslogtreecommitdiffstats
path: root/Server/Plugins
diff options
context:
space:
mode:
authorLukas Pioch <lukas@zgow.de>2016-10-23 22:52:10 +0200
committerGitHub <noreply@github.com>2016-10-23 22:52:10 +0200
commit824f5dbbd6b88226b6899b7566fecb3af2cc6d58 (patch)
treee73bb368cc26cf3c6b5041bc27ae818ec50a25f9 /Server/Plugins
parentStyleCheck: Add "else has to be on a separate line" (#3412) (diff)
parentAdded SendMessageRaw for sending json string. (diff)
downloadcuberite-824f5dbbd6b88226b6899b7566fecb3af2cc6d58.tar
cuberite-824f5dbbd6b88226b6899b7566fecb3af2cc6d58.tar.gz
cuberite-824f5dbbd6b88226b6899b7566fecb3af2cc6d58.tar.bz2
cuberite-824f5dbbd6b88226b6899b7566fecb3af2cc6d58.tar.lz
cuberite-824f5dbbd6b88226b6899b7566fecb3af2cc6d58.tar.xz
cuberite-824f5dbbd6b88226b6899b7566fecb3af2cc6d58.tar.zst
cuberite-824f5dbbd6b88226b6899b7566fecb3af2cc6d58.zip
Diffstat (limited to '')
-rw-r--r--Server/Plugins/APIDump/APIDesc.lua16
1 files changed, 16 insertions, 0 deletions
diff --git a/Server/Plugins/APIDump/APIDesc.lua b/Server/Plugins/APIDump/APIDesc.lua
index 15960f6d3..4d8499687 100644
--- a/Server/Plugins/APIDump/APIDesc.lua
+++ b/Server/Plugins/APIDump/APIDesc.lua
@@ -11698,6 +11698,22 @@ a_Player:OpenWindow(Window);
},
Notes = "Sends the specified message to the player.",
},
+ SendMessageRaw =
+ {
+ Params =
+ {
+ {
+ Name = "Json",
+ Type = "string",
+ },
+ {
+ Name = "eChatType",
+ Type = "number",
+ IsOptional = true,
+ }
+ },
+ Notes = "Sends the specified json string to the player. The optional value eChatType (default ctChatBox) can be ctChatBox, ctSystem or ctAboveActionBar. You can use {{cJson}} to build a json string.",
+ },
SendMessageFailure =
{
Params =