Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package games.coob.skywars.api;
- import games.coob.skywars.menu.KitSelectionMenu;
- import games.coob.skywars.model.ArenaPlayer;
- import lombok.AccessLevel;
- import lombok.NoArgsConstructor;
- import org.bukkit.entity.Player;
- /**
- * This class is the main API class for the Orion plugin.
- */
- @NoArgsConstructor(access = AccessLevel.PRIVATE)
- public class SkyWarsAPI {
- /**
- * Return the {@link SkyWarsPlayerCache} for the given player
- * containing various ArenaPlayer information stored in the
- * data.db file.
- *
- * @param player the player
- * @return the player cache
- */
- public static SkyWarsPlayerCache getCache(final Player player) {
- return ArenaPlayer.getCache(player);
- }
- /**
- * Return the {@link SkyWarsKitCache} for the given player
- * containing different types of kit menus.
- *
- * @param player the player
- * @return the menu to open
- */
- public static SkyWarsKitCache getKitMenus(final Player player) {
- return KitSelectionMenu.
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement