registerLocalResourcePack

public static void registerLocalResourcePack(String pluginName, String localPath, boolean encrypts, boolean distributes, boolean zips, String reloadCommand)

Registers a local resource pack with the ResourcePackManager.

Parameters

pluginName

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

localPath

The relative path to the resource pack file (zipped or folder) from the plugins directory.

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 is already zipped. If false, ResourcePackManager will zip it.

reloadCommand

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