Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automating referenced addons #5

Open
Earu opened this issue Nov 27, 2019 · 1 comment
Open

Automating referenced addons #5

Earu opened this issue Nov 27, 2019 · 1 comment

Comments

@Earu
Copy link
Member

Earu commented Nov 27, 2019

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.

@Earu
Copy link
Member Author

Earu commented Aug 3, 2021

@Techbot121 maybe we could that now with metaconcord ? So we have a list of proper addons that the server have for players?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant