Help with Spectate Packets

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

Orbinfog

New Member
Oct 6, 2020
6
0
1
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
 
You can try to search if there is any solution in java and then you can try translate it to skript.
 
Status
Not open for further replies.