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 = [ $APIS = [
"ping" => [ "ping" => [
"load" => "ping.php", "load" => "ping.php"
"vars" => [ ],
] "version" => [
"load" => "version.php"
], ],
"inventory" => [ "inventory" => [
"load" => "inventory.php" "load" => "inventory.php"

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

Loading…
Cancel
Save