Got rid of sPluginManagerState

/pluginlist now also shows the number of active plugins
Fixed crash caused by lingering bound Lua commands http://forum.mc-server.org/showthread.php?tid=212&pid=2541#pid2541
Added error messages when binding commands to an invalid plugin

git-svn-id: http://mc-server.googlecode.com/svn/trunk@440 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
faketruth
2012-03-28 18:11:06 +00:00
parent fcb9b281e0
commit 091d958b0c
6 changed files with 91 additions and 71 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ function HandlePluginListCommand( Split, Player )
table.insert(PluginTable, Plugin:GetName() )
end
Player:SendMessage( cChatColor.Green .. "Loaded plugins:" )
Player:SendMessage( cChatColor.Green .. "Loaded plugins: (" .. #PluginTable .. ")" )
Player:SendMessage( cChatColor.Gold .. table.concat(PluginTable, cChatColor.Gold.." ") )
return true
end