Modtale API
Base: https://api.modtale.net/api/v1
Modtale is a community site for Hytale mods. The plugin offers it as a provider only on Hytale servers. It searches the public project list with a zero-based page number, reads a project with its versions and downloads the file from the Modtale CDN. An API key is optional and, when set, is sent in the X-MODTALE-KEY header.
Handler: ModtaleProvider
GET
/projects
Search mods
Browses and searches the Modtale project list. The plugin uses it for the Modtale tab, which appears only for Hytale servers.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
page
|
integer | No | Zero-based page number, the first page is 0. The plugin sends page minus 1. |
size
|
integer | No | Results per page. The plugin sends the mods-per-page setting. |
search
|
string | No | Search keyword. Without it Modtale returns the normal project list. |
Response Example
{"content":[{"id":"a1b2c3","title":"Example Hytale Mod","slug":"example-hytale-mod","description":"Adds a world map.","author":"ExampleAuthor","downloadCount":5000,"imageUrl":"https://cdn.modtale.net/images/example.png","updatedAt":"2026-11-01T12:00:00Z","tags":["utility"]}],"totalElements":50}
cURL
curl "https://api.modtale.net/api/v1/projects?page=0&size=20&search=map"
The plugin calls GET https://api.modtale.net/api/v1/projects with the parameters page, size and search. The page number is zero-based, so the first page is 0, which the plugin calculates as page minus 1. size is the mods-per-page setting, and search is only sent when a keyword has been entered. The answer carries the hits in content and the total in totalElements. Each hit supplies id, title, slug, description, author, downloadCount, imageUrl, updatedAt and tags. If you configure MODTALE_API_KEY, the key is sent in the header X-MODTALE-KEY; without a key the public list still works.
Internal Behavior
Every request carries the headers Accept: application/json and a User-Agent of the form Game-Mods/<plugin version>, where the version is read from the plugin.json file of the plugin.
For the versions the plugin loads GET /projects/{id} and reads the versions array (versionNumber, releaseDate, gameVersions, fileUrl). The loader of every Modtale version is shown as Hytale. The download URL is the CDN address https://cdn.modtale.net/ followed by fileUrl. Required dependencies come from /projects/{id}/versions/{versionId}/dependencies and are resolved recursively. Errors are logged with the status code and the request URL, and the browser then shows an empty list.
For the versions the plugin loads GET /projects/{id} and reads the versions array (versionNumber, releaseDate, gameVersions, fileUrl). The loader of every Modtale version is shown as Hytale. The download URL is the CDN address https://cdn.modtale.net/ followed by fileUrl. Required dependencies come from /projects/{id}/versions/{versionId}/dependencies and are resolved recursively. Errors are logged with the status code and the request URL, and the browser then shows an empty list.