Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

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

  • 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 ?

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

  • 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.

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

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.