Game server and admin dashboard for TerranQuest.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

settings.template.php 3.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. <?php
  2. /*
  3. * This Source Code Form is subject to the terms of the Mozilla Public
  4. * License, v. 2.0. If a copy of the MPL was not distributed with this
  5. * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  6. */
  7. // Settings for the app.
  8. // Copy to settings.php and customize.
  9. $SETTINGS = [
  10. // Whether to output debugging info like PHP notices, warnings,
  11. // and stacktraces.
  12. // Turning this on in production is a security risk and can sometimes break
  13. // things, such as JSON output where extra content is not expected.
  14. "debug" => false,
  15. // Database connection settings
  16. // See http://medoo.in/api/new for info
  17. "database" => [
  18. "type" => "mysql",
  19. "name" => "terranquest",
  20. "server" => "localhost",
  21. "user" => "terranquest",
  22. "password" => "",
  23. "charset" => "utf8"
  24. ],
  25. // Name of the app.
  26. "site_title" => "TerranQuest Server",
  27. // Settings for connecting to the AccountHub server.
  28. "accounthub" => [
  29. // URL for the API endpoint
  30. "api" => "http://localhost/accounthub/api/",
  31. // URL of the home page
  32. "home" => "http://localhost/accounthub/home.php",
  33. // API key
  34. "key" => "123"
  35. ],
  36. // Minimum game version to allow
  37. "minimum_client_version" => "2.0.0",
  38. // Settings for Point of Interest server to get place data from
  39. // https://source.netsyms.com/Netsyms/PointsOfInterestAPI
  40. "poi" => [
  41. "server" => "https://maps.netsyms.net/poi/",
  42. // Location categories/types to filter to with argument type=X
  43. "categories" => [
  44. "AMENITY_LIBRARY",
  45. "AMENITY_POLICE",
  46. "AMENITY_PLAYGROUND",
  47. "AMENITY_PUBLICBUILDING",
  48. "AMENITY_TOWNHALL",
  49. "EDUCATION_COLLEGE",
  50. "EDUCATION_SCHOOL",
  51. "EDUCATION_UNIVERSITY",
  52. "POW_BAHAI",
  53. "POW_BUDDHIST",
  54. "POW_CHRISTIAN",
  55. "POW_HINDU",
  56. "POW_ISLAMIC",
  57. "POW_JAIN",
  58. "POW_JEWISH",
  59. "POW_SHINTO",
  60. "POW_SIKH",
  61. "POW_UNKOWN",
  62. "POI_PEAK1",
  63. "POI_PEAK",
  64. "POI_TOWERLOOKOUT",
  65. "TOURIST_CASTLE",
  66. "TOURIST_FOUNTAIN",
  67. "TOURIST_MEMORIAL",
  68. "TOURIST_MONUMENT",
  69. "TOURIST_RUINS",
  70. "TOURIST_WINDMILL",
  71. "WATER_TOWER"
  72. ]
  73. ],
  74. "munzee" => [
  75. "id" => "",
  76. "secret" => "",
  77. "redirecturl" => "https://gs.terranquest.net/munzee.php"
  78. ],
  79. // List of required user permissions to access this app.
  80. "permissions" => [
  81. ],
  82. // List of permissions required for API access. Remove to use the value of
  83. // "permissions" instead.
  84. "api_permissions" => [
  85. ],
  86. // For supported values, see http://php.net/manual/en/timezones.php
  87. "timezone" => "America/Denver",
  88. // Language to use for localization. See langs folder to add a language.
  89. "language" => "en",
  90. // Shown in the footer of all the pages.
  91. "footer_text" => "",
  92. // Also shown in the footer, but with "Copyright <current_year>" in front.
  93. "copyright" => "Netsyms Technologies",
  94. // Base URL for building links relative to the location of the app.
  95. // Only used when there's no good context for the path.
  96. // The default is almost definitely fine.
  97. "url" => "."
  98. ];