mirror of
https://github.com/maierfelix/POGOserver.git
synced 2026-08-24 03:14:15 -05:00
Added a cfg.js.example file so as not to accidentally overwrite user's cfg.js settings that is already on localhost. Updated README.md to reflect the necessary changes. (To start, rename cfg.js.example to cfg.js).
This commit is contained in:
50
cfg.js.example
Normal file
50
cfg.js.example
Normal file
@@ -0,0 +1,50 @@
|
||||
export default {
|
||||
|
||||
// Server settings
|
||||
MAX_CONNECTIONS: 64,
|
||||
PORT: 3000,
|
||||
GAME_MODE: 0,
|
||||
SAVE_INTERVAL: 60000,
|
||||
PLAYER_CONNECTION_TIMEOUT: 1800000,
|
||||
MINIMUM_CLIENT_VERSION: "0.33.0",
|
||||
DEFAULT_CONSOLE_COLOR: 32,
|
||||
TRANSFER_ACCOUNTS: false,
|
||||
|
||||
// Choose a database type
|
||||
DATABASE_TYPE: "MYSQL",
|
||||
|
||||
// MySQL credentials
|
||||
MYSQL_PORT: 3306,
|
||||
MYSQL_HOST_IP: "127.0.0.1",
|
||||
MYSQL_DB_NAME: "pogosql",
|
||||
MYSQL_USERNAME: "root",
|
||||
MYSQL_PASSWORD: "",
|
||||
MYSQL_TABLE: "users",
|
||||
|
||||
// MongoDB credentials
|
||||
MONGO_PORT: 27017,
|
||||
MONGO_HOST_IP: "127.0.0.1",
|
||||
MONGO_DB_NAME: "pokemongo",
|
||||
MONGO_COLLECTION_USERS: "users",
|
||||
|
||||
// Used for asset download session
|
||||
DOWNLOAD_PROVIDER: "GOOGLE",
|
||||
DOWNLOAD_USERNAME: "USERNAME",
|
||||
DOWNLOAD_PASSWORD: "PASSWORD",
|
||||
|
||||
// Google maps api key
|
||||
GMAPS_KEY: "AIzaSyDF9rkP8lhcddBtvH9gVFzjnNo13WtmJIM",
|
||||
|
||||
// Server debug options
|
||||
DEBUG_DUMP_PATH: "./logs/",
|
||||
DEBUG_DUMP_TRAFFIC: true,
|
||||
DEBUG_LOG_REQUESTS: true,
|
||||
|
||||
// Better dont touch these
|
||||
TICK_INTERVAL: 1,
|
||||
BOOT_TIMEOUT: 10000,
|
||||
// Currently supported pokemon
|
||||
MAX_POKEMON_NATIONAL_ID: 151,
|
||||
DUMP_ASSET_PATH: "data/"
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user