The player accessing the menu.
Optional
pagen: number = 0The page of the menu to go to. Defaults to 0.
Optional
maxplayersperpage: number = ...How many players to show per page. Defaults to the value of config.ui.pages.maxPlayersPerManagePlayersPage
.
Optional
search: {The search query and options.
Optional
caseSensitive?: booleanWhether to search case sensitively.
Optional
searchIds?: booleanWhether to search by UUID.
Optional
searchLastOnlineDates?: booleanWhether to search by last online date.
Optional
searchLastOnlineTimes?: booleanWhether to search by last online time.
Optional
searchNames?: booleanWhether to search by name.
The search query.
Optional
cachedPlayers: [The cached players.
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.