[WEB] Show plugin permissions
#9
I don't really think the failsafe is needed. If the Info.lua exists but is invalid then the plugin might not even be loaded.

That got me thinking, this plugin also shows permissions from plugins that aren't loaded. If you want to remove those you might want to put
if (not a_Plugin:IsLoaded()) then
   return false
end
At the top of the ForEachPlugin callback.


Also, I found out why the LoaderEnv table is empty. I forgot to actually call the loader Wink If you'd use "PluginInfoLoader()" after the setfenv function it works normally.
Reply
Thanks given by:


Messages In This Thread
[WEB] Show plugin permissions - by JonnyBoy0719 - 10-08-2015, 04:46 AM
RE: [WEB] Show plugin permissions - by NiLSPACE - 10-08-2015, 05:03 AM
RE: [WEB] Show plugin permissions - by NiLSPACE - 10-08-2015, 06:17 AM
RE: [WEB] Show plugin permissions - by xoft - 10-08-2015, 07:07 AM
RE: [WEB] Show plugin permissions - by xoft - 10-08-2015, 07:09 AM
RE: [WEB] Show plugin permissions - by NiLSPACE - 10-08-2015, 04:36 PM
RE: [WEB] Show plugin permissions - by NiLSPACE - 10-08-2015, 08:58 PM
RE: [WEB] Show plugin permissions - by xoft - 10-08-2015, 09:13 PM
RE: [WEB] Show plugin permissions - by NiLSPACE - 10-08-2015, 09:15 PM
RE: [WEB] Show plugin permissions - by NiLSPACE - 10-08-2015, 10:27 PM
RE: [WEB] Show plugin permissions - by xoft - 10-08-2015, 11:08 PM
RE: [WEB] Show plugin permissions - by NiLSPACE - 10-09-2015, 12:22 AM
RE: [WEB] Show plugin permissions - by NiLSPACE - 10-13-2015, 05:28 PM
RE: [WEB] Show plugin permissions - by chrobione - 12-11-2015, 10:56 AM
RE: [WEB] Show plugin permissions - by chrobione - 12-11-2015, 06:11 PM



Users browsing this thread: 1 Guest(s)