👏
SkyPvP
  • ⏱️Core-SkyPvP Main Page
  • Configuration
    • ⚔️Kits setup
    • 📦PlaceHolders
    • ⁉️LootBox Weird bug
    • 📬LootBox System
    • 🔋Prestiges System
    • 💿DataBase
    • 💽player spawning
    • 🚀Perks system
  • 💻DEVELOPERS
    • ☕Java API
Powered by GitBook
On this page
  1. DEVELOPERS

Java API

you can use :

   
     SkyPvPAPI api = SkyPvPAPI.getInstance();


     api.profileManager().getprofile(UUID uuid);

     api.profileManager().getprofile(Player player);     

     api.perkPlayerManager();
        
     api.getPlayerPrestiege();
       
     api.getKitManager();
       
     api.perkManager();



for lootbox:

       private final LootBoxManager lootBoxManager;



        this.lootBoxManager = SkyPvPAPI.getInstance().getLootBoxManager();




            ArmorStand stand = (ArmorStand) armorstand;
            LootBox preview = lootBoxManager.getLootBoxPreview(stand);

            this first method is to get the Preview LootBox.

            LootBox box = lootBoxManager.getLootBox(stand);

            this to get the lootbox 

PreviousPerks system

Last updated 2 years ago

💻
☕