PAGINATION Button Type
zMenu+ Required
This button type requires zMenu+ to work.
The PAGINATION button type allows you to display paginated content in your menus. It automatically handles pagination of items across multiple pages.
Usage
items:
paginated-items:
type: PAGINATION
slots:
- 10-16
- 19-25
- 28-34
item:
material: STONE
name: "&7Item %index%"
Configuration
| Property | Description | Required |
|---|---|---|
type | Must be PAGINATION | Yes |
slots | Slots where paginated items appear | Yes |
item | Item template for each entry | Yes |
Example
Basic Pagination
size: 54
name: "&8Paginated Menu"
items:
# Paginated content area
content:
type: PAGINATION
slots:
- 10-16
- 19-25
- 28-34
item:
material: PAPER
name: "&e&lItem #%index%"
lore:
- "&7This is item number %index%"
# Navigation buttons
previous:
type: PREVIOUS
slot: 48
is-permanent: true
item:
material: ARROW
name: "&c&lPrevious Page"
next:
type: NEXT
slot: 50
is-permanent: true
item:
material: ARROW
name: "&a&lNext Page"
Placeholders
| Placeholder | Description |
|---|---|
%index% | Current item index |
%page% | Current page number |
%max_page% | Total number of pages |
Next Steps
- Learn about DYNAMIC_PAGINATION for dynamic content
- See NEXT and PREVIOUS for navigation buttons