Add a way to see if a client has the mod serverside
OtisGoodman opened this issue ยท 6 comments
Trying to use this as a replacement for bunge, and I want to give the client an error message if they don't have this mod installed.
Could you add a packet to ping the client and see if they have the mod or not?
Added IfPlayerCanRedirect and IfPlayerCannotRedirect commands in version 1.4.3
For command usage, please check: https://www.curseforge.com/minecraft/bukkit-plugins/server-redirect
Notice:
/ifplayercanredirect and /ifplayercannotredirect will likely not work as expected if run when the target player just joined the server. These commands rely on the client sending a packet to the server telling them they have this mod installed. This packet requires some time to be sent by the client and processed by the server. It is recommended to delay this command execution by at least 20 ticks after the player has joined the server!
Hey, thanks for the suggestion. This was already included in version prior 1.4. As I rewrote the mod completely in v.1.4, I removed this feature. I will try to add it back soon.