Libs Api
Accessors
Section titled “Accessors”Get Signature
Section titled “Get Signature”get list():
string
[]
A list of all the libraries installed
Returns
Section titled “Returns”string
[]
Methods
Section titled “Methods”get(
name
):any
Gets the exported values of a library
Parameters
Section titled “Parameters”Parameter | Type |
---|---|
name | string |
Returns
Section titled “Returns”any
getHeaders()
Section titled “getHeaders()”getHeaders(
name
):object
Gets the headers of a library, such as version, author, and description
Parameters
Section titled “Parameters”Parameter | Type |
---|---|
name | string |
Returns
Section titled “Returns”object
author
Section titled “author”author:
string
description
Section titled “description”description:
string
downloadUrl
Section titled “downloadUrl”downloadUrl:
string
gamemode
Section titled “gamemode”gamemode:
string
[]
hasSettings
Section titled “hasSettings”hasSettings:
string
Only available for plugins
isLibrary
Section titled “isLibrary”isLibrary:
string
name:
string
needsLib
Section titled “needsLib”needsLib:
string
[]
optionalLib
Section titled “optionalLib”optionalLib:
string
[]
reloadRequired
Section titled “reloadRequired”reloadRequired:
string
syncEval
Section titled “syncEval”syncEval:
string
version
Section titled “version”version:
string
webpage
Section titled “webpage”webpage:
string
isEnabled()
Section titled “isEnabled()”isEnabled(
name
):boolean
Gets whether or not a plugin is installed and enabled
Parameters
Section titled “Parameters”Parameter | Type |
---|---|
name | string |
Returns
Section titled “Returns”boolean