Texture Pack Gallery
Texture Pack Gallery
Description
This plugin adds the ability for your players to change their texture pack in game without having to use any commands. You can create a gallery of texture packs which users are then able to apply for an optional fee
The maps above each sign are added automatically when you create the sign, the image used is the pack.png from the texture pack.
Bug Reports / Suggestions
If you find a bug, encounter a problem or have a suggestion, please fill out a ticket via the Tickets link above. I do not have the time to read through the comments section, any comment that fits the previous three categories will be ignored.
How to Create a Sign
Once you have added your texture pack with /tpg set you can use it on a sign. The name of the pack should go on line 2 and the price on line 3, note that for the price to have an effect you need to have Vault installed too. The price is optional so you can still use the plugin without Vault.
Commands
/tpg list
Used to show a list of all available texture packs, these are the names that can be used on signs.
Permission: texturepackgallery.pack.list (defaults to OP only)
/tpg set <name> <url>
Used to set a new texture pack (so that it can be used on signs). The name should not contain spaces and the URL must be the direct link to the .zip file. When you use this command the plugin will attempt to download the pack.png file for the texture pack, this means that you might not see the success message right away.
Permission: texturepackgallery.pack.set (defaults to OP only)
/tpg remove <name>
Used to remove a texture pack from the available ones, this will also disable the pack for any users that have it selected.
Permission: texturepackgallery.pack.remove (defaults to OP only)
/tpg info <name>
Used to display information on a specific texture pack, currently this only shows the link.
Permission: texturepackgallery.pack.info (defaults to OP only)
Other Permissions
texturepackgallery.sign.create
Allow the player to create texture pack signs. Defaults to OP only.
texturepackgallery.sign.remove
Allow the player to remove texture pack signs. Defaults to OP only.
texturepackgallery.sign.use
Allow the player to use texture pack signs. Defaults to everyone.
Contributing
Contributions to the project are very much welcome, if you have a feature that you want implemented and know a nice way to do it then consider forking the repo and submitting a pull request. These will be accepted as long as the following simple guidelines are followed.
- Do not edit the structure of the pom.xml file, feel free to add a dependency if you need it but the formatting and structure should not be changed.
- If you are exposing a new API method, add a JavaDoc comment to it, but don't over-comment internal code.
- Follow the existing code style, don't antagonise over every space though !
All dependencies that are used are now available from a public Maven repo, so you don't have to worry about building several other projects just to add a simple change any more.
Source Code
Available on GitHub.
Dev Builds
Changes Since Last Release
Download
Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.
http://bukkit.jacekk.co.uk:8000/job/TexturePackGallery/
Hello I Got This Plugin On My Bukkit Server And When I Try To Do /tpg set It Does Not Do Anything Heres A Screenshot Of The Command Im Doing http://tinypic.com/r/2mq9opk/5
@darkness1999
you can use tinyurl to make them shorter :) Its easy and it works for me :D
My problem: Some of the texturepack-download urls are to long! So I want you to add a feature that I can add my urls also in the config!
ERROR HEEELP:
3:27:34 PM [SEVERE] Could not pass event SignChangeEvent to TexturePackGallery v0.2-SNAPSHOT org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at net.minecraft.server.v1_5_R2.PlayerConnection.a(PlayerConnection.java:1369) at net.minecraft.server.v1_5_R2.Packet130UpdateSign.handle(SourceFile:46) at net.minecraft.server.v1_5_R2.NetworkManager.b(NetworkManager.java:292) at net.minecraft.server.v1_5_R2.PlayerConnection.d(PlayerConnection.java:110) at net.minecraft.server.v1_5_R2.ServerConnection.b(SourceFile:35) at net.minecraft.server.v1_5_R2.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_5_R2.MinecraftServer.r(MinecraftServer.java:580) at net.minecraft.server.v1_5_R2.DedicatedServer.r(DedicatedServer.java:225) at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:476) at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:409) at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573) Caused by: java.lang.IllegalArgumentException: Cannot spawn an entity for org.bukkit.entity.ItemFrame at org.bukkit.craftbukkit.v1_5_R2.CraftWorld.spawn(CraftWorld.java:1022) at org.bukkit.craftbukkit.v1_5_R2.CraftWorld.spawn(CraftWorld.java:792) at uk.co.jacekk.bukkit.texturepackgallery.TexturePackListener.onSignEdit(TexturePackListener.java:147) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 14 more
@ZeusAllMighty11
:p thanks.
This is, amazing. <3
@NuggetFace
It looks like it's not able to download the pack so it could be the link you gave it.
@wide_load
Is this an issue with my server/texture pack or a plugin problem?: http://pastebin.com/fFCM7Ywy
@NuggetFace
Ha, never seen that before. It must have been the texture pack you used :/ All this does is send the link to the client.
Haha it just made all of the textures go crazy, sandstone for torches cactus for leaves etc. It looked amazing but it wasn't what I wanted ;)
@porthos203
Need reply ???
neeed update !!!
@DamianJobs
update to 1.4.7
Not working for me... 1,4,6 R0.3 and your last build on jenkins
@DerAhava
Give the dev build a try, that should have a fix for that included.
@iAdam____
Thanks ! Also see above :P
Epic plugin!
EDIT: @DerAhava Yeh, same.
(Still an epic plugin :P)
When I try to add a pack i get this error:
http://pastebin.com/xx99FPxt
@jtjj222
If you are copying the entire idea then I'd rather you contribute to this instead, if you were talking about the use of item frames then no go ahead :D
@wide_load Wow, awesome. I had made a similar plugin a while back that let's people change their texture packs, however the item frames above is a great touch. Do you mind if I steal the idea? :D (ps: love the php tut's, keep them coming!)
It would be awesome if you could add /tpg clear (or somthing similar), that just erases your name out of the file, so players can reset their textures back to default.