The player accessing the menu.
Optionalpagen: number = 0The page of the menu to go to. Defaults to 0.
Optionalmaxplayersperpage: number = ...How many players to show per page. Defaults to the value of config.ui.pages.maxPlayersPerManagePlayersPage.
Optionalsearch: {The search query and options.
OptionalcaseSensitive?: booleanWhether to search case sensitively.
OptionalsearchIds?: booleanWhether to search by UUID.
OptionalsearchLastOnlineDates?: booleanWhether to search by last online date.
OptionalsearchLastOnlineTimes?: booleanWhether to search by last online time.
OptionalsearchNames?: booleanWhether to search by name.
The search query.
OptionalcachedPlayers: [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.