TexturePackMenu
Download Latest Release
Source available on GitHub (open source, pull requests accepted)
View Changelog
IMPORTANT NOTE: Spout is required and this will only work for players using the Spoutcraft client.
Description
This plugin will override the player's normally chosen texture pack while they are on your server. They will be set to a default texture pack of your choice when they first connect, after which they can choose from a list of available texture packs you have selected. After they choose a different texture pack from your list, their choice will be remembered on subsequent logins.
This will allow you to prevent players from using transparent texture packs to cheat (finding ores and hidden chests easily), and allow players to switch between popular texture packs without leaving the server.
Command
/texture - show the texture pack selection menu. In-game players only.
/texture reload - reload the texture pack list from config.yml.
/texture reset <player> - reset the texture pack for the specified player to the server default. This can be useful if a player selects a texture pack which is larger than their allocated memory can handle.
Permissions
These are "superperms" (built-in Bukkit) permissions, so older Permissions plugins will not be able to affect them.
texturepackmenu.texture (granted by default) - allows the use of the /texture command. Since it is granted by default to all players, if you don't want certain players to be able to use it, you will need to revoke the permission.
texturepackmenu.reload (default Ops and server console only) - allows use of the /texture reload command.
texturepackmenu.reset (default Ops and server console only) - allows use of the /texture reset <player> command.
Setup Info
To require that players use the Spoutcraft client on your server, you can set this option in Spout's config.yml file:
ForceSinglePlayerClient: true
You will need to edit the default config.yml for this plugin to contain a list of texture pack names and download URLs that you have chosen. Editing the file should be pretty straightforward, as it is formatted for ease of modification. You can see the default config.yml file here.
It is even possible to allow players to keep their own texture pack by default (instead of overriding it) and essentially just use the plugin to showcase other texture packs.
If you appreciate this plugin, you are welcome to .
Thanks to the following people who have been gracious enough to donate: Jeremie Swartz
cant get it to work can you help? http://pastebin.com/AfnazJpH
could you give a list of sites can be used to host the texture packs?
@Luxius96
Right you are, I'll update it momentarily.
@Ronzi3
Do you have a really large texture pack set as the default and/or have they selected a really large texture pack? Also, do they have a slow internet connection or a slow connection to your server?
hi, your plugin is really nice... I'm have an issue thou, when people enter to the server they spawn like falling down to the void for 20 or 30 seconds, and sometimes they get disconnected due to "time out"... do you know why is this happening? is there any way to fix it?, thanks for your effort! hope you can keep working on this great project.
Brettflan you need to update the default.zip please
@Brettflan
Finally got it, thanks! Plugin is great!
@HavenOfKairos
Set the first texture pack in the list to an actual texture pack (instead of Player Choice), then follow the Setup Info above.
I'm confused, please help. How would I set up the configure if I wanted to force a texture pack to be used?
This is awesome,thanks!
@PureTryOut
Sorry, not possible. Spout provides the controls, and more importantly the ability to set and force a texture pack on the remote client through Spoutcraft.
Is there somehow a way to make this without needing Spout? I've used Spout but we now have a modded server with several custom mods, and so you can not join with Spoutcraft, but we want this plugin! Maybe use a different API which makes this GUI possible, or if there is no API for that except for Spout, make it possible with just text in the chatbox.
I have an unfortunate announcement: since I've just closed down my own Minecraft server for various reasons (mostly boiling down to me not having enough time to devote to it), most of my motivation for working on Bukkit plugins is now gone. I most likely will not be actively developing any plugins I'm involved in from this point on. However, I still plan to maintain all plugins as needed for new Bukkit releases and minor bugfixes and such, I just probably won't be adding any major new features or answering much in the way of support questions.
The source will remain available for all plugins, and I'd welcome anyone to take up active development. For Factions, Cayorion / Olof (the original author and still constant contributor for the plugin) will of course remain to develop the plugin and will continue to run the Massivecraft server.
If anyone really wants a particular feature added to one of the plugins I've worked on, I will still consider doing sponsored feature requests; no promises, of course.
Also, for Factions, I plan to try to make sure the 1.7 branch is ready before halting active development on it. There will also be at least one more 1.6.x release before then, probably quite soon. So, this announcement is a bit in advance of me ceasing active development on Factions.
Sorry, guys. Again, I will at least try to bugfix and maintain my plugins for Bukkit updates, but that's about it.
@Brettflan
Edit: This still works, and is perfect. However, please do an update just adding a feature or so and confirming it works with 1.2.5. Hate to see the date - it is a misconception.
@ndshomebrew
There can potentially be lag for a person when they log in or choose another texture pack if they don't already have a copy of it stored locally.
Of course, providing massive-sized texture packs isn't necessarily the best idea.
one question: doesn't this make the server laggy because users are loading texturspack from your server.
@Fyreside
Support for texture pack files located in the plugin folder (instead of using an URL) is something I've been meaning to look into.
A progress bar or anything like that is pretty much out of my hands; I don't think it's possible for a plugin to monitor the transfer of a file to a client. I certainly could be wrong, though.
Hi Brettflan, been using this plugin for a while and really like it. We implemented it as a way of stopping texture pack xrayers and its been great. Its also helped a lot of players who never tried other texture packs to see what else is out there.
Currently running apache on the same box as the server to serve up the files. And yes we find the login lag to be present, but understand that data transfer will never be instant and like the way it verifies packs.
Two requests. If possible, simple local file addressing. eg put a texture pack zip into the plugin folder and address it locally and scrap the need for a server. Not sure if it can be done but it would free up some memory on our box for the game.
And the other is an in progress bar or something that comes up on screen to confirm whats happening. Currently If someone selects a large pack it just seems like nothing is happening for a while.
Anyway thanks for keeping it up to date.
@dunem666
What texture pack in particular, where do you have it hosted, and how large is the file?
@Brettflan
still suffer epic lag when people join to a default texture paxk of more than 32x
the entire server will time out during the texturepackmenus jobs on joining.
Released v1.0.7
Primarily a compatibility release to support the upcoming CB 1.1-R5 and above.