PolyPuck
This mod disables the functionality of PolyMc when it is installed on both the client and server simultaneously.
Practical Application
Imagine you have a modpack that is used on the server. You add PolyPuck to this modpack and install PolyMc on the server. This allows PolyMc to generate resource packs, and clients with the vanilla version of the game will be able to connect to the server using these resource packs.
Since PolyPuck is present in the modpack, you can offer players the option to install the modpack. If they join the server with the modpack installed, it will function like any other modded server.
IMPORTANT: Do not install PolyMc on client versions of the game, as starting from version 3.1.0 this causes critical errors.
IMPORTANT: In the current version, the mod blocks resource pack packets for modded clients. This functionality is planned to be made more flexible and customizable in the future.
License
Distributed under the CC0 license, the code volume is so small that it likely does not qualify for copyright protection. You are free to use this mod for any purpose.