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

Posted

I would like to see 2 (simple) event hooks that allow modders to adjust the hardcoded (yellow) colored "player joined the Game" and "player left the game" messages that are broadcasted serverwide once a player joins or leaves the server (not just the world).

 

Sadly enough these messages are send from the deep. As of version 1.8, the join message is being send from the initializeConnectionToPlayer() function in the ServerConfigurationManager class (the message is being send on line 171). The leave message is being send from the onDisconnect() function in the NetHandlerPlayServer class (line 732).

 

If we could hook up there and adjust the message, it would be great.

 

Currently, the only way to change this behavior is to intercept the Netty packages before they get send, or catch them on the client and then adjust them. Both are nasty, the later requires the user to install a 'server' mod on the client. That's kinda awkward.

Why?

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

  • Author

Full control over server/chat messages. Except for those two messages, we already have full control.

 

Can be handy if a server owner wants to tidy up the chat with his own styles (color, text, format).

 

For example: Messages like:

[-] Username (left the server), 
[+] Username (entered server), 
[>] Username (left world), 
[<] Username (entered world) 

 

We were able to do this with bukkit plugins but bukkit is gone.

  • Author

If anything then we should add an event for outbound server chat messages.

 

Even better  :)

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.