SixTwentyDOCS

Resource Pack SDK

How to use the Mineplex Studio Resource Pack SDK

This is an archived Mineplex-era document, kept for reference during the transition. It may contain outdated branding and is not part of the core SixTwenty documentation.
View the Java SDK reference

The resource pack module allows game developers on the Mineplex Studio to retrieve uploaded resource pack and display those to players. All resource packs must be stored in the config/resource-packs directory and are identified by their file name.

Uploading Resource Packs

Store all your resource packs in the config/resource-packs directory, and they will be uploaded to the Mineplex Studio automatically during the github build action or during the start of your development server.

Updating Resource Packs

To update a resource pack, simply replace the old version with the new version and re-run the github action or re-start the development server.

Retrieving Resource Packs

public ResourcePack getResourcePack(final String packName) {
   resourcePackModule.get(packName);
}

public ImmutableMap<String, ResourcePack> getResourcePacks() {
   return resourcePackModule.getAll();
}