[GH-ISSUE #2227] Factorio - Mods updater #1698

Open
opened 2026-02-27 02:58:36 +03:00 by kerem · 9 comments
Owner

Originally created by @IIPoliII on GitHub (Mar 8, 2019).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/2227

Do you know if it's possible to add a factorio mods updater i found this but sadly it's outdated :/ :
https://github.com/astevens/factorio-mod-updater

Originally created by @IIPoliII on GitHub (Mar 8, 2019). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/2227 Do you know if it's possible to add a factorio mods updater i found this but sadly it's outdated :/ : https://github.com/astevens/factorio-mod-updater
Author
Owner

@IIPoliII commented on GitHub (Mar 8, 2019):

Okay I will work on this issue to provide a futur automatic mod updater if I know inaf to do it. I will close this issue and open it again if I was able to do something and I will propose the branch merge.

<!-- gh-comment-id:470993588 --> @IIPoliII commented on GitHub (Mar 8, 2019): Okay I will work on this issue to provide a futur automatic mod updater if I know inaf to do it. I will close this issue and open it again if I was able to do something and I will propose the branch merge.
Author
Owner

@dgibbs64 commented on GitHub (Mar 8, 2019):

Issue should stay open

<!-- gh-comment-id:471041945 --> @dgibbs64 commented on GitHub (Mar 8, 2019): Issue should stay open
Author
Owner

@IIPoliII commented on GitHub (Mar 8, 2019):

With bash it's possible sadly only hard ways https://github.com/IIPoliII/LinuxGSM/blob/master/lgsm/functions/factorio_mods_update.sh I know that in python it can be done too (I am really not good in it) easier like this post (python3.6++) : ```

import requests
import json

r = requests.get('https://mods.factorio.com/api/mods/bobpower')
j = json.loads(r.text)
latest = j['releases'][-1]
version = latest['info_json']['factorio_version']
link = f'https://mods.factorio.com{latest["download_url"]}'
if version == '0.17':
    print(f'{version} - {link}')
<!-- gh-comment-id:471094908 --> @IIPoliII commented on GitHub (Mar 8, 2019): With bash it's possible sadly only hard ways https://github.com/IIPoliII/LinuxGSM/blob/master/lgsm/functions/factorio_mods_update.sh I know that in python it can be done too (I am really not good in it) easier like this post (python3.6++) : ``` import requests import json r = requests.get('https://mods.factorio.com/api/mods/bobpower') j = json.loads(r.text) latest = j['releases'][-1] version = latest['info_json']['factorio_version'] link = f'https://mods.factorio.com{latest["download_url"]}' if version == '0.17': print(f'{version} - {link}') ```
Author
Owner

@IIPoliII commented on GitHub (Mar 8, 2019):

But I am a bash lover so I will finish my work on bash!

<!-- gh-comment-id:471094984 --> @IIPoliII commented on GitHub (Mar 8, 2019): But I am a bash lover so I will finish my work on bash!
Author
Owner

@dgibbs64 commented on GitHub (Apr 25, 2019):

Please, can you raise a WIP pull request for this. Thank you

<!-- gh-comment-id:486712643 --> @dgibbs64 commented on GitHub (Apr 25, 2019): Please, can you raise a WIP pull request for this. Thank you
Author
Owner

@IIPoliII commented on GitHub (Apr 25, 2019):

WIP? Sadly I was not able to do the only download new mods so it downloads all and I use it in my factorio servers

<!-- gh-comment-id:486718933 --> @IIPoliII commented on GitHub (Apr 25, 2019): WIP? Sadly I was not able to do the only download new mods so it downloads all and I use it in my factorio servers
Author
Owner

@sollevix67 commented on GitHub (Sep 28, 2019):

Hello,

Any news for this feature ?

<!-- gh-comment-id:536206334 --> @sollevix67 commented on GitHub (Sep 28, 2019): Hello, Any news for this feature ?
Author
Owner

@IIPoliII commented on GitHub (Oct 22, 2019):

Well sadly i nearly finished it and i am using it but integrating it in lgsm is hard here is the code of it https://github.com/IIPoliII/LinuxGSM/blob/master/lgsm/functions/factorio_mods_update.sh it's nearly finished someone just need to inegrate it c:

GitHub
Linux Game Server Managers_. Contribute to IIPoliII/LinuxGSM development by creating an account on GitHub.
<!-- gh-comment-id:544830334 --> @IIPoliII commented on GitHub (Oct 22, 2019): Well sadly i nearly finished it and i am using it but integrating it in lgsm is hard here is the code of it https://github.com/IIPoliII/LinuxGSM/blob/master/lgsm/functions/factorio_mods_update.sh it's nearly finished someone just need to inegrate it c: <blockquote><img src="https://avatars2.githubusercontent.com/u/29628512?s=400&v=4" width="48" align="right"><div><img src="https://github.githubassets.com/favicon.ico" height="14"> GitHub</div><div><strong><a href="https://github.com/IIPoliII/LinuxGSM">IIPoliII/LinuxGSM</a></strong></div><div>Linux Game Server Managers_. Contribute to IIPoliII/LinuxGSM development by creating an account on GitHub.</div></blockquote>
Author
Owner

@StaryJa commented on GitHub (Aug 20, 2020):

still nothing? :|

<!-- gh-comment-id:677747576 --> @StaryJa commented on GitHub (Aug 20, 2020): still nothing? :|
Sign in to join this conversation.
No labels
Atomic
Epic
cannot reproduce
command: backup
command: console
command: debug
command: details
command: fast-dl
command: install
command: mods
command: monitor
command: post-details
command: restart
command: send
command: start
command: stop
command: update
command: update-lgsm
command: validate
command: wipe
distro: AlmaLinux
distro: Arch Linux
distro: CentOS
distro: Debian
distro: Fedora
distro: RedHat
distro: Rocky Linux
distro: Ubuntu
distro: openSUSE
engine: goldsrc
engine: source
game: 7 Days to Die
game: ARMA 3
game: Ark: Survival Evolved
game: Assetto Corsa
game: Avorion
game: BATTALION: Legacy
game: Barotrauma
game: Battalion 1944
game: Battlefield 1942
game: Black Mesa: Deathmatch
game: Blade Symphony
game: Call of Duty 2
game: Call of Duty 4
game: Call of Duty: United Offensive
game: Counter-Strike 1.6
game: Counter-Strike 2
game: Counter-Strike: Global Offensive
game: Counter-Strike: Source
game: Day of Infamy
game: Dayz
game: Death Match Classic
game: Don't Starve Together
game: ET: Legacy
game: Eco
game: Factorio
game: Factorio
game: Garry's Mod
game: Half-Life
game: Hurtword
game: Insurgecy
game: Insurgecy
game: Insurgency: Sandstorm
game: Just Cause 3
game: Killing Floor
game: Killing Floor 2
game: Left 4 Dead 2
game: Minecraft
game: Minecraft Bedrock
game: Mordhau
game: Multi Theft Auto
game: Mumble
game: Natural Selection 2
game: No More Room in Hell
game: Pavlov VR
game: Post Scriptum
game: Project Zomboid
game: Quake 3
game: QuakeWorld
game: Red Orchestra: Ostfront 41-45
game: Return to Castle Wolfenstein
game: Rising World
game: Rust
game: San Andreas Multiplayer
game: Satisfactory
game: Soldat
game: Soldier of Fortune 2
game: Squad
game: Squad 44
game: Starbound
game: Stationeers
game: Sven Co-op
game: Team Fortress 2
game: Teamspeak 3
game: Teeworlds
game: Terraria
game: The Front
game: Unreal Tournament 2004
game: Unreal Tournament 3
game: Unreal Tournament 99
game: Unturned
game: Valheim
game: Wurm Unlimited
game: Zombie Master Reborn
game: label missing
good first issue
help wanted
info: alerts
info: dependency
info: docker
info: docs
info: email
info: query
info: steamcmd
info: systemd
info: tmux
info: website
info: website
needs more info
outcome: duplicate
outcome: issue resolved
outcome: issue resolved
outcome: issue unresolved
outcome: pr accepted
outcome: pr rejected
outcome: unconfirmed
outcome: wontfix
outcome: wrong forum
potential-duplicate
priority
pull-request
type: bug
type: feature
type: feature
type: feature request
type: game server request
type: refactor
waiting response
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/LinuxGSM#1698
No description provided.