diff options
author | Mat <mail@mathias.is> | 2020-03-30 21:35:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-30 21:35:37 +0200 |
commit | 5eb1ba3bcc3983f936ef1d0a7701f19152d0dd81 (patch) | |
tree | 5c887139d79edcfb97af78c6575ec3de23bb3051 /Server/Plugins/APIDump | |
parent | Send experience on respawn (#4586) (diff) | |
download | cuberite-5eb1ba3bcc3983f936ef1d0a7701f19152d0dd81.tar cuberite-5eb1ba3bcc3983f936ef1d0a7701f19152d0dd81.tar.gz cuberite-5eb1ba3bcc3983f936ef1d0a7701f19152d0dd81.tar.bz2 cuberite-5eb1ba3bcc3983f936ef1d0a7701f19152d0dd81.tar.lz cuberite-5eb1ba3bcc3983f936ef1d0a7701f19152d0dd81.tar.xz cuberite-5eb1ba3bcc3983f936ef1d0a7701f19152d0dd81.tar.zst cuberite-5eb1ba3bcc3983f936ef1d0a7701f19152d0dd81.zip |
Diffstat (limited to 'Server/Plugins/APIDump')
-rw-r--r-- | Server/Plugins/APIDump/APIDesc.lua | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Server/Plugins/APIDump/APIDesc.lua b/Server/Plugins/APIDump/APIDesc.lua index ff704539f..88ab8c5ba 100644 --- a/Server/Plugins/APIDump/APIDesc.lua +++ b/Server/Plugins/APIDump/APIDesc.lua @@ -11132,6 +11132,17 @@ a_Player:OpenWindow(Window); }, Notes = "Sets the player visibility to other players", }, + SpectateEntity = + { + Params = + { + { + Name = "Target", + Type = "cEntity", + }, + }, + Notes = "Spectates the target entity. Does not change the player's gamemode to spectator mode. When called with self or nil as the target, resets the spectation.", + }, TossEquippedItem = { Params = |