Sending the right packet to a player

Discussion in 'Plugin Development' started by Minesuchtiiii, Sep 28, 2017.

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

    Minesuchtiiii

    So I want to add something like a zoom to the players view, I tried it with the slow potion effect, but when added you cannot / can barely move, and I don't want that. Does anyone know
    1. how to send packets to a player
    2. which packet I have to send?

    Thanks!
     
  2. Offline

    timtower Administrator Administrator Moderator

    @Minesuchtiiii Packets are NMS or ProtocolLib, but I don't think that there is a zoom packet, just a potion effect which causes the zoom and the slowness.
     
  3. Offline

    Minesuchtiiii

    So it isn't possible to "fake" the zoom, like giving the player the zoom but not the potion effect? uff
     
  4. Offline

    timtower Administrator Administrator Moderator

    Not that I am aware off.
    I do need to add to that that I don't know everything! So I could be wrong.
     
  5. Offline

    Minesuchtiiii

    Alright, I'll search a bit on the internet. Thanks for answering!
     
Thread Status:
Not open for further replies.

Share This Page