Solved Player resourspack

Discussion in 'Plugin Development' started by kingsofbart, Oct 9, 2015.

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

    kingsofbart

    Hello,

    If i set a resourpack from a player (with .setResourcePack) i can do that one time how can i change that?
    I can set the resourspack again when the player has been relogged.

    bye,

    Bart
     
  2. Offline

    mine-care

    @kingsofbart On player join event set the resource pack? i dont quite understand where you got confused. Can you elaborate a bit?
     
  3. Offline

    Zombie_Striker

    @mine-care
    The prompt only comes op once for a player. You can't resend it.

    @kingsofbart
    To do this, you would need to send the Packet Manually. Create the packet(There have been dozens of threads that cover this) with the link to the resourcepack and then get the player's craftplayer (Player.getHandle() and send it.
     
  4. Offline

    kingsofbart

    Thanks!
     
  5. Offline

    Scimiguy

Thread Status:
Not open for further replies.

Share This Page