Jump to content

Recommended Posts

Posted

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 ;)

Posted

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 ?

Posted

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 ^^

Posted

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.