Rizline:Game config.json: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
|||
Line 3: | Line 3: | ||
<code>game_config.json</code> is a file that contains information about the current [[Rizline:game version|game version]] and [[Rizline:asset version|asset version]]. When the ''[[Rizline:Rizline|Rizline]]'' app is started, the game downloads the <code>game_config.json</code> file from <code><nowiki>https://rizlineassetstore.pigeongames.cn/configs/game_config.json</nowiki></code> to check for updates. | <code>game_config.json</code> is a file that contains information about the current [[Rizline:game version|game version]] and [[Rizline:asset version|asset version]]. When the ''[[Rizline:Rizline|Rizline]]'' app is started, the game downloads the <code>game_config.json</code> file from <code><nowiki>https://rizlineassetstore.pigeongames.cn/configs/game_config.json</nowiki></code> to check for updates. | ||
= JSON format = | == JSON format == | ||
== New format == | === New format === | ||
This format is in use since [[Rizline:Rizline 1.0.10|Rizline 1.0.10]]. | This format is in use since [[Rizline:Rizline 1.0.10|Rizline 1.0.10]]. | ||
Line 21: | Line 21: | ||
}} | }} | ||
=== Maintenance Info format === | ==== Maintenance Info format ==== | ||
{{DataStructure| | {{DataStructure| | ||
{{DataStructureField|time|string|Date and time of the end of the maintenance period.}} | {{DataStructureField|time|string|Date and time of the end of the maintenance period.}} | ||
Line 30: | Line 30: | ||
}} | }} | ||
== Old format == | === Old format === | ||
This format was used before [[Rizline:Rizline 1.0.10|Rizline 1.0.10]]. | This format was used before [[Rizline:Rizline 1.0.10|Rizline 1.0.10]]. |
Revision as of 12:08, 1 December 2024
game_config.json
is a file that contains information about the current game version and asset version. When the Rizline app is started, the game downloads the game_config.json
file from https://rizlineassetstore.pigeongames.cn/configs/game_config.json
to check for updates.
JSON format
New format
This format is in use since Rizline 1.0.10.
- (root)
configs
(array) - List of configurations for different game versions.-
(object)
- A configuration.
version
(string) - App version that this config is intended for.resourceUrl
(string) - URL to download the assets from. Can be an empty string.maintenanceInfo
(object, optional) - Information about server maintenance. See #Maintenance Info format for details.
-
(object)
- A configuration.
minimalVersion
(string) - The minimal game version.maintenanceInfo
(object, optional) - Information about server maintenance. See #Maintenance Info format for details.
Maintenance Info format
- (root)
time
(string) - Date and time of the end of the maintenance period.zhHans
(string) - Server maintenance message in Chinese (Simplified). The string may contain the substring{TIME}
, which will get replaced by the value of thetime
field above.zhHant
(string) - Server maintenance message in Chinese (Traditional). The string may contain the substring{TIME}
, which will get replaced by the value of thetime
field above.en
(string) - Server maintenance message in English. The string may contain the substring{TIME}
, which will get replaced by the value of thetime
field above.ja
(string) - Server maintenance message in Japanese. The string may contain the substring{TIME}
, which will get replaced by the value of thetime
field above.
Old format
This format was used before Rizline 1.0.10.
- (root)
configs
(array) - List of configurations for different game versions.-
(object)
- A configuration.
version
(string) - App version that this config is intended for.resourceUrl
(string) - URL to download the assets from.
-
(object)
- A configuration.
minimalVersion
(string) - The minimal game version.underMaintenance
(bool) - Are the servers currently under maintenance?maintenanceNoticeZhHans
(string) - Server maintenance message in Chinese (Simplified).maintenanceNoticeZhHant
(string) - Server maintenance message in Chinese (Traditional).maintenanceNoticeEn
(string) - Server maintenance message in English.maintenanceNoticeJa
(string) - Server maintenance message in Japanese.