Posted July 28, 201510 yr Hi, How could I know if a client has a mod installed from server side ? Thanks
July 28, 201510 yr Author I know this is not reliable. Its for my mod Forge Creeper Heal. I've done a profiler, see there : Actually I send a packet to player with profiling data, so if client doesn't have mod he can't see profiling data. So I want to send him a chat message if he doesn't have mod clientside installed. So this is just for ergonomic purpose, not security
July 28, 201510 yr Author I can't get mod version ? Because if the client has a previous version which didn't support my paquet but have the channel registred, server will dectect player can support it, right ?
July 28, 201510 yr Author But if I do that, people who doesn't have mod or lower version couldn't connect to the server. I just want to send packet or chat message but keep my mod server-side as much as possible ^^
July 28, 201510 yr Author Hum I can't get Player instance using this way, but I didn't know this annotation. Very interessant functionnality, I could surely be usefull to me on other devs. I finally find an other solution. Client send a paquet with his mod version when he connect to the server. If server receive this paquet, it fix modVersion with extended properties else it's mean client doesn't have the mod installed. Thanks
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.