forked from bbdoc/PoracleWeb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config_example.php
71 lines (48 loc) · 1.74 KB
/
config_example.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
<?php
// DB configuration
// Note that you can set multiple values in dbname if using multiple DBs
// $dbname should then be a comma separated list of values
// Users should register to only one DB or tool will redirect them randomly
$dbhost = "127.0.0.1";
$dbname = "";
$dbuser = "";
$dbpass = "";
$dbport = "3306";
// Scanner DB Configuration (scan_dbtype should be MAD or RDM)
$scan_dbtype = "MAD";
$scan_dbhost = "127.0.0.1";
$scan_dbname = "";
$scan_dbuser = "";
$scan_dbpass = "";
$scan_dbport = "3306";
// Enable Disable Elements
$disable_mons = "False";
$disable_raids = "False";
$disable_quests = "False";
// Poracle Install Directoyy
$poracle_dir="";
// Discord Configuration
$redirect_url="";
$discordBotClientId = "";
$discordBotClientSecret = "";
// Language Settings
$allowed_languages="en,fr";
// Image Repository
$imgUrl="https://raw.githubusercontent.com/whitewillem/PogoAssets/resized/no_border/";
// Provide a valid URL to your Tile Server for Displaying a location map
// Arguments should correspond to your server template setup
// Use #LAT# and #LON# as placeholders for latitude and longitude
// An example is provided hereunder
$mapURL="https://youtileserver.com:9000/staticmap/pokemon?img=https://raw.githubusercontent.com/nileplumb/PkmnHomeIcons/master/pmsf_outline_shadow/pokemon_icon_150_00.png&lat=#LAT#&lon=#LON#";
// Other Configuration Items
$max_pokemon="721";
#$custom_title="";
$register_command="!poracle";
$location_command="!location";
// Quests Options
# Mons pokemons will be extracted from DB.
# If you need other pokemons to added, use this setting.
# List all Pokemon IDs separated by commas
$additional_quest_mons="";
// Debug Mode (True/False)
$debug='False';