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.

[1.11.2]Send a message to a player when they join the world [Solved]

Featured Replies

Posted

I'm currently working on a system to alert the player with a chat message when they are playing with a version of the mod that is out of date. I can't however find a way to send a chat message to the player. Any ideas?

  • Author

Don't do it yourself, Forge has update checking built-in. Forge Update Checker Documentation.

 

Okay, so I tried doing it and i can't get it to work. I added the updateJSON parameter to my @mod annotation, which contains the link to my JSON which i hosted on github. Though for some reason it's not working, it's probably something on my part but i'm not sure what. The current version of my mod is 0.4.1 and here is the link to my JSON. https://github.com/Frost2779/Mod-Update-Version/blob/master/Update

  • Author

Show your code and the fml log.

 

I was able to get it working, I just hadn't waited long enough for github to update the raw file. Thanks for the help though!!

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.