Skip to content

Configuration

HappyAreaBean edited this page Jul 1, 2021 · 14 revisions

An default ServerPinger config in plugins\PlaceholderAPI\config.yml (Version v2.1+)

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

Clone this wiki locally