-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
config.php.example
executable file
·40 lines (33 loc) · 3.09 KB
/
config.php.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?php
//Database connection details for raids
define('DB_HOST', 'localhost');
define('DB_NAME', 'your_database_name');
define('DB_USER', 'your_database_user');
define('DB_PASSWORD', 'your_database_password');
define('BOT_NAME', '@YourBotsTelegramName'); //Add the username of your Raid Bot on Telegram
define('SHOW_BOT_MSG', true); //Includes a message in the raid pop-up on how to (re-)post the raid to group.
define('MAP_TOKEN', 'your_map_token'); //API map token from mapbox.com
define('MAP_CENTRE', '48.858240, 2.294287'); //Default starting location of map.
define('MAP_AUTOLOCATE', true); //Automatically centre map on user's location (can give error on some browsers if not forcing https)
define('MAP_RAID_END_TIME_OFFSET_HOURS', '96'); //Amount of hours future raids will be displayed on the map in advance
define('MAP_SHOW_GYMS', true); //Enable optional gym layers on the map to show all gyms / EX gyms (if gyms are tagged with an identifier)
define('MAP_ICONPACK', 'numbers'); //Choose icons for the map - add folders of icons named id.png and set folder name here to switch icon pack
define('MAP_ICONPACK_PREFIX', 'id_'); //Choose prefix for icons - in case your icons are not named like 01.png, 02.png, etc.
define('MAP_GYM_FOOTER', 'No known raid at this gym.<br/>If you can see one, please send details <br/>to <a href=\"https://t.me/'.substr(BOT_NAME,1).'\" target=\"_blank\">'.BOT_NAME.'</a> on Telegram.'); //text displayed as a footer on the map when clicking on a gym with no active raid
define('MAP_RAID_FOOTER', ''); //text displayed as a footer on the map when clicking on a gym with an active raid
define('MAP_EX_RAID_FOOTER', ''); //text displayed as a footer on the map when clicking on a gym announcing an ex raid
define('MAP_QUEST_FOOTER', ''); //text displayed as a footer on the map when clicking on a quest
define('LANGUAGE', 'EN'); // set the language to NL,DE,EN,PT-BR.
//Quests - Optional settings for adding QuestBot data to your map
define('MAP_SHOW_QUESTS', false); //set to true to offer quest data on the map from your QuestBot.
define('LOCATION_QUEST_ACTION_JSON', 'https://your-bot-url.com/questbot/lang/quest_action.json'); //select the folder where the quest-reward.json is located.
define('LOCATION_QUEST_TYPE_JSON', 'https://your-bot-url.com/questbot/lang/quest_type.json'); //select the folder where the quest-reward.json is located.
define('LOCATION_QUEST_REWARD_JSON', 'https://your-bot-url.com/questbot/lang/reward_type.json'); //select the folder where the quest-reward.json is located.
define('LOCATION_POKEMON_JSON', 'https://your-bot-url.com/map/core/lang/pokemon_en.json'); //select the folder where the pokemon_en.json is located. Change en to DE,EN,FR,RU
define('LOCATION_POKETYPE_JSON', 'http://your-bot-url.com/map/quest/core/lang/pokemon_types.json'); //select the folder where the quest_type.jsonn is located.
//Database connection details for quests
define('QUEST_DB_HOST', 'localhost');
define('QUEST_DB_NAME', 'your_database_name');
define('QUEST_DB_USER', 'your_database_user');
define('QUEST_DB_PASSWORD', 'your_database_password');
?>