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
@Brettflan
Thanks I got it
@commanderAIK
Since you're running a Minecraft server, you can run a webserver (Nginx or Apache or Lighttpd or whatever) on the same machine and host the files through it, as an example.
You might also be able to host through Box.net or similar, though you will need a working direct download link.
@Brettflan
Thanks, but can you give me an example of where that might be? Sorry, but I'm a little new to texture packs and spout.
And yes, that was a server-domain
@commanderAIK
You host more texture packs somewhere that allows direct downloading, and add to the list in config.yml.
So how do I add texture packs? I only see default, player choice, and default minecraft copy. I've been on spout servers with more than this. how do I put packs in the menu?
@HeavenlyBlade
That's how the default config is set up, actually.
Could you make it so that users could also choose from their own texture packs? I've been looking for this function in Spout for a while now.
Alright, just seems to only happen when I have this plugin enabled. I'll keep testing to make sure though and let you know.
@Girgensplat
Neither of those common issues has anything to do with this plugin.
When I log into my server, I'll randomly get a "Internal Exception: Java.net.socketTimeoutException: Read timed out" on my client, then I'll sometimes as well get "[WARNING] Can't keep up! Did the system time change, or is the server overloaded"
I have re-created the config file, but it's still happening. Here is my Config file
http://pastebin.com/nGTxTPC4
This started happening more after the recent spoutcraft update.
@Brettflan
Okay, it's all good now, I figured out where the problem was coming from. :) I just had to re-generate a file with the 1.1-R3 version. I had simply copy-and-pasted my 1.0 config. files and it seems it was causing the problem. ;)
Thanks
@d3aThW1nG
For all I know, your other plugins which interface with Spout might not use SpoutPlayer.getName(); this plugin does.
Out of curiosity, does it happen for all players connecting to your server, or just one/some?
I'm using SpoutPlugin 721 on my own server and don't have any such problems myself. No problems on my VM test server either.
@Brettflan
I'm using SpoutPlugin 721 and here is my config. files for config.yml:
http://pastebin.com/SiAfDUgX
My other SpoutPlugins don't have any problems :/
@d3aThW1nG
The error indicates Spout is returning a null value for the name of the player who is connecting.
We get their name from Spout to see if they've got a texture pack already chosen, so we can set it (or the default if they've never logged on before) there at login.
So... maybe make sure you've updated your Spout plugin. I've never seen that error myself, so it's a new one to me.
@Brettflan
Hi,
I'm using TexturePackMenu 1.0.6 and when a new player connects I'm getting this error message:
http://pastebin.com/gevFacJE
Is there a solution?
Bukkit 1.1-R3.
@def1s
The first texture pack in the list is forced. It does only work for Spoutcraft clients though, so you'd need to require all players to use the Spoutcraft client. See the "Setup Info" above.
That's exactly what I do on my own server.
Is there any way to force all clients to use default texture pack ? I would like to prevent x-ray texture packs with that.
I've now tested on recommended build 721 of SpoutPlugin in CraftBukkit 1.1-R1 and it's working fine for me.
EDIT: and running on the current latest Spoutcraft client build 1081, for further reference.
@Sonorpearl
I haven't tested it with the latest dev build, so I don't know for sure. Has anyone else tested it?
Is TexturePackMeno broken with the newest and seemly last dev build of spoutplugin. Because no gui is opening when I type Texture with the Spout update.