Is it possible to grab information about all the mounted addons on the server/client and put it into text on a derma panel?

Is it possible to grab information about all the mounted addons from the workshop on the server/client and put it into text on a derma panel?

I don’t think so, not unless you do some networking.
Run this serverside: http://wiki.garrysmod.com/page/engine/GetAddons and then send it to the client.

Awesome, thanks.

I’m rather new to LUA, so I was wondering if this was possible.

Also, is it possible to make GetAddons() only return the title?

Yes, it is really easy.
if you wanted to get the first addon’s title you could do something like this



local title = engine.GetAddons()[1]["title"]


The “[1]” is the first addon in the table and the “[‘title’]” is the title index in the first table (addon)
If you want a table of all addons with all title you could use something like this



function GetAddonTitles(  )
	local table = {}
	for k,v in pairs(engine.GetAddons()) do
		if k=="title" then
			table.insert(table, v)
		end
	end
	return table
end


running GetAddonTitle() would give you a table of all the titles of the addons they have

warning: code is untested and may not work