From 091d958b0c22e1bfd88144b4cda0c7ca00f4cf28 Mon Sep 17 00:00:00 2001 From: faketruth Date: Wed, 28 Mar 2012 18:11:06 +0000 Subject: 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 --- Plugins/Core/pluginlist.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Plugins/Core') diff --git a/Plugins/Core/pluginlist.lua b/Plugins/Core/pluginlist.lua index 6cb767868..7b007f7db 100644 --- a/Plugins/Core/pluginlist.lua +++ b/Plugins/Core/pluginlist.lua @@ -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 \ No newline at end of file -- cgit v1.2.3