World Resourcepacks 1.6.13

Easily set resource packs per world or your whole server!

  1. Phoenix616
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    [​IMG] Made in Germany with love (and beer)

    [​IMG]
    Use the latest development builds for better 1.13.x and 1.14.x support!

    Did you ever want to set a different server resource pack for your different worlds? Or switch your current resource pack with just one command? Then you came to the right place!


    This plugin lets you set one Server Resource Pack for each of your worlds or event your whole server! It also allows you to specify packs that should be usable on multiple worlds!

    It is also compatible with my Bungee Resourcepacks plugin for the BungeeCord proxy and will not make the player redownload a resource pack after server switching if it got already applied by Bungee Resourcepacks on another server!


    Please note that the Vanilla Minecraft client only applies server resource packs that are smaller than 50MB!

    For an enhanced version of this plugin take a look at Force Resourcepacks!
    It lets you react on whether or not the player downloaded the pack with a message, title or a straight up kick!


    Note: This plugin does not work with older Minecraft versions that do not support server resourcepacks!

    Features
    • Set different server resourcepacks per world or whole server
    • Match world names with regex!
    • Language system with messages depending on the locale of the client
    • Configurable delay before sending the pack to a player
    • Remembers which pack a user has currently applied and doesn't resend on world switch
    • Let the user set the pack himself. The pack can be re-applied on each login and will be used for resets in worlds that don't have the pack
    • Inform the user which pack the server send them if it was done automatically
    • ResourcePackSendEvent and ResourcePackSelectEvent for developers to react on the sending or selecting of a pack in their own plugins
    • Send the correct pack format depending on the client's version (requires ViaVersion or ProtocolSupport)
    • Automatically generates the sha1 hashes!
    • Compatible with AuthMe Reloaded.
      Do you need it to be compatible with more plugins?
      Contact me!
    • Need more features like kicking when the player rejects the pack? Take a look at Force Resourcepacks!
    Statistics
    Donations
    Programming is time intensive and I would really appreciate your support!
    So if you can afford it or make commercially use of this plugin feel free to buy me a beer.
    Patreon with rewards: [​IMG]
    Paypal: https://s.moep.tv/donate
    Ðoge: D7G4Svo7GTNHpuhjwUBj2k7qANnZHwYD4p
    BTC: 1EXMFRknc7kLwCmM1zf5LXNnPD4ihVCEhQ

    Commands

    To execute every /wrp command you need the worldresourcepacks.command permission!
    /wrp reload [resend] - worldresourcepacks.command.reload - Reloads the config file; resends the packs to every online player if the 2nd argument is "resend"

    /wrp version - worldresourcepacks.command.version - Shows the version of this plugin
    /wrp generatehashes - worldresourcepacks.command.generatehashes - Manually generate the resource pack hashes

    To execute every /usepack command you need the worldresourcepacks.command.usepack permission!
    To execute it for other players you need worldresourcepacks.command.usepack.others!
    To have access to a specific pack a player needs the worldresourcepacks.pack.<packname> permission or the one defined for the pack in it's config section!
    /usepack - List all packs available to you
    /usepack <packname> [<playername>] - Send a specific pack to yourself or another player
    Config
    Code (YAML):
    useauthme: false
    debug
    : true
    # Whether or not resourcepack file hashes should be generated on startup:
    autogeneratehashes
    : true
    messages
    :
      usepack
    : You now use the pack %pack%!
      packlisthead
    : "Packs available to you:"
      nopacks
    : No packs found!
    packs
    :
      lobbypack
    :
       # The url the client should download the resourcepack from.
       # Has to be a direct download link! No medifaire/mega/other oneclick-hoster!
        url
    : http://example.com/lobbyresourcepack.zip
       # The sha1 hash of the resourcepack's zip file,
       # Not supported by Bukkit so it currently does not matter what you write here!
        hash
    : abcdef012345678abcdef012345678abcdef0123
       # The format version of this resourcepack, depends on ViaVersion!
       # 1 works for clients above 1.8
       # 2 works above 1.9
       # 3 above 1.11
        format
    : 1
       # Whether or not this pack will only be send to players with a certain permission
       # permission: bungeeresourcepacks.pack.<packname>
        restricted
    : false
       # If you want you can define a specific permission for this pack if you don't want
       # the default bungeeresourcepacks.pack.<packname> permission!
        permission
    : bungeeresourcepacks.pack.lobbypack
      gamepack
    :
        url
    : http://example.com/minigameresourcepack.zip
        hash
    : 012345678abcdef012345678abcdef012345678a
      # Empty pack to reset the pack to the default one
      emptypack
    :
        url
    : https://github.com/Phoenix616/BungeeResourcepacks/blob/master/Empty.zip?raw=true
        hash
    : 3934d29cc6f7c271afdc477f6dd6b2ea90493825
    # Name of the pack to use for resetting of the pack for servers which don't have one assigned
    empty
    : emptypack
    server
    :
      pack
    : lobbypack
      # List of packs to not replace if the user already has them
      # If no main pack is set the first one also gets used to reset
      # the pack if the user has a non secondary one
      #secondary:
      #- lobbypack
      # Delay in ticks before sending the pack to a player after he logs in/switches to the world
      send-delay
    : 10
    worlds
    :
      lobby
    :
        pack
    : lobbypack
        #secondary:
        #- gamepack
      minigame
    :
        pack
    : gamepack
    About the client freeze
    When a server resource pack is send to a client it will shortly freeze after the download is complete. (Same as manually applying a local pack) This happens because the client has to reload all resources, check which resources overlap and do some other calculation and manipulation with them. (Like stitching all the textures together to a single image like they were in the first texture pack format) It's not a download issue as the client will locally cache the pack files and not re-download them if their hash didn't change.

    How long this takes generally depends on the PC's performance and the size of the textures (HD packs take longer) that are used in all resource packs that the player has applied. (So even if the server resource pack doesn't contain any HD textures or textures at all the client will still completely reload all locally applied resource packs) This is something that has to be fixed in the client by Mojang for example by only reloading resources that changed. There's not a lot I can do about that offer than advice people to put pressure on Mojang to improve that behaviour.

    Dev-Resources

    The source is available on GitHub and licensed under the GPLv3.
    Dev builds can be found on the Minebench.de Jenkins.
    There are also some Javadocs if you intend to develop plugins based on mine.

    Metrics
    This resource includes MetricsLite to add some statistics via mcstats.org. You can opt-out by changing the settings in the PluginMetrics/config.properties file! MetricsLite is licensed under the following license:
    Copyright 2011-2013 Tyler Blair. All rights reserved.

    Redistribution and use in source and binary forms, with or without modification, are
    permitted provided that the following conditions are met:

    1. Redistributions of source code must retain the above copyright notice, this list of
    conditions and the following disclaimer.

    2. Redistributions in binary form must reproduce the above copyright notice, this list
    of conditions and the following disclaimer in the documentation and/or other materials
    provided with the distribution.

    THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
    WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
    FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR
    CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
    SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
    ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
    NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
    ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

    The views and conclusions contained in the software and documentation are those of the
    authors and contributors and should not be interpreted as representing official policies,
    either expressed or implied, of anybody else.
    Because mcstats seems to be dying a new metrics site was added with version 1.6.13: bstats.org. We'll see if it stick around, if not I'll just remove it again otherwise we already have some cool data to draw graphs with! If you don't want bstats to collect info on your server then you can disable it in the bStats/config.yml file. The license the used bStats-lite class is under can be found here.​

    Other Resources

    [​IMG]
    This resource is distributed without any warranty or liability by the author.

