Skull Transformer.

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.
Hey everyone,

I'm making some custom armor with:
Code:
 skull of %offlineplayers%
but I need to find out how to transform a Minecraft player ID to the player name.

Thanks,

- TheCringleYT

EDIT: Just realized I put this is Skript. Oops! Please still give answers.
By player ID are you meaning UUID?
just parse it as an offline player, ex:
code_language.skript:
set {_id} to "some-uuid-here" parsed as offline player
 
By player ID are you meaning UUID?
just parse it as an offline player, ex:
code_language.skript:
set {_id} to "some-uuid-here" parsed as offline player

Hey,

I used this code,

Code:
command /voidarmor:
   trigger:
       give player the skull of Halloween

but I get the error:

Code:
 'the skull of Halloween' can't be added to a player because the former is neither an item type, an inventory nor an experience point (line 8: give player the skull of Halloween') (The most likely cause of this error is the spelling of the item you're trying to give. For example, it is "pickaxe", not "pick axe".)


Please give answers,

-TheCringleYT

P.S I'm trying to get a player skull.
 
Hey,

I used this code,

Code:
command /voidarmor:
   trigger:
       give player the skull of Halloween

but I get the error:

Code:
 'the skull of Halloween' can't be added to a player because the former is neither an item type, an inventory nor an experience point (line 8: give player the skull of Halloween') (The most likely cause of this error is the spelling of the item you're trying to give. For example, it is "pickaxe", not "pick axe".)


Please give answers,

-TheCringleYT

P.S I'm trying to get a player skull.

Yo can i be a developer for you?
 
Hey,

I used this code,

Code:
command /voidarmor:
   trigger:
       give player the skull of Halloween

but I get the error:

Code:
 'the skull of Halloween' can't be added to a player because the former is neither an item type, an inventory nor an experience point (line 8: give player the skull of Halloween') (The most likely cause of this error is the spelling of the item you're trying to give. For example, it is "pickaxe", not "pick axe".)


Please give answers,

-TheCringleYT

P.S I'm trying to get a player skull.
`skull of Halloween` isn't a thing. The syntax is `skull of %player%` as in a player object, so if you want to get a player object from a name, you have to parse it, ie: `set {_p} to "Halloween" parsed as offline player`
 
Status
Not open for further replies.