LibsDisguises skin ID in mobs config

Discussion in 'Community Support' started by Nairolf27, Oct 4, 2019.

  1. Nairolf27

    Nairolf27 New Member

    Joined:
    Oct 2, 2019
    Messages:
    2
    Likes Received:
    0
    Hello everyone, this is my first post on the forum so I will do my best ^^
    My question concerns the LibsDisguises plugin. Indeed I created the following line of code in the file disguises.yml :
    Code:
      Peacefull\_Dwarf: 'player Peacefull\_Dwarf setSkin {"id":"ba3b1c81-d066-4298-9ccd-9ed8d4b66b1a","name":"Nairolf27","properties":[{"signature":"NSVqj...=","name":"textures","value":"eyJ0a..."}]}'
    
    (I shortened the code because the rest had no interest)
    This piece of code simply allows me to have a custom skin and works very well. However, I need to use this code from my mob's config:
    Code:
    Disguise:
        Type: Peacefull\_Dwarf
    I would like to know if it would be possible to put everything directly in the configuration of my mob, without having to go through the file "disguise.yml" like :
    Code:
    Disguise:
      Type: player
      Player: 'Peaceful dwarf'
      Skin id : <signature> / <value>
    Here, if it's possible, don't hesitate to tell me!
    I hope my explanation is clear and thank you in advance for your answers:)
    I have MythicMobs: 4.6.5 and LibsDisguises: 9.5.2
     
    #1
  2. Tigierrei

    Tigierrei Member

    Joined:
    Aug 19, 2016
    Messages:
    32
    Likes Received:
    4
    First of all, libsdisguises supports spaces if placed inside double apex (
    Peacefull\_Dwarf: 'player "Peacefull Dwarf" ...).
    To anwer your question no, you can't. You can try Skinner if you want, it has a command to automatically upload a skin file and add the disguise to the disguises.yml.
     
    #2
  3. Nairolf27

    Nairolf27 New Member

    Joined:
    Oct 2, 2019
    Messages:
    2
    Likes Received:
    0
    Ok, thank you very much !
     
    #3
  4. Tigierrei

    Tigierrei Member

    Joined:
    Aug 19, 2016
    Messages:
    32
    Likes Received:
    4
    You are welcome :)
     
    #4

Share This Page