Recent Reviews

  1. niko0800
    niko0800
    5/5,
    Version: 1.6.13
    Wieso funktioren bei minepack.net packete wie cars, gun und so und normale schon. bitte um hilfe prost
  2. MelaniumAS
    MelaniumAS
    4/5,
    Version: 1.6.13
    Pense que era un plugin como dice el nombre , ResourcePacks POR MUNDOS, pero no me da . Se descarga en todo el servidor.
    1. Phoenix616
      Author's Response
      You can specify if a pack should apply in the whole server or on a single world in the config of the plugin.
  3. Jasonjams8
    Jasonjams8
    5/5,
    Version: 1.6.13
    Great developer and very helpful! He's helped fix any issues I was having before. I recommend this plugin!
  4. TIMORAD
    TIMORAD
    1/5,
    Version: 1.6.13
    [ERROR] Error occurred while enabling WorldResourcepacks v1.6.13-SNAPSHOT (build #177) (Is it up to date?)
    1. Phoenix616
      Author's Response
      Please post your full log and server version in the discussion thread or open an issue on github. (Also please try out the latest development builds and see if the error was already fixed. Your version is about 100 builds behind)
  5. JAY20004
    JAY20004
    5/5,
    Version: 1.6.13
    Really Good! Just one thing: When my players leave the world, the resource pack still stays with them. Anyway to reset the pack to default on world change?
    1. Phoenix616
      Author's Response
      It will automatically reset the resource pack to the empty one when the world that had a pack is left. If that is not happening then you configured it in a way that doesn't do that. Post your config in the discussion thread and someone might be able to spot the issue with it ;)
  6. REW01WER
    REW01WER
    5/5,
    Version: 1.6.13
    Works on 1.13.1 perfect plugin, thanks...................................................
  7. Selivard
    Selivard
    5/5,
    Version: 1.6.13
    Works great and allows good customization of how players get and are informed about rp. Only thing I would like to see added is PAPI support for a placeholder showing active pack. We are allowing players to download pack with custom commands and would be great to be able to add some more information into the menu. Thanks for the addon, it does just what we need!
  8. Chin
    Chin
    3/5,
    Version: 1.6.13
    i have a direct download link and everything is setupped correctly but is freezes with Making request... 100%
    1. Phoenix616
      Author's Response
  9. Nightshade73
    Nightshade73
    5/5,
    Version: 1.6.13
    Took me like 10 minutes to figure everything out, but works like a dream!

    Will consider the upgrade
  10. Konbbomba
    Konbbomba
    5/5,
    Version: 1.6.13
    what about 2 packs on the same world ie worlds:
    world:
    pack: cars
    secondary:
    - boat
    ?
    the secondary does not seem to work
    1. Phoenix616
      Author's Response
      The client can only ever have a single server resource pack. There is no way to send two packs and have them applied at the same time, you have to merge the zip files into one.

      The secondary list is for packs that shouldn't be overridden by the main pack if the player already has one of the list and to resolve the correct pack from the format or permissions that the player has.