mirror of
https://github.com/eaglerforge/EaglerForgeInjector
synced 2025-07-24 14:41:18 -09:00
17 lines
852 B
Markdown
17 lines
852 B
Markdown
## ModAPI.meta
|
|
ModAPI.meta contains the API for registering metadata on mods easily.
|
|
|
|
Methods:
|
|
- `ModAPI.meta.title(title: String)`
|
|
- Sets the title of the mod. This is mandatory if any metadata is to be displayed. Character limit of 16.
|
|
- `ModAPI.meta.credits(credits: String)`
|
|
- Sets the credits of the mod. Character limit of 36.
|
|
- `ModAPI.meta.description(desc: String)`
|
|
- Sets the description of the mod. Character limit of 160.
|
|
- `ModAPI.meta.icon(iconURL: String)`
|
|
- Sets the icon of the mod.
|
|
- It can be extremely low res, it will not appear blurry.
|
|
- `ModAPI.meta.version(versionCode: String)`
|
|
- Sets the version of the mod. Appended after the title.
|
|
- `ModAPI.meta.config(configFn: Function)`
|
|
- Once the client is fully loaded, creates a button in the mod manager GUI that runs the specified function when pressed. |