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
@Sonorpearl
Understandable, I suppose. I'll think on it and probably implement it when I have a chance; no idea when that will be though, honestly. I have little free time lately trying to make ends meet.
Can you add Permissions that allows you to choose and see that Texturepack only with texturepackmenu.texture.<texture>. For some reasons I need privat Texturepacks or X-Ray Texture Packs only for Admins and so on.
@EMOberger
Should pretty much work. TexturePackMenu sets player texture packs when their Spoutcraft client is validated right after logging in, and when they actually select another texture pack from the menu. Those are the only times it does so. Of course, that being the case, players could probably override the region's texture pack by selecting one from the menu.
Essentially though, since I don't use that plugin, your best bet would be to try it out yourself.
Would regios still be able to force a texture pack per region? even if the texture pack isn't on the list?
@WGMasterMPH
There are a couple of possibilities.
1. It has to be a working direct download link. It also needs to be on a stable host which will consistently allow direct downloads. Be sure to test each link in your browser to make sure it downloads without bringing up a page. Most f'ree file hosting sites are a bad choice for reliable direct download links which are expected to always work without IP download limits. Since you're hosting a Minecraft server, you might consider running Nginx or Lighttpd and hosting the files yourself on your Minecraft server.
2. For whatever reason, certain filenames don't seem to work well. I'm pretty sure it's a Spout issue, though I haven't fully investigated it so I can't swear to it. I had this problem recently with Mixcraft and Dokucraft High. The solution was to rename the files, getting rid of spaces and any non-alphanumeric characters like "+" or spaces or such.
I think it may be possible to get it to read the files from the plugin data folder instead of having to host them somewhere. I haven't had time enough to look into it yet, but I hope to do so eventually.
New problem: Not all texture packs work for me, here is the config:
Tried:
Worked:
Didn't work:
Terraria 1.1 and DeepSpace work if I put them in the texturepacks folder and choose it in the Minecraft Menu.
If I use JoliCraft on the server with this plugin and rename DeepSpace to JoliCraft in the texturepacks folder, it delets it.
Is my config wrong maybe?
@Brettflan Just changed authenticate to true and it works now. Thanks!
@Sonorpearl
Probably not, sorry. Just don't have time for it. For my own server, I list 20-something texture packs which I sort primarily by texture size (16x, 32x, 64x, etc.) and secondarily by file size.
@WGMasterMPH
If your client is authenticated by the Spout plugin on the server end, you'll see a message like this in your server console/log within a few seconds of logging in:
[INFO] [Spout] Successfully authenticated <yourname>'s Spoutcraft client. Running client version: 1000
This plugin goes by whether Spout indicates the player in question is running the Spoutcraft client or not.
Doesn't work for me, if I type /texture it tells me I need Spoutcraft, but I'm already playing with Spoutcraft. No error in Console.
Played on another server first, and there it worked.
Any ideas?
Could you add configurable Categories? For a better Overview? Image, if you have 20 or more Texture packs what a mess it is. ^^
Yeah. I'd recommend everyone carefully read the notes at the top of the default config which covers issues like that, before even modifying the file.
@Brettflan
I found the error
Edit - Noticed the doku error on my part, fixing that up and will report back if it works
Edit 2 - Yeah, it was a mistake on my part when naming the texture packs in.
@Brettflan
The only possible thing could be
Does this have anything to do with no permissions been used at all?, as I have tried as a normal and op, but not with permissions
@Tencao
That's the command info stored for use by anything that needs command descriptions. Not sure why that would be showing up. Are you getting any kind of error message in your server console/log when you try the command? If not, I have no further ideas beyond temporarily removing other plugins to see if another one is interfering.
I'm also having the same issue, i've setup the config correctly, but /texture just brings up the "texture - show the texture pack choice menu"
@Nightsaver341
Again, details. What didn't work specifically? Assuming you're using a non-default texture pack to begin with (otherwise you'd see no difference), does choosing "Default Pack Copy" from your list not work? Does it pop up a message indicating it should have been changed, or does the menu just close and you get nothing else, or what? Details.
No sorry that did not work.
@Nightsaver341
Of course with your config the first option is "player choice", so that is the default. That one won't change the player's texture pack. You can remove it to force the player to use one of your choices.
So if you use the /texture command and select one of the two texture packs you have listed, does that work for you or not?
The only output in the console was [TexturePackMenu] version 1.0.6 loading... I know it doesn't help but that's the only thing that showed up. I will give you as much detail as I can. I've loaded your plugin into my server. When I log on the gui come up fine also in the right top corner shows says it changes to the texture pack. The texture pack just stays on default.
Here is a link to the config file I used. Link Removed: http://www.mediafire.com/?yqihmnwczk1s25j
@Nightsaver341
From what I can see (without it in a code block it's a little hard to tell) that looks like it should work. I checked your Dropbox link and it seems to be a working direct download.
What exactly is the problem you're having? Some details beyond "it's not working" would be useful. Is there any error output to the server console/log?