ARK: Survival Evolved

ARK: Survival Evolved

63 ratings
Mod Version Checker
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
224.868 KB
Apr 4, 2017 @ 11:32pm
May 13, 2017 @ 11:27pm
4 Change Notes ( view )

Subscribe to download
Mod Version Checker

In 1 collection by jslay
DevTest
3 items
Description
Provides in-game notifications when a mod updates (within 10m of mod updating).

Install Mod, Configure GameUserSettings.ini, Profit.

This mod is EXTREMELY light weight, so no fear of causing lag! Avg Mem Footprint of 600KB

Define the ID's to check for updates on, in GameUserSettings.ini

NOTE (01/28/2018): To continue using this mod, you will need set your API_URL to the following, or host your own. DEFAULT SETTINGS WILL NOT WORK.



GUS.ini
[VersionCheck] ModIDs=898754545,600705968,123456789 NotiLoopDelay=600.0 MaxConcurrentNotiCount=0 NotiMessage=%modname% has updated! Please notify an admin! LogMessage=ModVersionChecker!! ModID: %modid% ModName: %modname% API_URL="https://arkmods-versionchecker.herokuapp.com/api/v1/versioncheck"

ModIDs -- Mod IDs you want to check for updates (Validate your ModIDs string[arkmods-versionchecker.herokuapp.com])

NotiLoopDelay -- How often notifications are sent when updates are available. (This is not the loop delay for the API check in, that is hard coded to 10 minutes)

MaxConcurrentNotiCount -- How many times the NotiLoop will run before auto clearing itself. If 0, it will notify until an admin clears the notification with a server restart, or with the admin command.

NotiMessage -- Message to display when a mod updates. Requires %modname% to be in the string

LogMessage -- Message to print to logs when a mod updates. Requires %modname% and %modid% to be in the string

API_URL -- Set this to the provided URL above, or host your own (Host Your Own).


To acknowledge and clear the update notifications without restarting the server, admins can run cheat command. (This does not update your server, nor does it make it joinable without updating, this only stops the notifications until the next mod update)

cheat scriptcommand ClearModUpdateNotis

This mod assumes the server is up-to-date on server start up.


The nitty gritty:

Version checker gets the last update time for mods from API server on server start up. Sets those times as the initial base line. The version checker then checks in with API server every 10m, API server returns the last update time for mods. The version checker then checks the last known last update time, and compares. If more recent time, send notifications.

Mod ID: 898754545
Popular Discussions View All (2)
0
Jan 28, 2018 @ 1:48am
PINNED: Host your own API
jslay
94 Comments
jslay  [author] Aug 8, 2019 @ 12:08am 
[VersionCheck]
...
...
...
API_URL=" https://your-api-server"
Mark Jul 22, 2019 @ 11:44pm 
Hello, thank you for your guide on how to set up a heroku app. I've set one up but I'm not sure how to add this to the GUS.ini entry.

API_URL=" "

Am I correct to assume it has to be within quotation marks? When I added it without quotation marks I noticed the URL vanished after the restart. With quotes I've yet to see an update notification even though there have been a few updates. Thanks you :)
jslay  [author] Jan 28, 2018 @ 12:41am 
I've pushed it to Heroku.

To continue using this mod, you can set your API_URL to

https://arkmods-versionchecker.herokuapp.com/api/v1/versioncheck

Cpjet64 Jan 25, 2018 @ 3:32pm 
Thank you!!!
Cpjet64 Jan 19, 2018 @ 12:24pm 
@jslay can you reload the mods source and info to the git? The link isnt working and when i tried to navigate to it this mod isnt listed anymore. I want to try and get it working again because i have a dedicated server that i could easily put a webserver up on.
Royal Raven Dec 3, 2017 @ 10:38am 
When did this get Discontinued? Does this mean no more updates for it?
Werkrat Oct 6, 2017 @ 5:39pm 
Can you send steam messages from a mod? :P
jslay  [author] Oct 6, 2017 @ 12:29pm 
Mods cannot restart servers.

You can use the log output to build a watchdog to restart the server for you.
Werkrat Sep 28, 2017 @ 7:39pm 
Can you add an option to auto-restart when an update is detected? Maybe give a configurable-duration warning that the server will restart in x minutes. Would be nice when using -automanagedmods