Comments (10)
Commit 025485c changed it so that the empty pack will no longer be send when the user doesn't have any packs to avoid unnecessary pack sends and client lag. Simply set a different pack as the empty one (e.g. the emptypack ;)) and it should work properly.
from resourcepacksplugins.
Unfortunately, I cannot set
emptypack:
<same as blackpack>
as that generates an error that there is already a pack with the same hash. :(
How should I change the configuration above to get the desired result, which is
- blackpack should be the server default
- whitepack and yellowpack should be used as indicated
- blackpack should be used in all cases where no pack is specified
from resourcepacksplugins.
The empty pack is there to reset the textures to the Vanilla default without any changes. There should be no reason to set the empty pack to the same value as another pack with content because if you have a global server pack then it will always apply that in the case that no other world matches. So the matching world pack (or the global server one) will always be used for resetting purposes.
With your config the empty one would never be used as the global server config catches everything.
from resourcepacksplugins.
Unfortunately, as indicated above, the configuration
server:
pack: blackpack
is not respected. I tried both
/wrp reload
and server restart. Perhaps I am not understanding the new configuration. My expectation is that all worlds not enumerated in the worlds list will default to blackpack, but they do not.
from resourcepacksplugins.
As I said: The player does not get the pack applied that you set as the empty one in the empty
setting if he doesn't have one already. Set it to emptypack
and it should work. If not, please provide the full, modified config.
from resourcepacksplugins.
# World Resourcepacks configuration
debug: true
# Whether or not resourcepack file hashes should be generated on startup:
autogeneratehashes: true
messages:
usepack: You are now using 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: https://github.com/Phoenix616/ResourcepacksPlugins/blob/master/Empty.zip?raw=true
# # 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
# # 1 is for 1.8 packs
# # 2 is for 1.9-1.10
# # 3 is for 1.11-1.12
# # 4 is for 1.13 and above
# format: 1
# # Whether or not this pack will only be send to players with a certain permission
# # permission: worldresourcepacks.pack.<packname>
# restricted: false
# # If you want you can define a specific permission for this pack if you don't want
# # the default worldresourcepacks.pack.<packname> permission!
# permission: worldresourcepacks.pack.lobbypack
blackpack:
url: http://ELIDED/blackdog-4.zip?u=0
hash: 21473b7cc3177fe993298bb15acf67a80d37bece
format: 4
restricted: false
whitepack:
url: http://ELIDED/whitedog-4.zip?u=0
hash: 461a76eca7d44a3a50fc2f9a3413af4607b1808f
format: 4
restricted: false
yellowpack:
url: http://ELIDED/yellowdog-4.zip?u=0
hash: ed085f0a575ab655a0d54a91a31c738db5606475
format: 4
restricted: false
# Empty pack to reset the pack to the default one
emptypack:
# url: https://github.com/Phoenix616/ResourcepacksPlugins/blob/master/Empty.zip?raw=true
url: http://ELIDED/Empty-4.zip?raw=true
hash: 34820eb0b89b5c8ec7bb58cfc2e5e1712a131d4d
format: 4
restricted: false
# Name of the pack to use for resetting of the pack for servers which don't have one assigned
empty: blackpack
server:
pack: blackpack
# 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
# Also this list will be used to select a pack if a user does not have the permission
# or the right version to use that pack. (From top to bottom)
# secondary:
# - emptypack
# Use a regex to target all worlds with a certain name
# regex: 'minigame_.*'
worlds:
world_whitedog:
pack: whitepack
world_whitedog_nether:
pack: whitepack
world_whitedog_the_end:
pack: whitepack
world_yellowdog:
pack: yellowpack
world_yellowdog_nether:
pack: yellowpack
world_yellowdog_the_end:
pack: yellowpack
from resourcepacksplugins.
Change empty: blackpack
to empty: emptypack
and it should work.
from resourcepacksplugins.
Thanks. Now we get the blackpack in the unenumerated worlds. However, in previous versions of WRP, the switch between worlds with blackpack was (nearly) instantaneous. With b215, the pack is clearly reloaded again, meaning 5-6 seconds delay. The players live with that delay when they change packs (ie., traverse to whitedog or yellowdog, or back), but I would prefer not to have the delay between the blackpack worlds. Did I misconfigure?
from resourcepacksplugins.
It's not supposed to re-send the pack when switching between worlds that have the same one. Can you confirm that it prints the pack send messages in the log when you switch between two worlds that have the same pack/both none?
from resourcepacksplugins.
OK, it must be Spigot 1.13 that is causing the new delay. WRP reports only
[WorldResourcepacks] PLAYER matched global assignment
and no send message after the initial one on first connect.
Thanks for your assistance and patience.
from resourcepacksplugins.
Related Issues (20)
- Stops working when using both geyser AND vivecraftvelocityextensions at the same time HOT 1
- Server connection refused with Dropbox HOT 1
- 1.17.1+ Required Resource Pack for Velocity HOT 1
- BungeeResourcePacks: Issue with old servers (1.18.0 and before) and ResourcePacks without a hash HOT 1
- Make compatible with Geyser/Bedrock HOT 3
- Command to see if a player uses one of the Bungee Resourcepacks HOT 1
- Make it Compatible With GeyserMC HOT 2
- I cant get it to work no popups no nothing HOT 1
- Plugin don't switch resource when i change world.. HOT 1
- append-hash-to-url causing disconnect on login with 1.19.3. HOT 3
- I cant get own ranks to server HOT 1
- pack wont load when moving to the server HOT 3
- Velocity Console error on startup HOT 1
- Additional Features
- LibreLogin Error HOT 1
- Unloading a pack does not work HOT 12
- [1.20.2 Waterfall] Exception when a player is disconnecting HOT 1
- Ability to specify the order of any pack no matter who sends them
- Support global pack loading on server join HOT 7
- Start Resource download after player has joined HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from resourcepacksplugins.