Back to mods
Cape Provider project artwork

Modrinth · Minecraft mod

Cape Provider

Provides you with capes! You can choose from various providers or add your own

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Cape Provider release should I use?

Updated last month
Latest stable file 5.5.0
Game version 26.2
Loader Fabric

Cape Provider 5.5.0 targets 26.2 with Fabric. It must be installed on the client. Do not install it on the dedicated server. All 1 required mods have matching files.

Where it goes

Is Cape Provider required on the client, server, or both?

It must be installed on the client. Do not install it on the dedicated server.

Client Required
Dedicated server Not supported
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked client-only.

What else does Cape Provider 5.5.0 need?

5.5.0. Change the file and its required mods may change too.

All 1 required mods have matching files

Install Fabric API first. We found matching files for this game-version and loader setup. 1 comes through another mod in the chain.

3 listed on this file 1 pulled in by one of those mods
Fabric API Needed by Cape Provider 5.5.0
required
Matching file found Matched file: [26.2] Fabric API 0.156.0+26.2
Mod Menu Optional for Cape Provider 5.5.0
optional
Matching file found Matched file: 20.0.1
Project 89Wsn8GD Needed by Cape Provider 5.5.0
incompatible
Still checking
Text Placeholder API Needed by Mod Menu
pulled in
Matching file found Matched file: 3.1.0-beta.1+26.2

1 extra mod was pulled in by another dependency. Indented rows show who needs each one. We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Cape Provider without breaking your instance.

Built for Cape Provider 5.5.0. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 5.5.0. It targets 26.2 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Fabric API first. We found matching files for this game-version and loader setup. 1 comes through another mod in the chain.

  3. 03

    Put it on the correct side

    It must be installed on the client. Do not install it on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 5.5.0. It opens that exact file at the source.

About this project

What does Cape Provider add?

Provides you with capes!

You can choose from various providers or add your own.

Improved/Reworked version of the "Capes" mod:

  • Improved and easier cape provider integration
  • Allows ordering providers
  • Support for custom providers
  • More options to fine tune how capes are applied
  • Written only in Java (no Kotlin needed)
  • Various fixes and improvements

Creating a custom cape provider

The mod provides many different ways how a provider can be added.

The following possibilities are sorted by simplicity:

Simple Local Provider

Recommended for:

  • Users that just want a customizable cape
  • Modpacks (using config/cape-provider/simple-custom)

The simplest way to display a cape is by going into the config/cape-provider directory and creating a cape texture file named cape.png.

Additionally there are the following optional files:

  • owners.txt - Determines which player names or UUIDs will get the cape displayed. If this file is not present then all players will display with the cape.
  • name.txt - To override the display name of the provider

You can also add more providers by creating corresponding directories in config/cape-provider/simple-custom.
Example: config/cape-provider/simple-custom/my-super-cool-provider/cape.png

Remote Provider in configuration

Recommended for:

  • Users that want to add a custom remote provider

This demo showcases how to apply the capes inside custom-cape-demo.

  1. Open the config file located in config/cape-provider/config.json

  2. In the remoteCustomProviders section add the following entry:

    {
      "id": "cp1",
      "name": "CustomProvider1",
      // You can replace uuid with $id, $name or $idNoHyphen to customize the cape per Player
      "uriTemplate": "https://raw.githubusercontent.com/litetex-oss/mcm-cape-provider/refs/heads/dev/custom-cape-demo/uuid.png"
    }
    
    Example for SkinMC
    {
      "id": "skinmc",
      "name": "SkinMC",
      "uriTemplate": "https://skinmc.net/api/v1/skinmcCape/$id"
    }
    
  3. Restart the game and activate the provider

For more details have a look at RemoteCustomProvider and RemoteCustomProviderConfig

NOTE: Texture resolvers can be selected using the textureResolverId attribute (see below for details).

via Mods

Recommended for:

  • Mods

If you are a mod developer and want to e.g. display a cape for supporters or contributors of your mod, you can provide it using the mod's resources and/or metadata in fabric.mod.json.
The overall behavior is similar to how modmenu handles this.

Local/Simple (Recommended)

This approach requires no network communication and is the recommended way.
It works by reading metadata and resources from the cape directory.

Here is an example:

  1. Add the following mod metadata:
    fabric.mod.json
    {
      ...
      "custom": {
        "cape": "Contributors"
      }
    }
    
  2. Create a cape directory inside resources
  3. Add the cape texture in cape/cape.png
  4. Add the players that should be given the cape in cape/owners.txt with their UUIDs or names
Note: There is also a more detailed variant

fabric.mod.json

{
  "custom": {
    "cape": {
      "name-extra": "Contributors",
      "owners": {
        // You can also used UUIDs
        "names": [
          "Notch"
        ]
      }
    }
  }
}

The mod uses this strategy itself. See the fabric.mod.json or cape directory for details.

Remote

Here's an example implementation that shows how a remote cape provider can be added:

fabric.mod.json

{
  ...
  "custom": {
    "cape": "https://raw.githubusercontent.com/litetex-oss/mcm-cape-provider/refs/heads/dev/custom-cape-demo/uuid.png"
  }
}
Here's a more detailed variant

fabric.mod.json

{
  "custom": {
    "cape": {
      // Gives everyone a christmas cape
      // You can also use variables here, like $uuid. See above for more details
      // You may have to escape the $ with \ or you can alternatively use § instead of $
      // Alternative: "uriTemplate"
      "url": "https://example.org/textures/§uuid.png",
      "changeCapeUrl": "https://...",
      "rateLimitedReqPerSec": 20 // Default is 20
    }
  }
}

Programmatic

You can also create a programmatic cape provider.

Further notes

Maximum size

Images/Textures should not exceed 10MB. Otherwise they might be ignored.

Texture resolvers / Animated textures

The following resolvers are currently built-in:

Resolver-ID Animated Format Example Notes
default / null PNG uuid.png
sprite Stacked PNG animated.png
gif GIF animated.gif Usage not recommended
GIFs require more resources when compared to more modern formats like PNG.

Please note that animated textures can be frozen or completely disabled in the settings.

Project description from Modrinth.

Pick your setup

Cape Provider by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

2 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Cape Provider versions and loaders

3 of 3 releases match

Looking for an older file? The official Modrinth project page is in Resources.