Skip to main content

Creating custom elements

In this section you can read, how to create own, custom textures

Creating textures

You need to make 2 textures - icon & skin

Icon texture

To create an icon, you need to make an image that represents the element as an item. To do this, create in any graphic editor, mew image with any size (i.e. 16x16, 64x64 etc.) and draw your icon. After that, save image as PNG

Skin texture

To create an element, you need to use any skin creator, or graphic editor with skin template. Next, you need to draw your element. Another skin parts, left transparent.

info

Skin must have basic 64x64 size

Configuration

Now, go to /plugins/KSkinCreator/assets and select category where you want to add element. In icon folder add icon, and in skin add skin. Now you can open meta.yml and create new element in elements section using template below.

Example element configuration
"2": # ID of element (must be unique in category)
    model: 11002 # Custom Model Data (can be random number - must be unique in entire plugin)
    icon: icon/2.png # Path to icon image
    skin: skin/2.png # Path to skin image
    displayName: CEO # Display name in UI. You can also use colors (read more in translations section)
    permission: creator.ceo # You can add this to make element only accessible for players with specific permission

After changes, restart the server and use /ktools resourcepack refresh command.

danger

This command causes lags, so use it on empty server