Archive eaglerforge-injector (tool, 1.8.8, clean-with-notes)
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
## 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.
|
||||
Reference in New Issue
Block a user