How to change NPC skins

May 13, 2021
How to change NPC skins
  • CraftOfClans - How to change NPC skins

    The skins you can edit for now:
    • WIZARD_TOWER
    • ARCHER_TOWER
    • GUARDIAN
    • Troops head (on the GUI)
    The configurable skins are found in the skins.yml file

    here is an example:
    Code (Text):
    ARCHER_TOWER:
          texture: 'ewogICJ0aW1lc3RhbXAiIDogMTYxODk1NjI3ODA5MiwKICAicHJvZmlsZUlkIiA6ICI5MzZmMTA3MTEzOGM0YjMyYTg0OGY2NmE5Nzc2NDJhMiIsCiAgInByb2ZpbGVOYW1lIiA6ICIwMDAwMDAwMDAwMDAwMDB4IiwKICAic2lnbmF0dXJlUmVxdWlyZWQiIDogdHJ1ZSwKICAidGV4dHVyZXMiIDogewogICAgIlNLSU4iIDogewogICAgICAidXJsIiA6ICJodHRwOi8vdGV4dHVyZXMubWluZWNyYWZ0Lm5ldC90ZXh0dXJlL2U2N2I1Nzk3MDIzZmUyOGU5NmEwMzc0ODJkNThhZTBjZmJjMjgxZTQwMjZlMzY1NzQ3M2I1ZmUxOTBiYWQ0MGUiLAogICAgICAibWV0YWRhdGEiIDogewogICAgICAgICJtb2RlbCIgOiAic2xpbSIKICAgICAgfQogICAgfQogIH0KfQ=='
          signature: 'hd9aXQevuitbGaz5ScNKlN5Dbo5vTXhv4UIqG7gFtdvZEYMTEuH4Zt0chu1qoRu1XKGcFPNq5ffILXe3uWYX4tbaacOR9YlB1qVft7G4CaVGtFrnivHyKSfl3dsOo+O0BG7Sf9O33ylCxHga3akOsPFdJ3L0ajxaaE06IRql5t7zuyVEWlCZRVf8g2FReU8UDpm0g8wUk91L8ZibB9+CHvVMwtoZo6LL4etPpkeS/M4nTXfPt8wX5+61PENkTtuV4cNVic5xvG0eKNXLSxhfsyHxd4ijH2iQfpfV62LH61ZpwOW8ZHk4aeo85EPVJEB/HlWmsWdc8Mqgh5vCcQGMJo1INL5Ild5i6uY7s5RU6ojTiNA0E0kHRVLRlLZqyWcTn7EYvb+cG39dm7ZMgmPjCVDi5Y4Gl+8C72tNTrrEkUF2lWDP0BGUo0BR3lwqY3fG5xSGKR7VkuzvKLAa9Q7Yhu2SQHpCZ2kAY3PlQFQKHbSSnbLND5GVlTDgEZYreIntUtWgRZ6nYfM5mZXgCGgT3v30kFAz9Qj9EGUjYxMdeRUHVd/AS5Y5bqWXpo+m8almi/oVI9OKXlezSVECeTTMrJdY6N/bn3JHD9Njwr8G7m+TD2DZVJFDP0PAis7HeLVcMfxD7XsR4yt7xtlsWxKWuCm/dphTNQn3eelGqVKN1jM='
    To change the skin go to https://mineskin.org and upload the custom skin.
    Take texture and date values and replace them in skins.yml

    If set on the troops, skins will be applied to the heads of the item-troops on the gui.

    Reload the config using /coc reload. The changes will be seen in the NPCs that will be spawned from now on

  • Loading...
  • Loading...