registerRemoteResourcePack

public static void registerRemoteResourcePack(String pluginName, String url, boolean encrypts, boolean distributes, boolean zips, String reloadCommand)

Registers a remote resource pack with the ResourcePackManager. The resource pack will be downloaded from the provided URL.

Parameters

pluginName

The name of the plugin as it appears in the plugin list. Case-sensitive.

url

The URL to download the resource pack from.

encrypts

Whether the pack can be encrypted by the plugin. Currently does nothing.

distributes

Whether the plugin can distribute the pack. Currently does nothing.

zips

Whether the resource pack from the URL is already zipped. If false, ResourcePackManager will zip it.

reloadCommand

The reload command of the plugin adding a pack. Currently does nothing.