Player head on an online and offline server

  • 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 community!

    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.

FabricioSouza

Well-Known Member
Mar 15, 2018
267
3
0
Well, everyone knows that I post a lot here in the forum, so I want to know if there is any way to give a player's own head with the server offline. I mean offline, for example: your internet is disconnected and you start your server and when you log in any player will receive a skull but if you have a skin. One thing that happens to me is when my internet is off I get the head of steve or alex but I want to win the head of my skin.
 
If your internet is off you cant connect to a server.
So the only thing you could do is connect to a single player game.
Skript is not built for single player, unless you ran a server from your same computer/home network.
The skin is loaded via the mojang skin server.
If you were to check for heads, it wouldn't have a way of checking since your internet is off.
 
[QUOTE = "ShaneBee, post: 29087, member: 5254"] Se a sua internet estiver desligada, você não pode se conectar a um servidor.
Então, a única coisa que você pode fazer é se conectar a um único jogo.
O Skript não é construído para um único jogador, a menos que você tenha executado um servidor do mesmo computador / rede doméstica.
A pele é carregada através do servidor de pele mojang.
Se você tivesse que checar as cabeças, não teria como verificar se a sua internet está desligada. [/ QUOTE]

There is a way to connect a server with the internet turned off. Just put the ip as: localhost.
 
Yes... but that would be to a server on your home network.
You would be all by yourself so really what is the point of seeing a skin... you won't see it.
No one else will be on to see it.
The skin servers won't be able to check for a skin, since your internet is off
 
[QUOTE = "ShaneBee, post: 29089, member: 5254"] Sim ... mas isso seria para um servidor na sua rede doméstica.
Você estaria sozinho, então qual é o ponto de ver uma pele ... você não vai ver.
Ninguém mais estará presente para ver isso.
Os servidores de skin não poderão procurar por uma skin, já que sua internet está desativada [/ QUOTE]

Man, I'm wondering if there's any way to get an offline player's head with nbt or id. I prefer ID, but I do not know how I'll do it.
[doublepost=1524005505,1524005420][/doublepost]I want to get the head of a player online or offline, Sometimes on my server when I enter my server there are times that I win the head of another alex steve.
[doublepost=1524005550][/doublepost]Is there a way to get the player's head with UUID from mojang online and offline on my server.
 
code_language.skript:
set {_p} to "%player%" parsed as player
give player 1 of skull of {_p} named "&7Player &8: &f%player%"
 
[QUOTE = "ShaneBee, post: 29091, membro: 5254"] [CODE = SKRIPT]
set {_p} para "% player%" analisado como player
dê ao jogador 1 de caveira de {_p} com o nome "& 7Player & 8: & f% player%" [/ CODE] [/ QUOTE]

There is a way to get the head with the UUID of the player in premium.
 
Try this then
code_language.skript:
set {_p} to "8ec2355f-e37a-44ba-ae50-8a545e713ec4" parsed as player
give player 1 of skull of {_p} named "HEAD"
 
[QUOTE = "ShaneBee, post: 29095, membro: 5254"] Tente isso então
[CODE = SKRIPT] set {_p} para "8ec2355f-e37a-44ba-ae50-8a545e713ec4" analisado como player
dar ao jogador 1 do crânio de {_p} o nome "HEAD" [/ CODE] [/ QUOTE]

Now if it is from another player and I do not know how to get UUID it will be that it exists like this: set {_p} for "% uuid of player%" parsed as player.
 
well you would have to throw it in a command and do something like
set {_p} for "%arg-1%" parsed as player.
 
Status
Not open for further replies.