get texture pack

Discussion in 'Plugin Development' started by PluginMaker, Aug 7, 2012.

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

    PluginMaker

    So, I want to make a plugin which dosen't allow you to use another texture pack other then the server's one but I have no idea how to get the texture pack and how to check the user's texture pack. Any ideas? :)
     
  2. Offline

    Anwarrex

    I don't think you can actually check the user's texture pack, because:
    1st: The user's client never send any information like this.
    2nd: You could make it work, but the user's must allow you to see their texturepacks and then you probably need to create a Minecraft mod for it.
    And, making a plugin allowing that only allows user's to have server texture pack's is pretty bad because some people want their texture pack.
     
  3. Offline

    PluginMaker

    But I saw this plugin called iZone that can change texture pack once your in certein zone. I wanna do the same just for the whole map.
    how can I do that?

    btw: the plugin is for a certein server that asked me for it.
     
  4. Offline

    hammale

    iZone must use spout or some other sort of client mod...
     
  5. Offline

    PluginMaker

    oh realy? xD
     
  6. Offline

    maxpowa

    Technically, there should be a method for this soon, as with 1.3.1 the server can detect if you are not using the server's texture pack and recommend for you to use it... There must be a packet or something that the client sends to the server, allowing the server to discern if you are using the server's texture pack or not.

    EDIT: I'm saying as in vanilla, not spoutcraft or anything else.
     
  7. Offline

    McLuke500

    I might be wrong but it just sends the client the link and you can accept or decline and the server doesn't know which as it seems unessery for the server to know.
     
  8. Offline

    maxpowa

    But the server won't send the link if you already have the texturepack, won't it?
     
  9. Offline

    Giant

    You can send a texture pack to the client, you can how ever NOT enforce the pack. What will happen is the client will get a question for if he wants to allow the TP to be downloaded. If the users says "no" then that's that and you can't stop him doing so.

    See here for more detailed information.
     
  10. Offline

    maxpowa

    Using something like this http://dev.bukkit.org/server-mods/notextures/ you can enforce default textures though. Also, using something like you said Giant, you could just have 3 or 4 locations hosting the default tp, and then cycle through to make people more likely to press "yes"
     
  11. Offline

    Giant

    Or to just leave your server annoyed by so many questions about the texture pack....
     
Thread Status:
Not open for further replies.

Share This Page