> For the complete documentation index, see [llms.txt](https://plugins.phbot.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://plugins.phbot.org/phbot-api/config.md).

# Config

## get\_config\_path()

This function returns the player's JSON configuration path. Any changes you make will be overwritten by the bot at some point.

#### Usage

`get_config_path()`

#### Returns

`string` or `None` if the player is not in game.

## get\_config\_dir()

This function returns the phBot `Config` directory. It will include a trailing forward slash - you do not need to append one.

#### Usage

`get_config_dir()`

#### Returns

`string`

## get\_log\_dir()

This function returns the phBot `Log` directory. It will include a trailing forward slash - you do not need to append one.

#### Usage

`get_log_dir()`

#### Returns

`string`
