diff options
author | Feyo Korenhof <35343640+feyokorenhof@users.noreply.github.com> | 2021-05-26 18:07:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-26 18:07:32 +0200 |
commit | 9ddc3635d6a04ff4b78611df00c905cc86e166ae (patch) | |
tree | fa6da8cea0a2f0c9c05bb9ffa1880e25a911c6b8 /Server | |
parent | Re-implement up/down placement metadata (#5219) (diff) | |
download | cuberite-9ddc3635d6a04ff4b78611df00c905cc86e166ae.tar cuberite-9ddc3635d6a04ff4b78611df00c905cc86e166ae.tar.gz cuberite-9ddc3635d6a04ff4b78611df00c905cc86e166ae.tar.bz2 cuberite-9ddc3635d6a04ff4b78611df00c905cc86e166ae.tar.lz cuberite-9ddc3635d6a04ff4b78611df00c905cc86e166ae.tar.xz cuberite-9ddc3635d6a04ff4b78611df00c905cc86e166ae.tar.zst cuberite-9ddc3635d6a04ff4b78611df00c905cc86e166ae.zip |
Diffstat (limited to '')
-rw-r--r-- | Server/Plugins/APIDump/APIDesc.lua | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Server/Plugins/APIDump/APIDesc.lua b/Server/Plugins/APIDump/APIDesc.lua index ef3bc5ea0..af6049fba 100644 --- a/Server/Plugins/APIDump/APIDesc.lua +++ b/Server/Plugins/APIDump/APIDesc.lua @@ -12307,6 +12307,21 @@ end }, Notes = "Add a Forge mod name/version to the server ping list.", }, + ScheduleTask = + { + Params = + { + { + Name = "DelayTicks", + Type = "number", + }, + { + Name = "TaskFunction", + Type = "function", + }, + }, + Notes = "Queues the specified function to be executed in the server's tick thread after a the specified number of ticks. This enables operations to be queued for execution in the future. The function signature is <pre class=\"pretty-print lang-lua\">function({{cServer|Server}})</pre>All return values from the function are ignored. Note that it is unsafe to store references to Cuberite objects, such as entities, across from the caller to the task handler function; store the EntityID instead.", + }, SetMaxPlayers = { Params = |