Skip to main content

PlayerCache

Simple API for getting players cached data

 

You can get the cache of player in a few ways not shown bellow, use DragonTagsAPI.# to see its options.

  
  public class Example extends JavaPlugin {

    public void onEnable() {
     String tagName = DragonTagsAPI.getPlayerCache(Insert_UUID_Here).tagName
     String categoryName = DragonTagsAPI.getPlayerCache(Insert_UUID_Here).tagCategory
     boolean randomTag = DragonTagsAPI.getPlayerCache(Insert_UUID_Here).randomTag
    }

    public void onDisable() {
        
    }
    
  }