SwitchableResourcepacks
Server side mod adding a command to trigger a resourcepack to be sent to the client, using the same method as the built in required resourcepack function when joining a server. This mod will not do anything when installed on clients, and will function with vanilla clients.
How to use
See the readme on github for proper usage
This mod was a request from the wonderful folks behind the Legacy Edition Battle project
Check them out here, or their github page.