ChatGames
  • Setup
  • Colors and HEX codes
  • Commands and permissions
    • Commands
  • Customizing the games
    • Game customization guide
    • Ranges
  • Placeholders
    • External (PAPI expansion)
  • Actions
    • Specification
    • Usage
    • Enum lists
  • Support
    • Links
  • Legal
    • End User License Agreement (EULA)
Powered by GitBook
On this page
  • Prerequisites
  • Placeholders
  1. Placeholders

External (PAPI expansion)

External placeholders provided by the plugin via an expansion.

Prerequisites

If PlaceholderAPI is installed, ChatGames will automatically register it's own placeholder expansion. Therefore, you will be able to access data externally, from another plugin (e.g. holograms).

Placeholders

All invalid requests will be rendered as unknown (? by default).

Available only if placeholders are replaced against a player (online/offline):

  • %chatgames_wins%: player's wins

Always available:

  • %chatgames_server_wins%: server total wins

  • %chatgames_server_started%: games started

  • %chatgames_server_timed_out%: games timed out

  • %chatgames_server_stopped%: games stopped

  • %chatgames_leaderboard_<place>_name%: name of player at the provided place, or unknown if the place is invalid

  • %chatgames_leaderboard_<place>_display_name%: display name of player at the provided place, or unknown if the place is invalid

  • %chatgames_leaderboard_<place>_uuid%: UUID of player at the provided place, or unknown if the place is invalid

  • %chatgames_leaderboard_<place>_wins%: wins of player at the provided place, or unknown if the place is invalid

PreviousRangesNextSpecification

Last updated 2 years ago