Jump to content

How is a mod like JourneyMap able to load in multiplayer?


Recommended Posts

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.

Posted

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.

Posted

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.

Posted

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.

Posted

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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