> For the complete documentation index, see [llms.txt](https://docs-nightbeam.gitbook.io/infinity-rifts/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-nightbeam.gitbook.io/infinity-rifts/docs/gui.md).

# GUIs

## Admin gateway panel

Open with `/rift admin`; the command checks `infinityrifts.admin`. The inventory title and row count come from `gui.admin-panel`. The implementation assumes a six-row layout even though rows are configurable.

For six rows, slots are zero-based:

| Slots                                           | Content/action                                                                            |
| ----------------------------------------------- | ----------------------------------------------------------------------------------------- |
| Top row `0–8`, bottom row `45–53`, side columns | `gui.theme.border` filler                                                                 |
| Other unused slots                              | `gui.theme.background` filler                                                             |
| `10–16`, `19–25`, `28–34`                       | Up to 21 gateway items per page; left-click starts, shift-click reloads all gateway files |
| `46`                                            | Book with gateway count/page                                                              |
| `48`                                            | Previous page when available                                                              |
| `49`                                            | Redstone; reload main and all gateway configs                                             |
| `50`                                            | Next page when available                                                                  |
| `52`                                            | Barrier; close                                                                            |

Gateway item material, display name, glint, description, wave count, and time are derived from the gateway. Invalid GUI materials become `STONE`; invalid gateway materials become `NETHER_STAR`. All clicks in this inventory are cancelled. The listener unregisters when it closes.

`gui.theme.accent` is loaded but not placed. Pagination is fixed at 21 entries and is not configurable. Reducing `gui.admin-panel.rows` can make the hard-coded slots/outcomes invalid; keep the default six rows.

## Reward GUI

`RewardGui` is a 27-slot inventory titled `Rift Rewards`. It adds supplied items and drops any remaining contents at the player's location on close. No current code constructs this GUI: final rewards are added directly to inventory and excess is dropped. It has no permission or configuration surface and should be treated as dormant internal code, not an available feature.

Reloading an open admin GUI rebuilds that instance after a GUI button click. `/rift reload` from outside does not rebuild an already-open inventory.
