/POGOserver

:rice_ball: Pokemon GO Server emulator

Primary LanguageJavaScript

______ _____ _____ _____                               
| ___ \  _  |  __ \  _  |                              
| |_/ / | | | |  \/ | | | ___  ___ _ ____   _____ _ __ 
|  __/| | | | | __| | | |/ __|/ _ \ '__\ \ / / _ \ '__|
| |   \ \_/ / |_\ \ \_/ /\__ \  __/ |   \ V /  __/ |   
\_|    \___/ \____/\___/ |___/\___|_|    \_/ \___|_|   
Stability

Getting started

Setup

Open cfg.js and fill the following fields:

export const SERVER_POGO_CLIENT_PROVIDER = "GOOGLE";
export const SERVER_POGO_CLIENT_USERNAME = "USERNAME";
export const SERVER_POGO_CLIENT_PASSWORD = "PASSWORD";

Tunneling setup

For now, the pokemon go app traffic has to get forwarded manually to this custom server. To do so, download rastapasta's Pokemon Go Xposed app and follow the installation instructions here.

Database setup

You can choose between using MySQL or MongoDB.

To setup a database connection, open cfg.js and set the database type (MySQL in this case):

export const SERVER_USE_DATABASE = "MYSQL";

Make sure to enter your database login credentials as well.

export const SERVER_MYSQL_PORT = 3306;
export const SERVER_MYSQL_HOST_IP = "127.0.0.1";
export const SERVER_MYSQL_DB_NAME = "pogosql";
export const SERVER_MYSQL_USERNAME = "root";
export const SERVER_MYSQL_PASSWORD = "";
export const SERVER_MYSQL_TABLE = "users";

Server setup

You need at minimum Node.js version 6.x and npm version 3.x. Depending on your OS, you need to run either run-linux.sh or run-windows.bat from the root folder.

If everything went fine, it should look like:

Preview