Phoenix616 / ResourcepacksPlugins

Set resource packs on whole proxy, per server and per world!
https://ci.minebench.de/job/ResourcepacksPlugins/
GNU General Public License v3.0
77 stars 16 forks source link

Start Resource download after player has joined #86

Open oeze opened 4 months ago

oeze commented 4 months ago

Is your feature request related to a problem? Please describe.

The plugin is a great solution for having different resources for different worlds. When a player enters into the new world the plugin automatically downloads the new resource pack. However, if that player logs out while in the world and then logs back in. That player no longer has that resource pack. They have to exit that world and rejoin though a portal or by teleporting. Maybe this is already a feature but I cant seem to get it going through the config.yml

Describe the solution you'd like

It would be nice if there was a check to see if the player was already in the world assigned to the resource pack. Then force a download if the player did not already have the resource pack. Or just keep the pack installed all the time and just disable when not in the assigned world.

Describe alternatives you've considered

I use perworldplugin it does something similar by only allowing certain plugins to work in certain worlds. Such as LifeSteal. LifeSteal has it's own resources that stay downloaded weather or not LifeSteal is enabled on a certain world.

Additional context

No response

Phoenix616 commented 4 months ago

This is already a feature and works when I test it. (The code for that is here)

If you think it's a bug in the plugin please make sure to test without any plugins that might interfere (especially hacky ones like PerWorldPlugins, if used on my plugin this could easily break it. Or just test with none at all) And if it still occurs then please provide all the information requested by the bug report template.