Resource packs

  • 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.

JackyBoy

Member
Feb 4, 2017
104
1
18
Hey there, is there a way to make a skript on when a player does /rp it will download the Resource pack for them?
 
There is a way using MundoSk Packets not sure how it works
 
Hey there, is there a way to make a skript on when a player does /rp it will download the Resource pack for them?
I think you need MundoSk, here:

code_language.skript:
command /rp:
    trigger:
          send resource pack from "yoururl.com" to player

on packet event play_client_resource_pack_status: #Need MundoSK and ProtocolLib
    if "%""ResourcePackStatus"" pinfo 0 of event-packet%" = "DECLINED":
        kick player due to "&cYou need download the resource pack for stay playing here ;)"
 
Last edited by a moderator:
Thanks, but when I add that other plugin (MundoSK) all the Sk files dont work so I removed it and removed line 5 down yet it still does not work
 
Thanks, but when I add that other plugin (MundoSK) all the Sk files dont work so I removed it and removed line 5 down yet it still does not work
We need the error, server version, plugin list, etc.
Also do you have ProtocolLib?
 
My server is 1.10 and yes I do have ProtocolLib
[doublepost=1488046813,1488046697][/doublepost]http://prntscr.com/edadwu
Try this:

code_language.skript:
command /rp:
    trigger:
        send resource pack from "yoururl.com" 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 ;)"
 
Try this:

code_language.skript:
command /rp:
    trigger:
        send resource pack from "yoururl.com" 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 ;)"
http://prntscr.com/edahmx
 
Status
Not open for further replies.