diff options
author | PlasmaPower <ljbousfield@gmail.com> | 2016-05-29 19:12:18 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2016-05-29 19:12:18 +0200 |
commit | b4d9732fe9281d58e6970f336054205471bec74c (patch) | |
tree | ca6ef00b088e5f0ab31f54d303a9b6acbffabdeb /Server/Plugins/Debuggers/Debuggers.lua | |
parent | Fixed remaining issue from #3199 (#3207) (diff) | |
download | cuberite-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/Debuggers/Debuggers.lua | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Server/Plugins/Debuggers/Debuggers.lua b/Server/Plugins/Debuggers/Debuggers.lua index c11052071..ae06b4fc9 100644 --- a/Server/Plugins/Debuggers/Debuggers.lua +++ b/Server/Plugins/Debuggers/Debuggers.lua @@ -2184,3 +2184,16 @@ end + +function HandleTeamsCmd(a_Split, a_Player) + local Scoreboard = a_Player:GetWorld():GetScoreBoard() + + a_Player:SendMessage("Teams: " .. table.concat(Scoreboard:GetTeamNames(), ", ")) + + return true +end + + + + + |