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
Hey! Awesome plugin! Could you add https://dl.dropboxusercontent.com/s/dbgs9e4774b0men/Timmybruz55%20Pvp%20Pack%20V2%201.zip to the default config, then update the plugin download? I am having problems with it working :c
Add a feature to turn back to default texture pack and ill be happy :)
Hi there, is there a way to restore textures to default? Even if I use a texture pack close to default it takes away the skin textures. The reason I ask is because I use it for arenas for a cool effect, but then some people want to go back again. :)
If I was you, I should change something in the source. Line 154 and 155.
I should change that, because when there's an error and the server will give back something else then "null" but not the else you wanted to (the else that says that the texture pack is in the .config) the plugin could Crash I guess... If you just swap it and modify (don't know how to write that srry), the server will look if it's in the .config folder, if not (else) the server will give say ("I'm sorry, but the texture pack was not configured or an error occurred"). It will make the chance your plugin/server will crash due an error smaller.
But if you want it to make it more safe, you could try something like this I guess
if (tpackURL == true) change the back if (tpackURL == false) sendMessage(The requested texture pack is not configured yet"); else (just something else dunno what to put here..) sendMessage("An error occured, try again later");
I'm just a few days into programming, making my own plugin also, so if I'm wrong, deeply sorry for that, but I want to help you!
Goodluck!
Hakhaktak
Feature Request - /reload command?
@MajkY5554
I double that, we need a command to stop us from using the other texturepacks.
Can you add command to default texture pack? When user used the command, command will delete him from config?
It doesn't work, I didn't change the config
Can you make the messages configurable
@catprowler
I'm working on this, and it'll be done soon.
Just for all of your information, version 4.1 of this is not compatible with versions below 1.6.x and has not been tested on 1.6.x
@catprowler @o0Julia0o
Still not implemented, because I've been busy with school. For now, dissabling server textures works.
Also, a new version has been released, with 1.7 support, thanks to kulboy121.
This is exactly what I've been waiting for. It is awesome, but how do you get back to Minecraft default texture? Thank you
please add this in new version:
"with the actual version, everybody can make a sign with a texturepack-changer-function. But if you want to only can change the texturepack on a fix position, it would be nice, if only f.e. the admin could create a functional texturepack-changer-sign."
dev.bukkit.org/bukkit-plugins/texturepackchanger/tickets/6-only-usergrup-x-can-create-texturepackchanger-signs/
@jtjj222
my texture pack lever loads of the default ones that are iin theconfig
@PixelatedSand
http://pastebin.com/FDXHYSLZ
You forgot to add url: in front of the url.
@jtjj222
http://pastebin.com/yB7nrkd2
@PixelatedSand
Can I see your config file? They can be finicky at times :P
It's Telling me i Didn't set the url for the texture pack.. when i did.
@fungreenfox
Basically Mojang removed server texture pack support and never re-added it for resource packs.
@robotnikthingy
Those links you mention, are not there anymore. What is status, when we say 1.6.2?