Skip to content

Automating referenced addons #5

@Earu

Description

@Earu

Here's the idea, we make the server post the add-ons inside https://gitlab.com/metastruct/srvaddons/blob/master/metastruct_specific/lua/autorun/automount_addons.lua upon server restart to the website API, so its always updated. For the description of these we could maybe just get the description from the related workshop page (scrapping?).

We could do the same for caddons (https://gitlab.com/metastruct/srvaddons/blob/master/ClientsideAddons/lua/autorun/sh_caddons.lua) supposing that the URL field becomes optional and we wouldn't have to do scrapping this time because these already have a description.

Furthermore since currently add-ons on the website do not have a way to differentiate each others I propose the following solution:

Have a string that for workshop add-ons will be the workshop id and for external add-ons, just a arbitrary string (a name whatsoever). This allows us to update existing add-ons instead of adding new ones every time we are posting to the API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions