TexturePack Changer
Works with 1.7!
About
Ever wanted a way to let your players choose what texture pack they wanted, without having to go through the hassle of downloading and installing it? Of course you didn't, you are a mean admin who likes to see his players suffer! For their sake, I wrote this.
Usage
Just drop the jar file in your plugins folder and restart your server! A default configuration file is created for you, with a few texture packs already configured and ready-to-use.
Commands
/changetp <texturepack name> Changes your texture pack. Requires TexturePackChanger.change or op.
/listtp Lists all of the textures in the config. Requires TexturePackChanger.list or op.
Signs
To let players easily change their texture pack, create a sign with the first line saying [TexturePack] and the second line the name of the texture pack. Requires the 'TexturePackChanger.change' permission. For example, if I wanted to make a sign that would enable Cellcraft, I would make a sign that said:
[TexturePack] Cellcraft
If you know of a texture pack that I should add to the default config, please let me know!
Editing the configuration file
Editing the config file is a snap. Make sure that you have started the plugin once before, so that the default config file is generated. The structure of the configuration is as follows:
Players: playername: texture: texturepackname Textures: texturepackname: url: http://path.to.texture.pack.zip
If you have any questions, let me know!
For texture pack creators
I will include any texture pack in the default config file to make it easier for users to get up and running with this plugin. This is a great way for you to get more publicity for your texture pack, and a great way for users to find your texture pack. If you have a texture pack included by default here, and you want it removed, leave a comment and I will remove it immediately.
Help out
- Add a feature or fix a bug: Soruce code
- Help me write a better about page
- Request a feature by making a ticket
- Report a bug by filing a ticket
Change Log
Version 4.1
- 1.7 support, thanks to kulboy121
Version 4.0
- Added permissions
- Added commands
- Moved from Github to BitBucket
Version 3.0
- Added 1.4.7 support
- Bukkit added a texture pack api in 1.4.7, so now I don't have to use nms code (to send the packets directly)!
- This update should work for any future versions of bukkit past CB 1.4.7-R0.1. For anything before that, use a different build of this plugin.
Version 2.0
- Added 1.4.6 support
- Made some usability enhancements
- Fixed a config write issue
Version 1.1
- Added Rustica, Ravencraft, and Forgottenlands to the default config file. Removed the default entry.
- Fixed the issue with standing signs not working.
- Made the first line allow any type of capitalization.
- Fixed an issue with the config being overwritten
Version 1.0
- First release
Version 4.0 released!
if the texturepack-file in texturepacks-mp-cache-folder is writeprotected, it shouldn´t be updated if the texturepack-file is clicked on a sign/ or last acitivated texturepack.
thx
julia :)
if the texturepack-file in texturepacks-mp-cache-folder is writeprotected, it shouldn´t be updated if the texturepack-file is clicked on a sign/ or last acitivated texturepack.
thx
julia :)
Just so you know, minecraft has about a 10 MB limit to the texture pack. If a file is over (based on my experiences) 9.38 MB in size, the client will reject the download. I tried Master_Ezio's file after taking some things out and it downloaded successfully.
It may be in your interest to post this on the main post.
Thought you ought to know. Here is a thread with a discussion:
https://mojang.atlassian.net/browse/MC-5238
@Master_Ezio
Hmm... I think the size might just make it take a while. What happens if you leave it download for a couple minutes?
Sorry my bad I should have included more info in my op.
Yes I tried the CellCraft 1.7mb and the ForgottenLands 1.4mb and they both download and run no problems, that's why I wasn't sure if the size of 12mb might have been a factor.
I have just uploaded the CellCraft to the location of my texture pack and renamed it to the name of my pack and tried, it downloaded no problems and run, it seems its only my texture pack.
The link is fine, the url in the config is fine, it appears to not like my 12mb texture pack, it's 32x32 hd patched but the contents of the XXX.zip shouldn't make a difference to it downloading, which is where my problem lies.
@Master_Ezio
Do other texture packs work?
@alexl2005
You can't reload the plugin. You need to restart the server.
Help please, I get the screen message, "Downloading Texture pack Making Request... 100%" screen sometimes freezes on the message but esc key releases it.
In my folder "texturepacks-mp-cache" I have the texture pack name that I called for but it is 0KB I delete it and try again and the same thing happens over and over, I have tried a direct download link and a dropbox link both do the same thing.
Texture pack is a little over 12mb I have no idea if that is a factor.
Thank you and I hope you can sort this for me.
@o0Julia0o
That will be in the next version. School has been keeping me busy though...
@alexl2005
To help you, I need a screenshot of your sign and a copy of your config.
hey when i try to get a texture pack its said texture pack not found help!
hi, pleas add the normal default texturepack to the config. Or make a sign work, which says: [TexturePack] default
thx
Could you add the Jolicraft texture pack? Its by far my favorite!
https://dl.dropbox.com/s/ayymnanejdgaqyy/jolicraft.zip
Looking forward to that :-)
@HDfunctions
I will add it in the next update
@Infuscu
I will add both of those in the next update. For now, you might just want to add a link to the default texture pack: http://thefool76.com/minecraft/mods/default/default.zip
@Zoofule
Hd textures work, but they may be glitchy.
@sammyben
No, I can't make a texture pack forced. Minecraft only allows you to recommend a texture pack. I will look into adding gun_pack to the list.
could you add the texturepack gun_pack
Could you make a texture pack forced
can you please add hd texture pack support, (i am going to have a sign letting people know they need optifine or mcpatcher for the texture pack) and it would be awesome if you could
Is it possible to add a sign for the default texture?
Suggestion:
Make commands to change the texturepack. I imagine something like:
/texturepack [texture] <player>
Permissions:
texturepackchanger.texturepack
texturepackchanger.texturepack.other (which would allow you to use the optional name parameter)
The name parameter would be rather nice to have as it would allow us to hook the command up to commandblocks. I imagine something like:
/texturepack Cellcraft @p
.. and then hook it up to a button, or proximity detector .. whatever :-)EDIT:
A command like:
/texturepack list
world probably also be useful.Nice plugin! Texture pack suggestions: Soartex Fanver and Defscape