Demo map: (spots only remain 15 seconds) here
- Hosting with SSL / HTTPS
- PHP 5.x or above
- MySQL database
- cURL extension
- Google Maps API key (for reverse geocoding and Javascript API)
- Mailserver
- Join us here
- Spotamon Discord Bot
- Create Database,
- Connect to DB in config and load site, on first load it will auto create tables.
- Set
/userpics/folder permissions to 777 / 757
Username: admin
Password: admin
- Enable cURL in your webhosting backend / WAMP / etcetera to use webhooks.
- Edit the following lines in your config:
//Webhook Setup
$webhook_url = "https://www.yourwebhookurlgoeshere"; // <-- Webhook URL of your Discord channel
$viewurl = "https://www.spotamon.com"; // <-- Enter your FULL Spotamon url here including http:// or https:// example: https://www.mysite.com < NO BACKSLASH AT THE END!
$viewtitle = "View on Spotamon"; // <-- Text showing for the MAP-link @ Discord- Go to https://www.google.com/recaptcha/admin
- Under "Label" fill in your site name.
- Choose "reCaptcha V2" under "Choose the type of reCAPTCHA"
- Fill in your domain under "Domains"
- Accept the reCAPTCHA Terms of Service.
- Click Register
- Copy and paste The site key and the secret key in to your config.php
Set your Cronjob to check each minute:
Pokemon spots: /usr/bin/wget 'https://www.siteurl/frontend/spotscron.php'
Raid spots: /usr/bin/wget 'https://www.siteurl/frontend/raidcron.php'
Egg spots: /usr/bin/wget 'https://www.siteurl/frontend/eggcron.php'
- First download the browser-extension 'Tampermonkey'.
- In Tampermonkey go to the "Utilities"-tab and in the URL-field enter this url:
https://www.spotamon.com/gymscript.jsand clickImport -> Install - Go to http://pokemongomap.info, search your location and from the top part of the map click 'S2-Grid'. This wil open a popup-menu.
- In this menu click 'Save stops as CSV' or 'Save gyms as CSV'.
- Login as
adminwith passwordadminand upload the CSV's on your profile-page.
https://code.tutsplus.com/tutorials/scheduling-tasks-with-cron-jobs--net-8800
https://docs.plesk.com/en-US/onyx/customer-guide/scheduling-tasks.65207/
https://www.plothost.com/kb/working-cron-jobs-directadmin/
https://documentation.cpanel.net/display/68Docs/Cron+Jobs
https://www.setcronjob.com
https://cron-job.org/en/
config.php
// Connect to Database
$servername = "";
$username = "";
$password = "";
$database = "";
// Set maps default location example:
// Example:
// $mapcenter = "51.9720526, 6.7202572";
$mapcenter = "";
//24HR-Clock (default = false = 12HR)
$clock = "";
//Google Maps key
$gmaps= "";
//Webhook Setup
$webhook_url = ""; // <-- Webhook URL of your Discord channel
$viewurl = ""; // <-- Enter your FULL Spotamon url here including http:// or https:// example: https://www.mysite.com < NO BACKSLASH AT THE END!
$viewtitle = ""; // <-- Text showing for the MAP-link @ Discord- Scan location is intended for mobile use. Location on PC might be wrong!
- Make all table content sortable on frontend
- Add locales for frontend
- Add quests
