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!
You can always check out skUnity Downloads for downloads and any other information about Skript!
OOO that is a good question. As far as I know, theres only the option for 1, BUT, I could very well be wrong. I am excited to see if there is a way to do this.
Haha I truly am.You are a very easily excitable fella I wish you luck on your path to euphoria
on "org.bukkit.event.player.PlayerJoinEvent":
set {_p} to event.getPlayer()
open virtual chest inventory with size 1 named "Select texturepack." to player.
create a gui slot 0 of player with potato named "First" to close then run function sendTexture({_p}, 1)
create a gui slot 1 of player with potato named "Second" to close then run function sendTexture({_p}, 2)
create a gui slot 2 of player with potato named "Third" to close then run function sendTexture({_p}, 3)
function sendTexture(p: player, id: integer)
if {_id} = 1:
{_p}.setResourcePack("Zip link #1")
send "Attemping to download texture pack 1." to {_p}
else if {_id} = 2:
{_p}.setResourcePack("Zip link #2")
send "Attemping to download texture pack 2." to {_p}
else if {_id} = 3:
{_p}.setResourcePack("Zip link #3")
send "Attemping to download texture pack 3." to {_p}
on "org.bukkit.event.player.PlayerResourcePackStatusEvent":
set {_player} to event.getPlayer()
set {_status} to event.getStatus()
if "%{_status}%" = "DECLINED" or "FAILED_DOWNLOAD":
send centered "&e&lWe recommend you to use our resource pack for a fun experience!" to {_player}
no reason i just like skript-mirror because it tends to work 97.5% of the time rather than skriptI’m curious why you’re using skript mirror for the join event? Skript has an on join event.
Try this:Someone?
on "org.bukkit.event.player.PlayerJoinEvent":
set {_p} to event.getPlayer()
open virtual chest inventory with size 1 named "Select texturepack." to player
create a gui slot 0 of player with potato named "First" to close then run function sendTexture({_p}, 1)
create a gui slot 1 of player with potato named "Second" to close then run function sendTexture({_p}, 2)
create a gui slot 2 of player with potato named "Third" to close then run function sendTexture({_p}, 3)
function sendTexture(p: player, id: integer):
if {_id} = 1:
{_p}.setResourcePack("Zip link #1")
send "Attemping to download texture pack 1." to {_p}
else if {_id} = 2:
{_p}.setResourcePack("Zip link #2")
send "Attemping to download texture pack 2." to {_p}
else if {_id} = 3:
{_p}.setResourcePack("Zip link #3")
send "Attemping to download texture pack 3." to {_p}