Warzone / mars

All-in-one plugin for PGM servers
GNU Affero General Public License v3.0
9 stars 3 forks source link

Add pagination to the punishment GUI #9

Open TBG1000 opened 2 years ago

TBG1000 commented 2 years ago

Issue:

The punishment GUI is limited to a single "page" menu where only four rows are populated with available punishments. See image below:

image

Background / pre-existing solutions:

No previous information regarding this issue exists, as the punishment system within TGM did not use GUIs / was strictly command based.

Available punishments in the punishment GUI are maintained through the backend (API) by editing the punishment_types.yml file.

Desired solutions:

Allow the user (staff member) to navigate through several pages of punishments by adding a "Next page" button or icon.

Affected areas / files: