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.

kdx7214

Members
  • Joined

  • Last visited

  1. I'm currently updating my mod from 1.5.2 and one of the features it provides is nickname support in chat. In the past I had setup a listener for ServerChatEvents and did the substitution there by changing the "line" member. Now in 1.6.2 the "line" member is no longer present and after quite a bit of digging I've yet to find a way to modify the message before it gets sent to the players. Not sure if I'm missing something obvious or if I'm just approaching this the wrong way entirely. Any ideas?
  2. I'm have a command mod that saves it's data in NBT format. It's stored in memory for performance reasons, but I would like to write it to disk say every 15 minutes. The math is no problem, the problem is I can't seem to find a way to get a timer event notification server-side. The Timer class is client-side only. Is there a tick event or some other less obvious way to achieve this? Or is there a way to tap into the /save-on command so I can write the data back out? I'd hate to have to write the data every time a user makes a change. Thanks!

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.