summaryrefslogtreecommitdiffstats
path: root/Server/Plugins/APIDump
diff options
context:
space:
mode:
authorPlasmaPower <ljbousfield@gmail.com>2016-05-29 19:12:18 +0200
committerMattes D <github@xoft.cz>2016-05-29 19:12:18 +0200
commitb4d9732fe9281d58e6970f336054205471bec74c (patch)
treeca6ef00b088e5f0ab31f54d303a9b6acbffabdeb /Server/Plugins/APIDump
parentFixed remaining issue from #3199 (#3207) (diff)
downloadcuberite-b4d9732fe9281d58e6970f336054205471bec74c.tar
cuberite-b4d9732fe9281d58e6970f336054205471bec74c.tar.gz
cuberite-b4d9732fe9281d58e6970f336054205471bec74c.tar.bz2
cuberite-b4d9732fe9281d58e6970f336054205471bec74c.tar.lz
cuberite-b4d9732fe9281d58e6970f336054205471bec74c.tar.xz
cuberite-b4d9732fe9281d58e6970f336054205471bec74c.tar.zst
cuberite-b4d9732fe9281d58e6970f336054205471bec74c.zip
Diffstat (limited to '')
-rw-r--r--Server/Plugins/APIDump/APIDesc.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/Server/Plugins/APIDump/APIDesc.lua b/Server/Plugins/APIDump/APIDesc.lua
index 43e805a50..0f399bd07 100644
--- a/Server/Plugins/APIDump/APIDesc.lua
+++ b/Server/Plugins/APIDump/APIDesc.lua
@@ -2196,6 +2196,7 @@ end
GetObjective = { Params = "string", Return = "{{cObjective}}", Notes = "Returns the objective with the specified name." },
GetObjectiveIn = { Params = "DisplaySlot", Return = "{{cObjective}}", Notes = "Returns the objective in the specified display slot. Can be nil." },
GetTeam = { Params = "string", Return = "{{cTeam}}", Notes = "Returns the team with the specified name." },
+ GetTeamNames = { Params = "", Return = "array table of strings", Notes = "Returns the names of all teams" },
RegisterObjective = { Params = "Name, DisplayName, Type", Return = "{{cObjective}}", Notes = "Registers a new scoreboard objective. Returns the {{cObjective}} instance, nil on error." },
RegisterTeam = { Params = "Name, DisplayName, Prefix, Suffix", Return = "{{cTeam}}", Notes = "Registers a new team. Returns the {{cTeam}} instance, nil on error." },
RemoveObjective = { Params = "string", Return = "bool", Notes = "Removes the objective with the specified name. Returns true if operation was successful." },