> For the complete documentation index, see [llms.txt](https://pm2plugins.gitbook.io/infinitecrops/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pm2plugins.gitbook.io/infinitecrops/features/top-hologram.md).

# Top Hologram

The Top Hologram system allows you to display dynamic leaderboards for InfiniteCrops stats directly in your Minecraft world. These holograms can cycle through pages, showing player rankings for various statistics like harvested crops, bushes, money trees, and more.

***

#### **Key Configuration Options**

* **`users_per_hologram`**\
  Maximum number of players displayed per page.
  * Default: `10`
* **`hologram_header`**\
  Defines the text lines for the hologram, including placeholders for dynamic data.
* **`update_time`**\
  Time (in milliseconds) for how often holograms update and rotate pages.
  * Default: `2500.0`

***

#### **Placeholders**

* **`%id%`** – Rank position (e.g., `1`, `2`, `3`).
* **`%infinitecrops_{identifier}_name%`** – Player name for a specific stat.
* **`%infinitecrops_{identifier}%`** – Stat value for a specific identifier.
* **`%page%`** – Current page number.
* **`%maxPage%`** – Total number of pages.

**Identifiers**: `harvest_crop`, `harvest_bush`, `harvest_moneyTree`, `harvest_total`.

***

#### **Example Configuration**

```yaml
users_per_hologram: 10
hologram_header:
  - '&c&m &m &m &f&l Top Harvesters &c&m &m &m'
  - '&7&lYOUR SERVER'
  - '&f'
  - '&c%id% &f%infinitecrops_harvest_crop_name%: &c%infinitecrops_harvest_crop%'
  - '&f'
  - '&fPage: &a%page%&8/&2%maxPage%'
update_time: 2500.0
```

***

#### **Commands**

* **Create Hologram**\
  `/createhologram <id> <location> <identifier> <max_players>`\
  Creates a new hologram leaderboard.
* **Delete Hologram**\
  `/deletehologram <id>`\
  Deletes an existing hologram.
