VersionCheck
This module provides a simple way to check if the client is using the latest version of a resource.
Example for json file:
version
is required and should be the up-to-date version of the resource.versions
is optional and should be a list of all versions of the resource so theDatabaseUpdater
module can update the database.last_allowed_version
is optional and should be the last version of the resource that is allowed to be used by the game server. If the game server using an older version, the related resource will be stopped. This is useful if you want to prevent the game server from using an older version of a resource of however reason, e.g. you will force a free resource to be become a paid resource. Ensure that the version check url is not reachable in unencrypted files to prevent manipulations.dependencies
is optional and should be a list of all dependencies of each version of the resource. The dependency version is the minimum version.
Example for server scripts:
Results in the following server console / log output:
Up to date
Outdated
Unsupported
Last updated