Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API to set ResourcePermanently from Server #17

Open
bundabrg opened this issue Sep 4, 2018 · 0 comments
Open

API to set ResourcePermanently from Server #17

bundabrg opened this issue Sep 4, 2018 · 0 comments

Comments

@bundabrg
Copy link

bundabrg commented Sep 4, 2018

If I run a plugin on a backend server (Behind a bungeecord proxy), I can't send commands to the bungeecord plugin to set the user's pack from the plugin (because a backend server can't do that).

If I instead run WorldResourcePacks then that works but switching to another server resets it. Basically a permanently set pack using WorldResourcePacks is only valid for the server it is on.

So either:

  1. A permanent resource pack set by WorldResourcePack should be set permanent by the upstream BungeeResourcePack plugin.
  2. Or an API so I can interface with the BungeeResourcePack plugin to set a pack from a backend server.

My use case:

  • A Lobby with signs that a user can click to set different packs
  • Presently when they hit the sign, a command '/usepack packname' is sent. This won't reach the bungeecord plugin as its generated by the backend server, but installing WorldResourcePack will allow it, but only for that server for the moment (I have some bungeecord vanilla servers so I can't install WorldResourcePack on all of them and need it done by the proxy server).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants