This repository was archived by the owner on Sep 13, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 69
/
Copy pathdefault.php
192 lines (130 loc) · 8.44 KB
/
default.php
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
<?php
//======================================================================
// DO NOT EDIT THIS FILE!
//======================================================================
//======================================================================
// PMSF - DEFAULT CONFIG FILE
// https://github.com/Glennmen/PMSF
//======================================================================
session_start();
require_once(__DIR__ . '/../utils.php');
$libs[] = "Scanner.php";
$libs[] = "Monocle.php";
$libs[] = "Monocle_Asner.php";
$libs[] = "Monocle_Monkey.php";
$libs[] = "RocketMap.php";
$libs[] = "RocketMap_Sloppy.php";
// Include libraries
foreach ($libs as $file) {
include(__DIR__ . '/../lib/' . $file);
}
setSessionCsrfToken();
//-----------------------------------------------------
// MAP SETTINGS
//-----------------------------------------------------
/* Location Settings */
$startingLat = 37.7749295; // Starting latitude
$startingLng = -122.4194155; // Starting longitude
/* Anti scrape Settings */
$maxLatLng = 1; // Max latitude and longitude size (1 = ~110km, 0 to disable)
$maxZoomOut = 0; // Max zoom out level (11 ~= $maxLatLng = 1, 0 to disable, lower = the further you can zoom out)
$enableCsrf = false; // Don't disable this unless you know why you need to :)
$sessionLifetime = 43200; // Session lifetime, in seconds
$blockIframe = true; // Block your map being loaded in an iframe
/* Map Title + Language */
$title = "PMSF Glennmen"; // Title to display in title bar
$locale = "en"; // Display language
/* Google Maps Key */
$gmapsKey = ""; // Google Maps API Key
/* Google Analytics */
$gAnalyticsId = ""; // "" for empty, "UA-XXXXX-Y" add your Google Analytics tracking ID
/* Piwik Analytics */
$piwikUrl = "";
$piwikSiteId = "";
/* PayPal */
$paypalUrl = ""; // PayPal donation URL, leave "" for empty
/* Discord */
$discordUrl = ""; // Discord URL, leave "" for empty
/* MOTD */
$motdTitle = "";
$motdContent = "";
//-----------------------------------------------------
// FRONTEND SETTINGS
//-----------------------------------------------------
/* Marker Settings */
$noPokemon = false; // true/false
$enablePokemon = 'true'; // true/false
$noHighLevelData = false; // true/false
$noHidePokemon = false; // true/false
$hidePokemon = '[10, 13, 16, 19, 21, 29, 32, 41, 46, 48, 50, 52, 56, 74, 77, 96, 111, 133,
161, 163, 167, 177, 183, 191, 194, 168]'; // [] for empty
$noGyms = false; // true/false
$enableGyms = 'false'; // true/false
$noGymSidebar = false; // true/false
$gymSidebar = 'true'; // true/false
$noRaids = false; // true/false
$enableRaids = 'false'; // true/false
$activeRaids = 'false'; // true/false
$minRaidLevel = 1;
$maxRaidLevel = 5;
$noPokestops = false; // true/false
$enablePokestops = 'false'; // true/false
$enableLured = 1; // O: all, 1: lured only
$noScannedLocations = false; // true/false
$enableScannedLocations = 'false'; // true/false
$noSpawnPoints = false; // true/false
$enableSpawnPoints = 'false'; // true/false
$noRanges = false; // true/false
$enableRanges = 'false'; // true/false
/* Location & Search Settings */
$noSearchLocation = false; // true/false
$noStartMe = false; // true/false
$enableStartMe = 'false'; // true/false
$noStartLast = false; // true/false
$enableStartLast = 'false'; // true/false
$noFollowMe = false; // true/false
$enableFollowMe = 'false'; // true/false
$noSpawnArea = false; // true/false
$enableSpawnArea = 'false'; // true/false
/* Notification Settings */
$noNotifyPokemon = false; // true/false
$notifyPokemon = '[201]'; // [] for empty
$noNotifyRarity = false; // true/false
$notifyRarity = '[]'; // "Common", "Uncommon", "Rare", "Very Rare", "Ultra Rare"
$noNotifyIv = false; // true/false
$notifyIv = '""'; // "" for empty or a number
$noNotifyIvZero = false; // true/false
$notifyIvZero = 'false'; // true/false
$noNotifyLevel = false; // true/false
$notifyLevel = '""'; // "" for empty or a number
$noNotifyRaid = false; // true/false
$notifyRaid = 5; // O to disable
$noNotifySound = false; // true/false
$notifySound = 'false'; // true/false
$noCriesSound = false; // true/false
$criesSound = 'false'; // true/false
/* Style Settings */
$copyrightSafe = true;
$noMapStyle = false; // true/false
$mapStyle = 'style_pgo_dynamic'; // roadmap, satellite, hybrid, nolabels_style, dark_style, style_light2, style_pgo, dark_style_nl, style_pgo_day, style_pgo_night, style_pgo_dynamic, openstreetmap
$noIconSize = false; // true/false
$iconSize = 0; // -8, 0, 10, 20
$noGymStyle = false; // true/false
$gymStyle = 'ingame'; // ingame, shield
$noLocationStyle = false; // true/false
$locationStyle = 'none'; // none, google, red, red_animated, blue, blue_animated, yellow, yellow_animated, pokesition, pokeball
$osmTileServer = 'tile.openstreetmap.org'; // osm tile server (no trailing slash)
//-----------------------------------------------------
// Raid API
//-----------------------------------------------------
$raidApiKey = ''; // Raid API Key, '' to deny access
$sendRaidData = false; // Send Raid data, false to only send gym data
//-----------------------------------------------------
// DEBUGGING
//-----------------------------------------------------
// Do not enable unless requested
$enableDebug = false;
//-----------------------------------------------------
// DATABASE CONFIG
//-----------------------------------------------------
$fork = "default"; // default/asner/sloppy