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

Hello,

 

As the title says, I'm trying to make my mod load on a multiplayer server, however I can't find any switch/option/modding thingy to make this happen.

 

My mod currently just sends a message to the player with the "ServerChat" event, to see if I'm doing it right. It works in a singleplayer world, but no on a multiplayer world.

  • Author

Ok. What I have is a mod listening on the "ServerChatEvent." When I prefix a message with a ~, it should just repeat the message back to me. On singleplayer, this works fine. However, on multiplayer, it does absolutely nothing.

 

EDIT: By "on multiplayer," I mean when connecting to a multiplayer server.

Following diesieben:

 

When on singleplayer you are really connected to integrated server running along with your client. It's the server that is responsible for sending messages so if you connect to dedicated one (you don't have integrated with your client) then mod that is only on your client and not on server will not send anything because it is only handled on server side.

Clear enough?

 

Following that - if you want to make a Client-Side mod you can ONLY (and only) use client-side methods and events. anything else will not work when connected to dedicated server.

1.7.10 is no longer supported by forge, you are on your own.

  • Author

I understand that, but my question is how is JourneyMap able to overcome this? Since it runs on multiplayer on despite being on the client-side only.

  • Author

I'm using chat because I'm attempting to relay the chat message to all other people who have it installed.

You can't without outside listenears. Simple as that. Server will not pass any data that it can't read (receive in packet).

 

JourneyMap is probably using its own local host engine of some kind, you would have to code it yourself - google how to use LAN connection and http access.

1.7.10 is no longer supported by forge, you are on your own.

  • Author

I'm not trying to make the server pass the data. I need to capture all chat messages sent that start with a ~ and pass it on to my own servers. I know how to do that, except for capturing the message.

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.