-
Notifications
You must be signed in to change notification settings - Fork 11
Config
In the home directly lies the bot_config.json
. This file contains two keys:
cmd_prefix
- field to set the command prefix to be
token
- where to enter your bot token into
In this folder lies the main configs for PokeBot. Going down by order alphabetical order of files, you have:
events.json
- see Events Page for details
legendary_pkmn.json
- Keeps a list of Legendary Pokemon that you can add/remove
pokeballs.json
- Keeps a list of emojis to use as Pokeballs when capturing a Pokemon. You can use the pokeballs in the assets folder uploaded to a server of your own that the bot exists in, or use your own customs server emojis. Refer to this post to make sense of adding emojis into the list. If you look at pokeballs_example.json
, the default values in this file are what exists in my server and won't work since your bot isn't in my server to use these emojis. However, this file is here to show how this list should look like.
trainers.json
- Keeps a record of all trainers and their progress
ultra_beasts.json
- Keeps a list of all existing Ultra Beasts that you can add/remove
daily_shop_config.json
- Contains a daily_redemption_reset_hour
to set the hour at which the daily resets (0 = 12am), and a daily_shop_menu
field that contains item keys and a price of daily tokens they cost along with a description to describe the item.
general_config.json
- Contains a catch_cooldown_seconds
field that just holds the value of the amount of seconds to have the catch cooldown at. By default its 600 seconds or 10 minutes.
lootbox_config.json
- Contains a lootbox_pokemon_limit
field to set how much pokemon someone can get from a lootbox, as well as rate fields that modify at what thresholds can someone get bronze, silver, and gold lootboxes. By default, for daily lootbox claims its 50% for bronze, 25% for silver, and the other 10% for gold. For the rate of getting a lootbox from catching a pokemon, it's 10% for bronze, 5% for silver, and 1% for gold.
shiny_pkmn_rate_config.json
- Contains the rates for catching a shiny pokemon and the existing multipliers for getting one through the other features. By default, the shiny pokemon catch rate (shiny_pkmn_catch_rate
) is 2%, and the multipliers for the other features are specified as mentioned on the commands page.