diff options
author | Lukas Pioch <lukas@zgow.de> | 2016-10-23 22:52:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-23 22:52:10 +0200 |
commit | 824f5dbbd6b88226b6899b7566fecb3af2cc6d58 (patch) | |
tree | e73bb368cc26cf3c6b5041bc27ae818ec50a25f9 /Server/Plugins/APIDump/APIDesc.lua | |
parent | StyleCheck: Add "else has to be on a separate line" (#3412) (diff) | |
parent | Added SendMessageRaw for sending json string. (diff) | |
download | cuberite-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 'Server/Plugins/APIDump/APIDesc.lua')
-rw-r--r-- | Server/Plugins/APIDump/APIDesc.lua | 16 |
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 = |