Added Mod and server downloader #1

Merged
Raum0x2A merged 8 commits from develop into main 2026-05-04 13:47:19 +00:00

8 Commits

Author SHA1 Message Date
cf71d956d2 Minor changes
Spelling error
modified headlessQuery string removing Sprint
2026-05-04 07:35:57 -06:00
bb65f409b4 Better way to download and extract server 2026-05-03 14:25:45 -06:00
8fb2c2aeb2 Download mods and headless server
till working on improvements to code this more like
a savepoint.
2026-05-03 14:00:16 -06:00
aecc2162e7 Added download and extract mod from modlist 2026-04-30 21:36:36 -06:00
2548261d66 Started work on adding mod downloader
Read from mod-list.json in mod dir and download each mod in list.
This requires reading from factorio mod portal api, and extracting download url and calling it with username and api token.

new field in config.yml username and apitoken, is needed to download mod files from mod.factorio.com
2026-04-30 12:06:49 -06:00
b2f485269b Fix issues with config handling 2026-04-29 11:47:29 -06:00
aef97fe613 Added path checks and updated config
- Cleaned up func main()
- Separated config into two sections server and factoryman
- Updated backup.go to reflect changes to config file
- Updated config.go to reflect changes to config.yml as well as added a check to paths in config.yml
- Updated launch.go to reflect changes to config
move cli handler from main to cli.go
2026-04-29 11:39:55 -06:00
bdf636b0d3 updated gitignore and added new file to begin new feature 2026-04-28 15:54:41 -06:00