How to get the current NPC skin

Discussion in 'Spigot Plugin Development' started by Wei_Boss, Nov 5, 2017.

  1. Citizens that API can get the value of player-skin-name
    Code (Text):
    last-created-npc-id: 0
    npc:
      '0':
        name: '1'
        uuid: cf24b178-07ea-4aa8-ba4b-b56714046e50
        traits:
          lookclose:
            enabled: true
            range: '5.0'
            realisticlooking: false
          location:
            world: world
            x: '228.6859'
            y: '79.0'
            z: '-65.1092'
            yaw: '-141.0694580078125'
            pitch: '0.0'
          spawned: true
          gravity:
            enabled: false
          type: PLAYER
          owner:
            owner: Wei_Boss
            uuid: b0b088b3-2d4a-30ef-b986-9f570950274d
        traitnames: gravity,location,spawned,lookclose,mounttrait,owner,inventory,type
        navigator:
          speedmodifier: '1.0'
          avoidwater: false
          usedefaultstuckaction: true
        metadata:
          player-skin-textures: eyJ0aW1lc3RhbXAiOjE1MDk4NDczMzU4MTIsInByb2ZpbGVJZCI6ImJlMGM3YjQxM2Y2ODRiMWVhMDBjZDA1ZWY2NzUwYjM3IiwicHJvZmlsZU5hbWUiOiJub3RoIiwic2lnbmF0dXJlUmVxdWlyZWQiOnRydWUsInRleHR1cmVzIjp7IlNLSU4iOnsidXJsIjoiaHR0cDovL3RleHR1cmVzLm1pbmVjcmFmdC5uZXQvdGV4dHVyZS9lN2ZhYjVmMzFkZmI1NmVlMDc3N2VlMTdiZDNhZmVhOGEzZDg2MWNkYzYyYjJhN2RmZGYyZTliY2RhMDUwIn19fQ==
          cached-skin-uuid-name: noth
          cached-skin-uuid: be0c7b41-3f68-4b1e-a00c-d05ef6750b37
          player-skin-name: noth
          player-skin-signature: KOFafq4AW6cgy7r3JQID6bVbmbz/FO8OP345AhjIn1cOg7woCMiZsJuILcrY+PYuE944oHm7YeTUFgY5fJ1YXsnJOtjfvWqWQYpN0NIgBoU6gJ8Xn/G0KjlTq44EOkHeV5iVQgEEMNTKYtIu7FBD0fu7A5pK1Rm03yhVnypkdGmfBo++F4Q4nzGAQrCZgqq8j3/v70faH04wK2dO5i1oV2e0BuTG63dLrBIdaR9QQpvI1RfniQzsXh8dW6+oITIrCe0nHG9SeXarWW5zMCqAQ5Yqu4L9ISMhFV/8nLTOXRVhTzNTeHqWO2wSKS45Z8+k72P/oaKROD6i2LprnnPpQ1YcNMk9FQj5KKjO9cps0ONcb/jBgh+/BkAeMwEcO0UaZEuvFptTQ1ROw4+B1ia4ldL+XmD09SIuVZLfSj8rv4WvdLMYzedl9B/wflyKYcGlvJ3/81wxsLJwWDdXuNTFC7J4BQZls6KCQykoeKALA6RPK7TodTUEzfxekq0UsheeaWRTzdy6yTK3OMAy9No6ZL6rd3I1XhJ9J/AlK5YJRgPD4oK/wN4WyCmoY18RcgS7PwekS7ZtZHmuwpB549c4V8IrnWv6NNGeE5975+3qLgSZxldxgfsjcXIvsEebSXnbzs7OJFJ6BUMB/HYKL0eDecFOGq3GNYBsJSkjzUX0lHA=