> For the complete documentation index, see [llms.txt](https://beandocs.happyareabean.cc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://beandocs.happyareabean.cc/expansion/serverpinger/configuration.md).

# Configuration

📜 This pages contains all the information about the Configuration.

> An default ServerPinger config in plugins\PlaceholderAPI\config.yml **(Version v2.1+)**
>
> ```yaml
> expansions:
>   serverpinger:
>     check_interval: 30
>     online: '&aOnline'
>     offline: '&cOffline'
>     dynamic:
>       online: '&e<onlineplayers> playing'
>       offline: '&c&lOFFLINE'
>       custom:
>         example:
>           online: '&6&l<onlineplayers>/<max> &eplaying'
>           offline: '&c&l[ OFFLINE ]'
> ```

## **serverpinger**

* `check_interval`

  Check interval (seconds)
* `online`

  Show when server is online
* `offline`

  Show when server is offline

## **dynamic**

* `online`

  Show when server is online

  * Variable supported: `<onlineplayers>, <max>, <motd>, <version>, <protocol>, <online> (Return the default online message)`
* `offline`

  Show when server is offline

  * Variable supported: `<offline> (Return the default offline message)`

## **custom**

* Please read [Custom Dynamic](/expansion/serverpinger/custom-dynamic.md)
