library.listAddOnLibraries: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{MacroFunction |name=library.listAddOnLibraries |proposed=true |trusted=false |version=1.11.0 |description= List Add-On libraries loaded from {{code|.mtlib}} files. Informati...") |
m (Conversion script moved page library.listAddOnLibraries to Library.listAddOnLibraries without leaving a redirect: Converting page title to first-letter uppercase) |
(No difference)
|
Revision as of 22:39, 9 February 2023
Note: This refers to a proposed change that has not been implemented in the main code base yet.
library.listAddOnLibraries() Function
• Introduced in version 1.11.0
List Add-On libraries loaded from
.mtlib
files. Information is returned as an array of JSON objects.Usage
library.listAddOnLibraries()
Parameters
None
- -
Example
List loaded Add-Ons.
Add-On Libraries Loaded:<br>
<pre>[r: json.indent(library.listAddOnLibraries(),2)]</pre>
Returns:
Add-On Libraries Loaded:
[{
"name": "some-lib",
"namespace": "net.rptools.addon.some-lib",
"version": "1.0.0",
"website": "www.rptools.net",
"gitUrl": "github.com/RPTools/maptool",
"authors": ["RPTools Team"],
"license": "GPL 3.0",
"description": "My new test library for stuff",
"shortDescription": "test library",
"allowsUrlAccess": true
}]
See Also
Version Changes
- 1.11.0 - Function added