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.

Help with Spectate Packets

Discussion in 'Skript' started by Orbinfog, Dec 19, 2022.

Thread Status:
Not open for further replies.
  1. Orbinfog

    Orbinfog New Member

    Joined:
    Oct 6, 2020
    Messages:
    6
    Likes Received:
    0
    Hi there,
    I am trying to make a function where I can send a packet to the player to give them different visions (e.g. creeper or enderman vision)

    The problem is I have no idea how to. I have many Skript add-ons along with Skript-Packet and Skript-Reflect, so I am able to send packets. I can send a PacketPlayOutCamera packet successfully (https://minidigger.github.io/MiniMappingViewer/#/spigot/server/1.15.2/PacketPlayOutCamera), but it only spectates another entity. I need it to be able to give the player control of themselves but have the vision of a specified creature.
    https://www.spigotmc.org/threads/how-to-give-player-enderman-creeper-spider-sight.570439/
    https://www.spigotmc.org/threads/creeper-vision.290323/

    Cheers,
    - Orbinfog
     
  2. Pierrelasse

    Pierrelasse Active Member

    Joined:
    Apr 20, 2022
    Messages:
    116
    Likes Received:
    4
    You can try to search if there is any solution in java and then you can try translate it to skript.
     
Thread Status:
Not open for further replies.

Share This Page

Loading...