# Hologram File

> **Info:**
Everything on this page can be set from the in-game editor. The files are only worth opening for a bulk change, or to copy holograms between servers. Run /pholo reload after saving them.

## Where the Files Are

Each hologram is one file in the holograms folder, named after its id. Renaming the file renames the hologram, and so does `/pholo edit <hologram> rename <new-id>`.

## Example

```yml
display-name: '&aLobby'
enabled: true
group: spawn
location:
  world: world
  x: 0.5
  y: 66.0
  z: 0.5
  yaw: 0.0
  pitch: 0.0
appearance:
  billboard: CENTER
  scale: 1.0
  background: transparent
visibility:
  mode: ALL
  distance: 48
update-interval: 20
page-interval: 0
click:
  permission: ''
  cooldown: 250
  actions:
    left:
    - '[PAGE] previous'
    right:
    - '[PAGE] next'
    any: []
pages:
- lines:
  - type: TEXT
    text: '{anim:rainbow}'
  - type: TEXT
    text: '&7Welcome, %player%'
  - type: ITEM
    item: DIAMOND
    spin: 90.0
- lines:
  - type: TEXT
    text: '&ePage %page% of %pages%'
```

## Keys

| Key | Description |
| --- | ----------- |
| **display-name**, **icon**, **enabled**, **location** | The hologram itself. See [Edit Hologram](../main-features/holograms/edit-hologram.md). |
| **group** | See [Groups](../features/groups.md). |
| **appearance** | See [Appearance](../main-features/appearance.md). `rotation.yaw`, `rotation.pitch`, `offset.x`, `offset.y`, `offset.z`, `double-sided` and `fade` hold the [Rotation and Offset](../main-features/appearance.md#rotation-and-offset), [Double Sided](../main-features/appearance.md#double-sided) and fade ticks. |
| **freeze** | `placeholders`, `animations` and `updates`, `true` turns them off. See [Effects](../main-features/appearance.md#effects). |
| **linked-npc** | The PhoenixNPCs NPC this hologram follows. See [NPC Link](../main-features/holograms/edit-hologram.md#npc-link). |
| **link-offset-y** | Blocks above (or below, negative) the linked NPC's name. Only written when it is not 0. |
| **leaderboard** | Only on holograms with leaderboard settings. See [Leaderboards](../features/leaderboards.md). |
| **visibility** | The mode (`ALL` or `MANUAL`), distance, the manual viewers' UUIDs, the view conditions and the WorldGuard regions. See [Visibility](../main-features/visibility.md). |
| **update-interval**, **page-interval** | See [Visibility](../main-features/visibility.md). |
| **click** | The click permission, cooldown and the `left`, `right`, `shift_left`, `shift_right` and `any` action lists. See [Click Actions](../main-features/click-actions.md). |
| **pages** | Each page's lines, top to bottom. |

## Line Keys

| Key | Lines | Description |
| --- | ----- | ----------- |
| **type** | All | `TEXT`, `ITEM`, `HEAD`, `IMAGE` or `COMMAND`. An Item line with Show as Block on is saved as `BLOCK`. |
| **text** | Text | The text. |
| **item** | Item | A material or a custom item id such as `nexo:ruby`. |
| **item-stack** | Item | A full item, used when the item is not from a supported plugin. |
| **transform** | Item, Head | How the item is drawn, such as `FIXED`, `GROUND` or `HEAD`. |
| **block** | Item with Show as Block | A block name such as `GRASS_BLOCK`, block data, or a custom block id such as `nexo:ruby_ore`. |
| **head** | Head | A name, placeholder, texture URL, hash, base64 value or `hdb:` id. |
| **rank**, **rank-text** | Text, Head | The [rank](../features/leaderboards.md#rank-lines) the line shows, `self` for the viewer's own, and the text line's own row format. |
| **image**, **image-width** | Image | The file or URL, and the width in pixels. |
| **command**, **command-refresh**, **command-rows** | Command | The console command, seconds between runs, and rows shown. |
| **bob-period** | All | Ticks for one full float, 8 to 400, default 60. See [Bobbing Speed](../main-features/pages-and-lines/line-effects.md#bobbing-speed). |
| **spin**, **bob**, **glow**, **glow-color** | Item, Head | See [Line Animation](../main-features/pages-and-lines/line-effects.md) and [Line Appearance](../main-features/pages-and-lines/line-style.md#glowing). |
| **scale**, **height** | All | See [Line Appearance](../main-features/pages-and-lines/line-style.md). |
| **yaw**, **pitch**, **offset-x**, **offset-y**, **offset-z** | All | See [Rotation and Offset](../main-features/pages-and-lines/line-style.md#rotation-and-offset). |
| **billboard**, **background**, **text-opacity**, **alignment**, **line-width**, **text-shadow**, **see-through**, **double-sided** | Text, Image, Command | The [Appearance](../main-features/pages-and-lines/line-style.md) overrides. Left out means the hologram's own. `billboard` also works on item and head lines. |
| **shadow-radius**, **shadow-strength** | Item, Head | See [Line Appearance](../main-features/pages-and-lines/line-style.md#shadow-radius). |
| **pulse**, **pulse-period**, **slide-in**, **fade**, **animation-ticks** | All | See [Line Animation](../main-features/pages-and-lines/line-effects.md). |
| **hover-text** | Text | See [Hover Text](../main-features/pages-and-lines/line-style.md#hover-text). |
| **freeze-placeholders**, **freeze-animations**, **freeze-updates** | All | `true` turns them off for the line. |
| **actions** | All | The line's own `left`, `right`, `shift_left`, `shift_right` and `any` lists. |
| **conditions** | All | Each condition's `type`, `input` and `value`. See [Line Conditions](../main-features/pages-and-lines/line-conditions.md). |

Anything left out of a line takes its default.

Source: https://www.phoenixplugins.com/docs/phoenix-holograms/configurations/hologram-file