このゲームの新しいバージョンが検出された場合にシーンを起動してマーケットページを開くプラグイン – RS_CheckVersions.js

タイトル
This plugin allows you to open the market page in a boot scene if there has detected a new version for this game
作者名
ヘルプ
To be able to set up this plugin, You follow these steps. We need to create
the version file in a project folder and server.

1. We need to add the file called "Versions.json" to <your_project>/data/ folder
2. Next we must add the file called "Versions.json" in your private site (or server),
for fetching the version data file in the site or server.
3. The contents of each JSON file should then something like this.
If you need to update, please change the version value in the site or server.

{
"version": "1.0.0"
}

When you are not connected the Internet you get an warning message.

=============================================================================
Change Log
=============================================================================
2017.11.29 (v1.0.0) - First Release
パラメータ
target MV
param target
text Target
type select
desc self : Open the page to current page
blank : Open the page to a new window
default _self
option self
value _self
option blank
value _blank

param url
text Default URL
desc Specify the url of the json file that has the version text.
default https://github.com/biud436/MV/raw/master/Laboratory/Versions.json

param defaultMessage
text Default Message
desc Specify the default message in an alert window.
(The #{VERSION} text will be changed as real version value)
default There has detected a new version<#{VERSION}> for this game.

param errorMessage
text Error Message
desc When you are not connected the Internet you get an warning message and exit the game.
default Not connected to the Internet.

param marketUrl
text Market Page URL
desc Specify the market page url of each platform.
type struct<MarketPage>
default {"Android":"https://play.google.com/store/apps/details?id=<package-name>","iOS":"http://itunes.apple.com/<country>/app/<app–name>/id<app-ID>?mt=8"}

ライセンス表記
  • MIT License
The MIT License
Copyright (c) 2017 biud436
Free for commercial and non commercial use.

紹介ページ https://github.com/biud436/MV/blob/master/RS_CheckVersions.js