ResourcePackManagerAPI
Functions
Link copied to clipboard
public static void registerLocalResourcePack(String pluginName, String localPath, boolean encrypts, boolean distributes, boolean zips, String reloadCommand)
Registers a local resource pack with the ResourcePackManager.
Link copied to clipboard
public static void registerRemoteResourcePack(String pluginName, String url, boolean encrypts, boolean distributes, boolean zips, String reloadCommand)
Registers a remote resource pack with the ResourcePackManager.
Link copied to clipboard
public static void registerResourcePack(String pluginName, String localPath, String url, boolean encrypts, boolean distributes, boolean zips, String reloadCommand)
Registers a resource pack with the ResourcePackManager.
Link copied to clipboard
Reloads the plugin, thereby redoing everything necessary to merge and host the resource pack