downloadAsync
public static void downloadAsync(String slug, File destinationFolder, Player player, Consumer<Boolean> onComplete)
Downloads content asynchronously with progress updates.
Parameters
slug
The content slug to download
destinationFolder
The folder to save the downloaded file
player
The player to send progress messages to (can be null)
onComplete
Called when download completes (true = success)
public static void downloadAsync(JavaPlugin ownerPlugin, String slug, File destinationFolder, Player player, Consumer<Boolean> onComplete)