Skip to content

The function for updating your own mods uploaded to the server exceeds the standard 40 MB limit

User Avatar
#3
Auto-translated

Since the feature has already been tested on several mods and works, I will describe in detail how to use it.

This is about hosting large mods, the size of which exceeds 40 MB on the HeroesWorld server, and displaying them in the library with the ability to independently manage the file and mod description (you can overwrite with a new version, preserve the download counter, and obtain a permanent link like heroesworld.ru/mods/XXX/download

heroesworld.net/mods/XXX/download

which will always provide the latest version of the mod for download.

Only free mods can be hosted in the library.

How the library works in terms of mods:

1) The library itself is automatically populated with small mods that are placed in topics and posts and are recognized by the system as mods (mainly topics from the "Mods" subforums of each game).

2) Mods can be added manually from the library page (the "Mods" sections); there is an "Add" button, you can fill out a short form, select a game, add a description, upload files (this option is also for files up to 40 MB) — this is simply a simplified dialog for creating a new topic.

3) A topic already exists on the forum in the "Mods" subforum, and the author wants to host a mod that is larger than 40 MB; usually such topics contain links to cloud services like Yandex Disk or Google Drive. In this case, the author can use the "Request maintainer rights" button.

image.webp

Then, in free form, describe your mod and confirm your authorship. It is also useful to indicate how much space it takes up, since although resources are currently available, they are not unlimited.

I recommend using the 7-zip (7z) archiver; on one of the mods, this allowed compression to be almost 1 GB (~20%) smaller than what rar and zip compressed.

After your request is approved, you will receive a notification, and the system will create an additional linked post to your existing topic.

You will be marked at the top as the mod's "Maintainer," and a link to this post with a download counter will be displayed in the header of your topic.

You will have full access rights to this post to update the description, upload images (if you want a preview to be displayed in the library), and a special form for streaming large file uploads will also be available (the limit will be set individually for each mod).

This separate post with the file will be accessible from the library pages and will have a "Large mod" label, and from the post itself there will be a link to the discussion, i.e., to the original topic where it all started.

If you have any questions about this feature, write in this topic.