Textile
Textile
Textile - Texture Pack Handler - No Spout Required
This is a plugin that allows the user to have multiple texture packs per server as well as created a web server to download display and send texture packs directly from the server.
Textile on Github
Commands
- /textile <List/Set/Preview/Revert/Download>
- Example: /textile Set {World/'default'} {FileName.zip}
- Example: /textile Preview {URL}
- Example: /textile Revert
- Example: /textile Download {URL}
- node: textile.command
Permissions
textile.command: description: Allows user access to commands children: textile.command.download: true textile.command.preview: true textile.command.set: true textile.command.list: true textile.command.download: description: Allows user to download a texture pack to the server textile.command.preview: description: Allows user to preview packages and revert to previous textile.command.set: description: Allows user to make changes to world textures textile.command.list: description: Allows user to list all available texture packs
Installation
Put the jar into your plugins folder.
Load up your server.
Put all associated Texture packs into the Textile Folder.
Use commands ingame or Edit the config.
Enjoy.
ChangeLog
v0.1
Uploading Functional Version
v0.2
Added Commands
Added Command permissions
Added Download ability
Added Preview ability
v0.3
Workaround for already packages in use.
Fix for configuration changes
Use urls for non hosted texture packs.
TODO
Adding Commands to set Texture pack per world instead of having to setup config.
Adding Permissions to determine who's allowed to download texture packs.
Create a default web page to display used texture packs and download links.
Allow users to download texture packs via Curse.
Allow users to download texture packs via Url from command
Allow users to sample texture packs before downloading them.
Configuration
Example: config.yml
HttpServPort: 2569 #All files must be in zip format.# #Default will be the the first texture downloaded# #Recommend matching your first spawn world and default# Default: PackName: http://dev.bukkit.org/media/files/614/196/sometexture.zip #Just put the filename example texturepack for texturepack.zip# world: PackName: http://dev.bukkit.org/media/files/614/196/sometexture.zip world_nether: PackName: TexturePack world_the_end: PackName: SomethingElse
Example location for file downloads.
http://{YourIP}:2569/{texturepackname}.zip
Video
By all means if some one wants to make a better video. Please do.
Plugin Will Break Every Bukkit/MC update.
Quote from Deathmarine:Warning: With the way that bukkit has changed this plugin will be broken on every minecraft/bukkit update. Considering it uses either a nms or craftbukkit hook at least once.
@B4krawi Might have something to do with the notice immediately above the comments section...
-If anyone else is feeling impatient, here's a copy of the jar built against 1.4.7_R1.1 and JavaSE 1.7
http://db.tt/AaZV8ghI
Two things to note:
This Doesn't seem to work with 1.4.7... any reason why?
This is the best plugin that handles multi-world support. Unfortunately it doesn't appear to work with the latest versions (as you note above regarding the nms hook), any chance (or interest) in making a new build that will work for 1.4.6-R0.3 or even 1.4.7? (doesn't 1.4.7 drop the nms hooks?!) I hope you stick with it, you have a great product here!
@jtjj222
I support this. These two plugins would go great together.
@Death_marine Your plugin and mine pretty much do the same thing, except your's also hosts the texture packs. I love the idea of hosting the texture packs, and I want to add it to my plugin, but I wouldn't feel right stealing such a great idea. I think that, for the sake of our users, we should combine our projects together. Pm me if you are interested.
Also, bukkit's adding a method to change texture packs. Hopefully that should fix the forwards-compatibility issues you are having :D (I miss the days when changing the texture pack involved packets and nms code, and there was no documentation whatsoever, so it was such a great accomplishment to dig through the source code and figure out how to change the texture packs. Now it's just too easy.)
Great plugin!
@bagheadinc
Got one for 1.4.6 but not for 1.4.5 because of the new methods.
Any chance for a 1.4.5-R1.0 or 1.4.6 update? :)
The only thing this is missing is implementation of WorldGuard regions. Go into one area and the texture pack changes. Go to another, and it changes back.
@Death_marine
I'm loving this plugin and it's nearly perfect. The only issue I see is that it won't set the proper TP on login.
Basically I'd like to to set the player to the creative world's TP if they login and are in the creative world, survival TP if they login the survival world, etc.
Currently it will also set it to the Default TP upon login. If a Default TP isn't set, it won't change the TP on login.
It's not the end of the world and I'm thoroughly happy with the plugin even if this can't be done, but I figure it's worth asking in case you do have a solution :)
@HaoSs
Nope, this is a feature for 1.3.
hmmm
>23:53:59 [SEVERE] Error occurred while enabling Textile v0.3 (Is it up to date?)
java.lang.NoSuchMethodError: net.minecraft.server.ServerConfigurationManager.getServer()Lnet/minecraft/server/DedicatedServer;
at com.modcrafting.textile.Textile.setTxDeftPack(Textile.java:60)
at com.modcrafting.textile.Textile.onEnable(Textile.java:54)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:386)
at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:264)
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:246)
at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:377)
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:364)
at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:198)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:428)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
does the plugin work for 1.2.5 ?
this is a wonderful plugin, love it a lot. something that i would like to see is integration with WorldGuard to allow region textures. so if someone would enter a certain region they would download that regions texture pack. :) that would be awesome
This is really neat. Its just like the voxelbox texture plugin, but without client mods.
This plugin should get a bit more attention :D
Got it working on my server with v0.3. Thanks for all the help and updates. :D
So, just to clear things up.
This can be done entirely through a vanilla mc client correct?
@Death_marine
Awesome, I look forward to the next release :)
@bagheadinc
Yah its a client side issue. I trying to figure out a work around for tracking what players have downloaded what texture packs. So I might have to start databasing. Supposedly if they attempt to download a pack thats inuse it shows them 100% and you have to ESC out of it .
So I've installed version 2, and I am able to run the preview command and the TP will switch with no issue. However when I try to set the TP to the world, it gives me the same "Making Request...100%" screen and won't proceed.
Also when I try to use the download command, it gives me an unable to write error. I'm not sure what to do to get this working.
It seems it works fine if I'm previewing a pack that is not on my server (hosted at Dropbox), have you thought about allowing people to use a pack that is not on their server?
@Death_marine
Thanks for the super quick response. I tried changing the config to just use the packname with no URL or .zip extension like you said, but it seems to be giving the same exact issue.
@bagheadinc
yah the file is awaiting approval but for the config name...
say my texture pack is something.zip and its in my plugins/Textile/ folder
I tried to take the work out of writing the url out. As for the link info If someone wants to download the texture pack it could be found at example: http://serverip:2569/something.zip