Question Texture per world

Discussion in 'Bukkit Help' started by KennyKat, Apr 2, 2017.

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

    KennyKat

    Hello! I was wondering how to have a texture pack work only for one world. For example, say I have world1 and world2, and I only want the texture pack to load on world1. How would I do that?
     
  2. Offline

    Zombie_Striker

    @KennyKat
    You would have to set the player's resoucepack every time they change worlds. Listen to PlayerChangeWorldEvent, and if they are going to a world with a different resource packet, set their resoucepack using Player#setResourcepack.
     
  3. Offline

    KennyKat

    Sorry, I don't understand?
     
  4. Online

    timtower Administrator Administrator Moderator

    Zombie_Striker likes this.
  5. Offline

    KennyKat

Thread Status:
Not open for further replies.

Share This Page