readme updated and come comments in the code

This commit is contained in:
Paul M 2022-08-12 11:40:36 -05:00
parent 5f7cceafb3
commit 5164ab6e8f
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
# Minetest
Minetest related code
My Dev branch for minetest server related code. Currently it contains a mod updater for a minetest server. This is a work in progress, use at your own risk.
# Notes
Version checking and comparing works. index.json is the current index of all avaialble minetest mods as pulled from content.minecraft.net. index2.json should be
a current copy from the aforementioned site using the API. index.json can be kept as is after your first run, only index2.json really needs to change for the version
detection to work. I suggest setting up a cron job to refresh index2.jon and rotate out index2.json to index.json if you want the script out put to properly reflect the old version numbers. I'll proably include a small bash script you can run to handle that later.