public interface MenusProvider
Modifier and Type | Method and Description |
---|---|
void |
destroyMemberManage(SuperiorPlayer islandMember)
Destroy the member-manage menus for a specific island member.
|
void |
destroyMemberRole(SuperiorPlayer islandMember)
Destroy the member-role menus for a specific island member.
|
void |
destroyWarpCategories(Island island)
Destroy the warp-categories menus for a specific island.
|
void |
destroyWarps(WarpCategory warpCategory)
Destroy the warp-categories menus for a specific warp category.
|
void |
initializeMenus()
Initialize the menus.
|
void |
openBankLogs(SuperiorPlayer targetPlayer,
ISuperiorMenu previousMenu,
Island targetIsland)
Open the bank-logs menu.
|
void |
openBiomes(SuperiorPlayer targetPlayer,
ISuperiorMenu previousMenu,
Island targetIsland)
Open the biomes-menu.
|
void |
openBorderColor(SuperiorPlayer targetPlayer,
ISuperiorMenu previousMenu)
Open the border-color menu.
|
void |
openConfirmBan(SuperiorPlayer targetPlayer,
ISuperiorMenu previousMenu,
Island targetIsland,
SuperiorPlayer bannedPlayer)
Open the confirm-ban menu.
|
void |
openConfirmDisband(SuperiorPlayer targetPlayer,
ISuperiorMenu previousMenu,
Island targetIsland)
Open the confirm-disband menu.
|
void |
openConfirmKick(SuperiorPlayer targetPlayer,
ISuperiorMenu previousMenu,
Island targetIsland,
SuperiorPlayer kickedPlayer)
Open the confirm-kick menu.
|
void |
openConfirmLeave(SuperiorPlayer targetPlayer,
ISuperiorMenu previousMenu)
Open the confirm-leave menu.
|
void |
openControlPanel(SuperiorPlayer targetPlayer,
ISuperiorMenu previousMenu,
Island targetIsland)
Open the control-panel menu.
|
void |
openCoops(SuperiorPlayer targetPlayer,
ISuperiorMenu previousMenu,
Island targetIsland)
Open the coops menu.
|
void |
openCounts(SuperiorPlayer targetPlayer,
ISuperiorMenu previousMenu,
Island targetIsland)
Open the block-counts menu.
|
void |
openGlobalWarps(SuperiorPlayer targetPlayer,
ISuperiorMenu previousMenu)
Open the global-warps menu.
|
void |
openIslandBank(SuperiorPlayer targetPlayer,
ISuperiorMenu previousMenu,
Island targetIsland)
Open the island-bank menu.
|
void |
openIslandChest(SuperiorPlayer targetPlayer,
ISuperiorMenu previousMenu,
Island targetIsland)
Open the island-chests menu.
|
void |
openIslandCreation(SuperiorPlayer targetPlayer,
ISuperiorMenu previousMenu,
java.lang.String islandName)
Open the islands-creation menu.
|
void |
openIslandRate(SuperiorPlayer targetPlayer,
ISuperiorMenu previousMenu,
Island targetIsland)
Open the rate-menu.
|
void |
openIslandRatings(SuperiorPlayer targetPlayer,
ISuperiorMenu previousMenu,
Island targetIsland)
Open the ratings-menu.
|
void |
openMemberManage(SuperiorPlayer targetPlayer,
ISuperiorMenu previousMenu,
SuperiorPlayer islandMember)
Open the member-manage menu.
|
void |
openMemberRole(SuperiorPlayer targetPlayer,
ISuperiorMenu previousMenu,
SuperiorPlayer islandMember)
Used to open the member-role menu.
|
void |
openMembers(SuperiorPlayer targetPlayer,
ISuperiorMenu previousMenu,
Island targetIsland)
Open the members-menu.
|
void |
openMissions(SuperiorPlayer targetPlayer,
ISuperiorMenu previousMenu)
Open the missions-menu.
|
void |
openMissionsCategory(SuperiorPlayer targetPlayer,
ISuperiorMenu previousMenu,
MissionCategory missionCategory)
Open the missions-menu of a specific category.
|
void |
openPermissions(SuperiorPlayer targetPlayer,
ISuperiorMenu previousMenu,
Island targetIsland,
PlayerRole permissibleRole)
Open the permissions-menu.
|
void |
openPermissions(SuperiorPlayer targetPlayer,
ISuperiorMenu previousMenu,
Island targetIsland,
SuperiorPlayer permissiblePlayer)
Open the permissions-menu.
|
void |
openPlayerLanguage(SuperiorPlayer targetPlayer,
ISuperiorMenu previousMenu)
Open the player-language menu.
|
void |
openSettings(SuperiorPlayer targetPlayer,
ISuperiorMenu previousMenu,
Island targetIsland)
Open the island-settings menu.
|
void |
openTopIslands(SuperiorPlayer targetPlayer,
ISuperiorMenu previousMenu,
SortingType sortingType)
Open the top-islands menu.
|
void |
openUniqueVisitors(SuperiorPlayer targetPlayer,
ISuperiorMenu previousMenu,
Island targetIsland)
Open the unique-visitors menu.
|
void |
openUpgrades(SuperiorPlayer targetPlayer,
ISuperiorMenu previousMenu,
Island targetIsland)
Open the upgrades-menu.
|
void |
openValues(SuperiorPlayer targetPlayer,
ISuperiorMenu previousMenu,
Island targetIsland)
Open the values-menu.
|
void |
openVisitors(SuperiorPlayer targetPlayer,
ISuperiorMenu previousMenu,
Island targetIsland)
Open the visitors-menu.
|
void |
openWarpCategories(SuperiorPlayer targetPlayer,
ISuperiorMenu previousMenu,
Island targetIsland)
Open the warp categories menu
|
void |
openWarpCategoryIconEdit(SuperiorPlayer targetPlayer,
ISuperiorMenu previousMenu,
WarpCategory targetCategory)
Open the warp-category icon edit menu.
|
void |
openWarpCategoryManage(SuperiorPlayer targetPlayer,
ISuperiorMenu previousMenu,
WarpCategory targetCategory)
Open the warp category manage menu.
|
void |
openWarpIconEdit(SuperiorPlayer targetPlayer,
ISuperiorMenu previousMenu,
IslandWarp targetWarp)
Open the warp icon edit menu.
|
void |
openWarpManage(SuperiorPlayer targetPlayer,
ISuperiorMenu previousMenu,
IslandWarp targetWarp)
Open the warp manage menu.
|
void |
openWarps(SuperiorPlayer targetPlayer,
ISuperiorMenu previousMenu,
WarpCategory targetCategory)
Open the warps-menu.
|
void |
refreshBankLogs(Island island)
Refresh the bank-logs menu for a specific island.
|
void |
refreshCoops(Island island)
Refresh the coops-menu for a specific island.
|
void |
refreshCounts(Island island)
Refresh the counts-menu for a specific island.
|
void |
refreshGlobalWarps()
Refresh the global-warps menu.
|
void |
refreshIslandBank(Island island)
Refresh the island bank menu for a specific island.
|
void |
refreshIslandChest(Island island)
Refresh the island-chests menu for a specific island.
|
void |
refreshIslandRatings(Island island)
Refresh the ratings-menu for a specific island.
|
void |
refreshMembers(Island island)
Refresh the members-menu for a specific island.
|
void |
refreshMissionsCategory(MissionCategory missionCategory)
Refresh the missions-menu for a specific category.
|
void |
refreshPermissions(Island island)
Refresh the permissions-menu for a specific island.
|
void |
refreshPermissions(Island island,
PlayerRole permissibleRole)
Refresh the permissions-menu of an island role for a specific island.
|
void |
refreshPermissions(Island island,
SuperiorPlayer permissiblePlayer)
Refresh the permissions-menu of a player for a specific island.
|
void |
refreshSettings(Island island)
Refresh the island-settings menu for a specific island.
|
void |
refreshTopIslands(SortingType sortingType)
Refresh the top-islands menu for a specific sorting type.
|
void |
refreshUniqueVisitors(Island island)
Refresh the unique-visitors menu for a specific island.
|
void |
refreshUpgrades(Island island)
Refresh the upgrades-menu for a specific island.
|
void |
refreshValues(Island island)
Refresh the values-menu for a specific island.
|
void |
refreshVisitors(Island island)
Refresh the visitors-menu for a specific island.
|
void |
refreshWarpCategories(Island island)
Refresh the warp categories menu for a specific island.
|
void |
refreshWarpCategoryManage(WarpCategory warpCategory)
Refresh the warp category manage menu for a specific warp category.
|
void |
refreshWarpManage(IslandWarp islandWarp)
Refresh the warp manage menu for a specific warp.
|
void |
refreshWarps(WarpCategory warpCategory)
Refresh the warps-menu for a specific island.
|
void |
updatePermission(IslandPrivilege islandPrivilege)
Update the island permission in the menu.
|
void |
updateSettings(IslandFlag islandFlag)
Update the island settings in the menu.
|
void initializeMenus()
void openBankLogs(SuperiorPlayer targetPlayer, @Nullable ISuperiorMenu previousMenu, Island targetIsland)
targetPlayer
- The player to open the menu for.previousMenu
- The previous menu that was opened, if exists.targetIsland
- The island to display bank logs for.void refreshBankLogs(Island island)
island
- The island to refresh the menus for.void openBiomes(SuperiorPlayer targetPlayer, @Nullable ISuperiorMenu previousMenu, Island targetIsland)
targetPlayer
- The player to open the menu for.previousMenu
- The previous menu that was opened, if exists.targetIsland
- The island to change biomes for.void openBorderColor(SuperiorPlayer targetPlayer, @Nullable ISuperiorMenu previousMenu)
targetPlayer
- The player to open the menu for.previousMenu
- The previous menu that was opened, if exists.void openConfirmBan(SuperiorPlayer targetPlayer, @Nullable ISuperiorMenu previousMenu, Island targetIsland, SuperiorPlayer bannedPlayer)
targetPlayer
- The player to open the menu for.previousMenu
- The previous menu that was opened, if exists.targetIsland
- The island to ban the player from.bannedPlayer
- The player that will be banned.void openConfirmDisband(SuperiorPlayer targetPlayer, @Nullable ISuperiorMenu previousMenu, Island targetIsland)
targetPlayer
- The player to open the menu for.previousMenu
- The previous menu that was opened, if exists.targetIsland
- The island to disband.void openConfirmKick(SuperiorPlayer targetPlayer, @Nullable ISuperiorMenu previousMenu, Island targetIsland, SuperiorPlayer kickedPlayer)
targetPlayer
- The player to open the menu for.previousMenu
- The previous menu that was opened, if exists.targetIsland
- The island to kick the player from.kickedPlayer
- The player that will be kicked.void openConfirmLeave(SuperiorPlayer targetPlayer, @Nullable ISuperiorMenu previousMenu)
targetPlayer
- The player to open the menu for.previousMenu
- The previous menu that was opened, if exists.void openControlPanel(SuperiorPlayer targetPlayer, @Nullable ISuperiorMenu previousMenu, Island targetIsland)
targetPlayer
- The player to open the menu for.previousMenu
- The previous menu that was opened, if exists.targetIsland
- The island to open the control panel of.void openCoops(SuperiorPlayer targetPlayer, @Nullable ISuperiorMenu previousMenu, Island targetIsland)
targetPlayer
- The player to open the menu for.previousMenu
- The previous menu that was opened, if exists.targetIsland
- The island to get coop-members from.void refreshCoops(Island island)
island
- The island to refresh the menus for.void openCounts(SuperiorPlayer targetPlayer, @Nullable ISuperiorMenu previousMenu, Island targetIsland)
targetPlayer
- The player to open the menu for.previousMenu
- The previous menu that was opened, if exists.targetIsland
- The island to get block counts from.void refreshCounts(Island island)
island
- The island to refresh the menus for.void openGlobalWarps(SuperiorPlayer targetPlayer, @Nullable ISuperiorMenu previousMenu)
targetPlayer
- The player to open the menu for.previousMenu
- The previous menu that was opened, if exists.void refreshGlobalWarps()
void openIslandBank(SuperiorPlayer targetPlayer, @Nullable ISuperiorMenu previousMenu, Island targetIsland)
targetPlayer
- The player to open the menu for.previousMenu
- The previous menu that was opened, if exists.targetIsland
- The island to open the bank for.void refreshIslandBank(Island island)
island
- The island to refresh the menus for.void openIslandChest(SuperiorPlayer targetPlayer, @Nullable ISuperiorMenu previousMenu, Island targetIsland)
targetPlayer
- The player to open the menu for.previousMenu
- The previous menu that was opened, if exists.targetIsland
- The island to open the shared-chests menu for.void refreshIslandChest(Island island)
island
- The island to refresh the menus for.void openIslandCreation(SuperiorPlayer targetPlayer, @Nullable ISuperiorMenu previousMenu, java.lang.String islandName)
targetPlayer
- The player to open the menu for.previousMenu
- The previous menu that was opened, if exists.islandName
- The desired name of the new island.void openIslandRate(SuperiorPlayer targetPlayer, @Nullable ISuperiorMenu previousMenu, Island targetIsland)
targetPlayer
- The player to open the menu for.previousMenu
- The previous menu that was opened, if exists.targetIsland
- The island to give a rating.void openIslandRatings(SuperiorPlayer targetPlayer, @Nullable ISuperiorMenu previousMenu, Island targetIsland)
targetPlayer
- The player to open the menu for.previousMenu
- The previous menu that was opened, if exists.targetIsland
- The island to get ratings from.void refreshIslandRatings(Island island)
island
- The island to refresh the menus for.void openMemberManage(SuperiorPlayer targetPlayer, @Nullable ISuperiorMenu previousMenu, SuperiorPlayer islandMember)
targetPlayer
- The player to open the menu for.previousMenu
- The previous menu that was opened, if exists.islandMember
- The island member to manage.void destroyMemberManage(SuperiorPlayer islandMember)
islandMember
- The island member to close menus of.void openMemberRole(SuperiorPlayer targetPlayer, @Nullable ISuperiorMenu previousMenu, SuperiorPlayer islandMember)
targetPlayer
- The player to open the menu for.previousMenu
- The previous menu that was opened, if exists.islandMember
- The island member to change role for.void destroyMemberRole(SuperiorPlayer islandMember)
islandMember
- The island member to close menus of.void openMembers(SuperiorPlayer targetPlayer, @Nullable ISuperiorMenu previousMenu, Island targetIsland)
targetPlayer
- The player to open the menu for.previousMenu
- The previous menu that was opened, if exists.targetIsland
- The island to check the members of.void refreshMembers(Island island)
island
- The island to refresh the menus for.void openMissions(SuperiorPlayer targetPlayer, @Nullable ISuperiorMenu previousMenu)
targetPlayer
- The player to open the menu for.previousMenu
- The previous menu that was opened, if exists.void openMissionsCategory(SuperiorPlayer targetPlayer, @Nullable ISuperiorMenu previousMenu, MissionCategory missionCategory)
targetPlayer
- The player to open the menu for.previousMenu
- The previous menu that was opened, if exists.missionCategory
- The category to get missions from.void refreshMissionsCategory(MissionCategory missionCategory)
missionCategory
- The category to refresh the menus for.void openPermissions(SuperiorPlayer targetPlayer, @Nullable ISuperiorMenu previousMenu, Island targetIsland, SuperiorPlayer permissiblePlayer)
targetPlayer
- The player to open the menu for.previousMenu
- The previous menu that was opened, if exists.targetIsland
- The island to change permissions in.permissiblePlayer
- The player to change permissions for.void openPermissions(SuperiorPlayer targetPlayer, @Nullable ISuperiorMenu previousMenu, Island targetIsland, PlayerRole permissibleRole)
targetPlayer
- The player to open the menu for.previousMenu
- The previous menu that was opened, if exists.targetIsland
- The island to change permissions in.permissibleRole
- The island-role to change permissions for.void refreshPermissions(Island island)
island
- The island to refresh the menus for.void refreshPermissions(Island island, SuperiorPlayer permissiblePlayer)
island
- The island to refresh the menus for.permissiblePlayer
- The player to change permissions.void refreshPermissions(Island island, PlayerRole permissibleRole)
island
- The island to refresh the menus for.permissibleRole
- The island role to change permissions for.void updatePermission(IslandPrivilege islandPrivilege)
islandPrivilege
- The permission to update.void openPlayerLanguage(SuperiorPlayer targetPlayer, @Nullable ISuperiorMenu previousMenu)
targetPlayer
- The player to open the menu for.previousMenu
- The previous menu that was opened, if exists.void openSettings(SuperiorPlayer targetPlayer, @Nullable ISuperiorMenu previousMenu, Island targetIsland)
targetPlayer
- The player to open the menu for.previousMenu
- The previous menu that was opened, if exists.targetIsland
- The island to change settings for.void refreshSettings(Island island)
island
- The island to refresh the menus for.void updateSettings(IslandFlag islandFlag)
islandFlag
- The settings to update.void openTopIslands(SuperiorPlayer targetPlayer, @Nullable ISuperiorMenu previousMenu, SortingType sortingType)
targetPlayer
- The player to open the menu for.previousMenu
- The previous menu that was opened, if exists.sortingType
- The type of sorting of islands to use.void refreshTopIslands(SortingType sortingType)
sortingType
- The sorting type to refresh.void openUniqueVisitors(SuperiorPlayer targetPlayer, @Nullable ISuperiorMenu previousMenu, Island targetIsland)
targetPlayer
- The player to open the menu for.previousMenu
- The previous menu that was opened, if exists.targetIsland
- The island to get visitors from.void refreshUniqueVisitors(Island island)
island
- The island to refresh the menus for.void openUpgrades(SuperiorPlayer targetPlayer, @Nullable ISuperiorMenu previousMenu, Island targetIsland)
targetPlayer
- The player to open the menu for.previousMenu
- The previous menu that was opened, if exists.targetIsland
- The island to get upgrade levels from.void refreshUpgrades(Island island)
island
- The island to refresh the menus for.void openValues(SuperiorPlayer targetPlayer, @Nullable ISuperiorMenu previousMenu, Island targetIsland)
targetPlayer
- The player to open the menu for.previousMenu
- The previous menu that was opened, if exists.targetIsland
- The island to get values from.void refreshValues(Island island)
island
- The island to refresh the menus for.void openVisitors(SuperiorPlayer targetPlayer, @Nullable ISuperiorMenu previousMenu, Island targetIsland)
targetPlayer
- The player to open the menu for.previousMenu
- The previous menu that was opened, if exists.targetIsland
- The island to get visitors from.void refreshVisitors(Island island)
island
- The island to refresh the menus for.void openWarpCategories(SuperiorPlayer targetPlayer, @Nullable ISuperiorMenu previousMenu, Island targetIsland)
targetPlayer
- The player to open the menu for.previousMenu
- The previous menu that was opened, if exists.targetIsland
- The island to get warp categories from.void refreshWarpCategories(Island island)
island
- The island to refresh the menus for.void destroyWarpCategories(Island island)
island
- The island to close menus of.void openWarpCategoryIconEdit(SuperiorPlayer targetPlayer, @Nullable ISuperiorMenu previousMenu, WarpCategory targetCategory)
targetPlayer
- The player to open the menu for.previousMenu
- The previous menu that was opened, if exists.targetCategory
- The warp category to edit the icon for.void openWarpCategoryManage(SuperiorPlayer targetPlayer, @Nullable ISuperiorMenu previousMenu, WarpCategory targetCategory)
targetPlayer
- The player to open the menu for.previousMenu
- The previous menu that was opened, if exists.targetCategory
- The warp category to manage.void refreshWarpCategoryManage(WarpCategory warpCategory)
warpCategory
- The warp category to refresh the menus for.void openWarpIconEdit(SuperiorPlayer targetPlayer, @Nullable ISuperiorMenu previousMenu, IslandWarp targetWarp)
targetPlayer
- The player to open the menu for.previousMenu
- The previous menu that was opened, if exists.targetWarp
- The warp to edit the icon for.void openWarpManage(SuperiorPlayer targetPlayer, @Nullable ISuperiorMenu previousMenu, IslandWarp targetWarp)
targetPlayer
- The player to open the menu for.previousMenu
- The previous menu that was opened, if exists.targetWarp
- The warp to manage.void refreshWarpManage(IslandWarp islandWarp)
islandWarp
- The warp to refresh the menus for.void openWarps(SuperiorPlayer targetPlayer, @Nullable ISuperiorMenu previousMenu, WarpCategory targetCategory)
targetPlayer
- The player to open the menu for.previousMenu
- The previous menu that was opened, if exists.targetCategory
- The category to get warps from.void refreshWarps(WarpCategory warpCategory)
warpCategory
- The warp category to refresh the menus for.void destroyWarps(WarpCategory warpCategory)
warpCategory
- The warp category to close menus of.