Add minimum_client_version

master
Skylar Ittner 5 years ago
parent dc52028474
commit e3a325028d

@ -0,0 +1,9 @@
<?php
/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
exitWithJson(["status" => "OK", "version" => $SETTINGS["minimum_client_version"]]);

@ -8,9 +8,10 @@
$APIS = [
"ping" => [
"load" => "ping.php",
"vars" => [
]
"load" => "ping.php"
],
"version" => [
"load" => "version.php"
],
"inventory" => [
"load" => "inventory.php"

@ -36,6 +36,8 @@ $SETTINGS = [
// API key
"key" => "123"
],
// Minimum game version to allow
"minimum_client_version" => "2.0.0",
// Settings for Point of Interest server to get place data from
// https://source.netsyms.com/Netsyms/PointsOfInterestAPI
"poi" => [

Loading…
Cancel
Save