The player accessing the menu.
Optional
pagen: number = 0The page of the menu to go to. Defaults to 0.
Optional
maxentriesperpage: number = ...How many entries to show per page. Defaults to the value of config.ui.pages.maxPlayersPerManagePlayersPage
.
Optional
search: {Optional
cachedEntries: [Globals.modules.bans.ban, "id" | "name", "valid" | "expired"][]A promise that resolves to 0
if the previous menu should be closed, or 1
if the previous menu should be reopened.
Displays a UI for managing bans on players.