public class GuildApplicationMenu extends java.lang.Object implements WauzInventory
GuildOverviewMenu| Constructor and Description |
|---|
GuildApplicationMenu() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<WauzMode> |
getGamemodes() |
java.lang.String |
getInventoryId() |
static void |
open(org.bukkit.entity.Player player)
Opens the menu for the given player.
|
void |
openInstance(org.bukkit.entity.Player player)
Opens a new inventory of this type for the given player.
|
void |
selectMenuPoint(org.bukkit.event.inventory.InventoryClickEvent event)
Checks if an event in this inventory was triggered by a player click.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdestroyInventorypublic java.lang.String getInventoryId()
getInventoryId in interface WauzInventorypublic java.util.List<WauzMode> getGamemodes()
getGamemodes in interface WauzInventorypublic void openInstance(org.bukkit.entity.Player player)
openInstance in interface WauzInventoryplayer - The player that should view the inventory.public static void open(org.bukkit.entity.Player player)
player - The player that should view the inventory.GuildOverviewMenu.validateOfficerAccess(Player, WauzPlayerGuild),
WauzPlayerGuild.getApplicantUuidStrings(),
PlayerConfigurator.getLastPlayed(OfflinePlayer),
PlayerConfigurator.getClassString(OfflinePlayer, String),
PlayerConfigurator.getWorldString(OfflinePlayer, String),
PlayerConfigurator.getLevelString(OfflinePlayer, String),
PlayerConfigurator.getSurvivalScore(OfflinePlayer),
MenuUtils.setBorders(Inventory)public void selectMenuPoint(org.bukkit.event.inventory.InventoryClickEvent event)
selectMenuPoint in interface WauzInventoryevent - The inventory click event.PlayerConfigurator.getGuild(OfflinePlayer),
WauzPlayerGuild.removeApplicant(String),
WauzPlayerGuild.addPlayer(OfflinePlayer)