MultiPack
What Does it Do?
MultiPack is a simple plugin that hooks into WorldGuard and allows the setting of texture packs for each region.
The plugin tries its best to respect region priorities, so regions with higher priority will override the texture pack of a lower priority region.
This plugin would be great for creative servers with builds that look better with a specific texture pack, or RP servers that want different areas to set a different mood.
Unlike some other texture pack plugins, this one does not require Spout!
How Do I Use it?
There are simple commands to add, remove or set the texture pack of a region. So if you do not like manually editing files, or want users to be able to set a regions texture pack, this plugin allows for that.
Please consult the "Commands" section for more information.
If a player is not in a region, the servers default texture pack will be used. If the server does not have a default texture pack, the player will be reset back to the Minecraft default texture pack.
Permissions
- worldguard.region.texture.regions.<regionName> - allows the user to set the texture pack of a region that they are not an owner of.
- multipack.reload - allows manual reloading of the configuration.
- multipack.default - allows setting of worlds default texture packs.
Commands
- /multipack <add|set> <worldName> <regionName> <Texture Pack URL> - Adds/sets/changes a texture pack to a region
- /multipack remove | rm <worldName> <regionName> - Removes a texture pack from a region
- /multipack reload - Reloads the configuration ( useful for manual edits )
- /multipack default <set|add> <worldName> <url> - Set the default texture pack of a world
- /multipack default remove <worldName> - Remove the default texture pack of a world
The "add", "remove" and "set" commands all require at least one of the follow things to be true for the sender of the command to be allowed to set the texture pack of a region!
The command sender:
- Is OP
- Is an owner of the region
- Has the permission "worldguard.region.texture.regions.<regionName>"
- Is the console
@Malicered
Not possible.
How about some 1.2.5 R4 Support for the rest of us Tekkit Users!
@known9999
I can't check if a client is patched unless MCPatcher were to send a Packet250 to show that it is patched, which it doesn't right now.
So could you make a region that has an HD texture pack that would someone would see IF that someone has been checked by the server to have the avf.class file installed in their client?
@diannetea
Your welcome :) Please post if there are any problems!
Works beautifully! Thank you
@Levi5
Not really possible, the server can not tell what texture pack the player is using.
Is it possible to just stick with our own set TexturePacks and only have them change when in a region? Id like people to be able to use their own TPs that thy have set and it only swap over to other ones in the regions!
If that makes any sense :P
@diannetea
Hmm, I will test it out then. I haven't really tested this plugin much, nor do I even use it :P
pretty sure it is caused by having multiple worlds
I am using multiverse-core, and whenever someone uses /mvtp (otherworld) the console starts spamming that error
@diannetea
I don't see how this could happen. Please actually do more than just post a stack trace, as without more information like your configuration / etc. Because I honestly I am not sure how this would happen. Seriously, just posting an error is almost never helpful to a developer. Sure it gives me some information, but without knowing the circumstances surrounding the error, I can not do anything to fix it.
2012-08-23 17:12:47 [SEVERE] Could not pass event PlayerMoveEvent to MultiPack
java.lang.NullPointerException
at net.worldoftomorrow.nala.mp.MultiPack.getHighestPriorityPack(MultiPack.java:274)
at net.worldoftomorrow.nala.mp.MultiPack.onPlayerMove(MultiPack.java:215)
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:330)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:479)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:464)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:213)
at net.minecraft.server.Packet10Flying.handle(SourceFile:136)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:276)
at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109)
at net.minecraft.server.ServerConnection.b(SourceFile:35)
at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30)
at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:608)
at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:244)
at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:501)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:419)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
@kyledag500
A direct link to the texture pack, for instance: https://dl.dropbox.com/u/52707344/Confabulation_Blue_Line_V1.3.zip
@diannetea
I suppose I could add that in the next update :)
You can actually use it with HD texture packs, it's just that people won't see them properly if they don't patch. Which is fine, you can completely disable server texture packs in the game options.
Anyway, I was wondering if there is a way to set up a default html link so you can just put the texture pack name in. I have been uploading all of the packs we're playing around with onto the site for my hosted server and it would be awesome if I could just set the link in the config except the texturepack name like..
defaultsite=http://somesite.com/somefolder/
and then when adding it would just fill in right past the /
What kind of URL does it have 2 be? the planet minecraft page? The minecraft forums page? whhat?!?
Sounds epic! I'm always up for stuff that utilizes the WorldEdit API!
sounds great! going to test it on my server!
@j6ny
No, because it can't patch the client for HD textures.
Will this work with HD texture packs?
@diannetea
Okay I uploaded the new version. I should be approved by tomorrow, sorry about that :P