summaryrefslogtreecommitdiffstats
path: root/Plugins/NewTest/playerlist.lua
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-01-28 00:47:32 +0100
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-01-28 00:47:32 +0100
commitde293999872346271cdfb5dbecbad7f77362b83b (patch)
treec627283aacda09be1592f85805261fec782b8a6d /Plugins/NewTest/playerlist.lua
parentAdded a VC2010 configuration for Debug build with optimized Noise; made it the default in VC2008 (diff)
downloadcuberite-de293999872346271cdfb5dbecbad7f77362b83b.tar
cuberite-de293999872346271cdfb5dbecbad7f77362b83b.tar.gz
cuberite-de293999872346271cdfb5dbecbad7f77362b83b.tar.bz2
cuberite-de293999872346271cdfb5dbecbad7f77362b83b.tar.lz
cuberite-de293999872346271cdfb5dbecbad7f77362b83b.tar.xz
cuberite-de293999872346271cdfb5dbecbad7f77362b83b.tar.zst
cuberite-de293999872346271cdfb5dbecbad7f77362b83b.zip
Diffstat (limited to 'Plugins/NewTest/playerlist.lua')
-rw-r--r--Plugins/NewTest/playerlist.lua16
1 files changed, 0 insertions, 16 deletions
diff --git a/Plugins/NewTest/playerlist.lua b/Plugins/NewTest/playerlist.lua
deleted file mode 100644
index c120f068f..000000000
--- a/Plugins/NewTest/playerlist.lua
+++ /dev/null
@@ -1,16 +0,0 @@
-function HandlePlayerListCommand( Split, Player )
- local World = Player:GetWorld()
- local PlayerList = World:GetAllPlayers()
-
- local Message = cChatColor.Green .. "Connected players: (".. cChatColor.White.. #PlayerList .. cChatColor.Green .. ")"
- Player:SendMessage( Message )
-
- local PlayerTable = {}
- for i, TempPlayer in ipairs( PlayerList ) do
- local PlayerName = TempPlayer:GetName()
- table.insert(PlayerTable, PlayerName )
- end
-
- Player:SendMessage( table.concat(PlayerTable, " ") )
- return true
-end \ No newline at end of file