Bank Config
{
"mongoConnectionString": "mongodb://172.200.0.1:27017/",
"databaseName": "CobblemonBankProduction",
"bankDestination": "CobblemonBank",
"serverName": "TestServer",
"sourceServerWithdrawalsOverride": true,
"allowItems": false,
"defaultTransactionLimit": 1200
}
Mongo Connection String should be a standard connection string. The above default example uses the Pterodactyl/Wings subnet. If you have authentication enabled, just include those details in the connection string as you would with any MongoDB project ('mongodb://username:password@172.200.0.1:27017/').
The database name can be used to have multiple versions of Cobblemon Bank for testing purposes, i.e. a "TestBankDatabase" which can run on the same MongoDB server.
Bank Destination is the name of the "Pokemon Bank" destination. "Destinations" are just strings, and can either be servers, or the bank. You shouldn't need to change this.
Server Name is important, each server name on the same Cobblemon Bank database must be unique, or there'll be inconsistencies with transactions. This config value is displayed to players in their transfer history. In the future, more formatting options will be added.
Source Server WIthdrawals Override is a mouthful of a config option. It effectively just overrides any Transcation Rules you may have in place denying withdrawals, if the server the player is trying to withdraw the Pokemon to is the "source" of the Pokemon. A Pokemon's "source" server is the first server that added the Pokemon to the bank.
Allow items is simple: should held items be allowed in the bank? If set to false, held items will be popped off of the Pokemon and given to the player when they deposit them. If true, held items will transfer through the bank as normal.
Default Transaction Limit sets the amount of transactions a new "Bank User" should be given.
Last updated