Hi,
I'm looking for some solution for forcing player's to use server's texture pack. I have tried to Google something, but it was little outdated or it wasn't been working. I have tried this code, but it didn't work.
(And yes, I have MundoSK and ProtocolLib..)
Maybe somebody could help me with this
Thank you
[doublepost=1614793603,1614708291][/doublepost]Hey,
I figured it out after 1 day
I'm using this code, and I have also placed same link in server.properties file (idk if it has something to do with that, but it works now) and it works!
I have been looking for some solution all day and now it works, maybe somebody has same problem as me..
Marked as solved
I'm looking for some solution for forcing player's to use server's texture pack. I have tried to Google something, but it was little outdated or it wasn't been working. I have tried this code, but it didn't work.
Code:
on join:
wait 1 second
send resource pack from "infinityland.eu/TexturePack/InfinityLand-Pack.rar" to player
on packet event play_client_resource_pack_status:
if "%""ResourcePackStatus"" pinfo 0 of event-packet%" = "DECLINED":
kick player due to "&cYou need download the resource pack for stay playing here ;)"
Maybe somebody could help me with this
Thank you
[doublepost=1614793603,1614708291][/doublepost]Hey,
I figured it out after 1 day
I'm using this code, and I have also placed same link in server.properties file (idk if it has something to do with that, but it works now) and it works!
Code:
on join:
wait 20 ticks
send resource pack from "https://www.dropbox.com/s/e3qxmaszob9gleh/InfinityLandRP.zip?dl=1" to player
on packet event play_client_resource_pack_status:
if "%""ResourcePackStatus"" pinfo 0 of event-packet%" = "DECLINED":
kick player due to "&4&l[RESOURCE PACK]%newline%&c&oByl/a jste vyhozen/a ze serveru z důvodu zamítnutí Resouce Packu.%newline%&r%newline%&7&oPro hru na serveru je nutné mít nainstalovaný%newline%&7&oa aktivní náš speciální Resource Pack..%newline%&r%newline%&r%newline%&eNáhradní možnosti instalace Resource Packu naleznete na:%newline%&6&lwww.InfinityLand.eu/ResourcePack%newline%&r%newline%&r%newline%&8© by InfinityLand.eu 2021"
Marked as solved