1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Need help with skript-reflect packet

Discussion in 'Skript' started by Bram van Es, May 31, 2022.

Thread Status:
Not open for further replies.
  1. Bram van Es

    Bram van Es New Member

    Joined:
    Sep 21, 2020
    Messages:
    8
    Likes Received:
    0
    Trying to figure out how to know when someone starts to mine a block, aborts it and finishes mining with the PacketPlayInBlockDig, and then run some code for it giving me control over the amount of time it takes to mine the block.
    I've looked online for days for some help in understanding it but I still can't figure it out.
     
  2. TFS_Mads

    TFS_Mads Active Member

    Joined:
    Oct 16, 2020
    Messages:
    50
    Likes Received:
    7
    Do you use ThatPacketAddon or MundoSK or do you want to do it with only skript-reflect?
     
  3. Bram van Es

    Bram van Es New Member

    Joined:
    Sep 21, 2020
    Messages:
    8
    Likes Received:
    0
    I'm using skript-reflect for 1.18.2, the other 2 don't work.
     
  4. TFS_Mads

    TFS_Mads Active Member

    Joined:
    Oct 16, 2020
    Messages:
    50
    Likes Received:
    7
    Do you have protocollib on your server to help with the packet stuff? If not you need to use NMS for packets.
     
  5. Bram van Es

    Bram van Es New Member

    Joined:
    Sep 21, 2020
    Messages:
    8
    Likes Received:
    0
    I do have protocollib, but do you maybe have an example of how to use NMS for block dig packet? I see all these general examples but I can't make out how to put it in there.
     
Thread Status:
Not open for further replies.

Share This Page

Loading...