summaryrefslogtreecommitdiffstats
path: root/Core/playerlist.lua
diff options
context:
space:
mode:
authorAlexander Harkness <bearbin@gmail.com>2013-07-27 17:22:27 +0200
committerAlexander Harkness <bearbin@gmail.com>2013-07-27 17:22:27 +0200
commit66e837ecbc08ece3150a364976db87f56813d30b (patch)
tree1593ac9b849f3416aafa70c440694200c62e6b2c /Core/playerlist.lua
parentAdded the new core as a subtree. (diff)
downloadcuberite-66e837ecbc08ece3150a364976db87f56813d30b.tar
cuberite-66e837ecbc08ece3150a364976db87f56813d30b.tar.gz
cuberite-66e837ecbc08ece3150a364976db87f56813d30b.tar.bz2
cuberite-66e837ecbc08ece3150a364976db87f56813d30b.tar.lz
cuberite-66e837ecbc08ece3150a364976db87f56813d30b.tar.xz
cuberite-66e837ecbc08ece3150a364976db87f56813d30b.tar.zst
cuberite-66e837ecbc08ece3150a364976db87f56813d30b.zip
Diffstat (limited to 'Core/playerlist.lua')
-rw-r--r--Core/playerlist.lua14
1 files changed, 0 insertions, 14 deletions
diff --git a/Core/playerlist.lua b/Core/playerlist.lua
deleted file mode 100644
index 73d9e5b24..000000000
--- a/Core/playerlist.lua
+++ /dev/null
@@ -1,14 +0,0 @@
-function HandlePlayerListCommand( Split, Player )
-
- local PlayerTable = {}
- local AppendToTable = function( Player )
- table.insert(PlayerTable, Player:GetName() )
- end
- Player:GetWorld():ForEachPlayer( AppendToTable )
-
- local Message = cChatColor.Green .. "Connected players: (".. cChatColor.White.. #PlayerTable .. cChatColor.Green .. ")"
- Player:SendMessage( Message )
-
- Player:SendMessage( table.concat(PlayerTable, " ") )
- return true
-end \ No newline at end of file