Force Resource pack

Discussion in 'Plugin Development' started by pablo67340, Apr 16, 2014.

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

    pablo67340

    So i have been working on a plugin that forces a resource pack onto a player. Basically the server will ask to download the texture pack. If they click no, then move they get kicked. If they click yes the resource pack downloads from a webserver being hosted by the plugin. This is where the resource pack will be downloaded from. When the resource pack gets downloaded it adds the user to the downloaded list. When the player moves it checks the downloaded list if it contains the players name, else they get kicked. Pretty basic logic. One thing, The webserver works (i hope) But for some reason the resource pack isn't making it to the client. I am building against the latest dev build of bukkit 1.7.
    If i navigate to the webserver link it returns the right code. it sais" Mc Webserver by pablo67340" Just wont download the texturepack. Also wont kick me, But i just never received the option to download.
    Here is my classes:

    I have them named exactly as they are in my project.

    "Main" class: http://pastebin.com/PEkEEzYm

    "FTListener" class: http://pastebin.com/kpueGqTx

    "Texture Sender" class: http://pastebin.com/WkCZzpd6

    "WebHandler" class: http://pastebin.com/n4qvL3VH

    "WebServer: class: http://pastebin.com/TFpwhiSL

    Sorry about the size of the plugin. I tried to provide all my classes in the project so a developer can simply recreate the plugin in their eclipse. Any help is appreciated. As of now i am stumped and have no choice to ask for help!

    Bump - Still need help!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 7, 2016
Thread Status:
Not open for further replies.

Share This Page