Resource Pack Listener

Discussion in 'Plugin Development' started by spy85, Dec 1, 2013.

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

    spy85

    Is it possible to do something when a player clicks either yes or no when prompted for the server resource pack? Is there some sort of event for this I can handle?

    Thanks so much!
     
  2. Offline

    fireblast709

  3. Offline

    maxben34

    No there is no way to get the player's texture pack that they are currently using either, so it would be impossible to tell if they clicked the yes or no button that way either.
     
  4. Offline

    The_Doctor_123

    fireblast709 maxben34
    [​IMG]
    That's not 100% true, you guys. If the person says "yes" to the request, the server will have to upload the texture pack to the client. That means, there must be a way with intercepting packets.
     
    spy85 likes this.
  5. Offline

    fireblast709

    The_Doctor_123 Nope, the server sends the client the URL. Then the client asks the user whether to use it or not. If yes, then the client uses the URL to download the pack.
     
    spy85 likes this.
  6. Offline

    The_Doctor_123

    Ah, I thought texture packs was came from the local system, my bad.
     
  7. Offline

    maxben34

    I do have to give you props for that Phoenix wright reference (I <3 Phoenix wright)
     
  8. Offline

    spy85

    Thanks so much for the help guys I appreciate it.
     
  9. Offline

    DerekZil

    Bump. xD
     
  10. Offline

    Minnymin3

    See above. The question has been answered (its not possible)
     
Thread Status:
Not open for further replies.

Share This Page