Pagination Engine

Paginate hundreds of penalty records, backup lists, or leaderboards using ◀ and ▶ buttons.

Documentation / Resources / Scripting / Pagination

  1. 1. Provide List Array

    Define the array of data to be paginated.

    const items = ['Item 1', 'Item 2', ...];
  2. 2. Items Per Page

    Determine how many records will be shown on each page (e.g., 10).

    pageSize = 10
  3. 3. Dynamic Button Controls

    ◀ becomes inactive on the first page, ▶ becomes inactive on the last page.

    Page: 1 / 5 [◀ Previous] [▶ Next]

Discord message limits do not allow you to dump thousands of lines at once. The Aegis Paging Engine offers a clean navigation experience by splitting long data lists into interactive pages with buttons.

Use Cases

Criminal Record Extract:
Do not review dozens of warnings of a user in pages.
Server Backups:
View more than 20 backups on the server in organized pages.