#Client side proximity voice chat

1 messages · Page 1 of 1 (latest)

celest pine
#

Those first two points make no sense

crude surge
celest pine
#

lol

solemn jewel
celest pine
#

Right. How else are your clients supposed to communicate over the server?

solemn jewel
#

the same way you can chat with someone via essential without it being processed through the server

celest pine
#

So you’re suggesting an external discord type voice chat that’s different than simple voice chat

#

Proximity chat is impossible without the mod being installed server side

celest pine
#

How else is your client supposed to know where other players are in the world?

solemn jewel
#

bro

#

if you press F3 you can literally see your coords

celest pine
#

Which the client gets from the server

#

(And sends back to the server when moving)

solemn jewel
#

but it doesn't HAVE to get it from the server

#

it could go like

player1 (coords+voice chat)
⬇️
essential (checks if player is close enough)
⬇️
player 2 (receives sound)

celest pine
#

And how is essential supposed to check if the player is close enough?

solemn jewel
#

well actually it doesn't have to

#

player 2's client could just receive the information and check if player 1 is close enough

#

good point

celest pine
#

And on a server, how is player 2 supposed to receive the sound that player 1 sent? The machines aren’t directly communicating

solemn jewel
#

essential

#

look im not a mod creator or anything and I don't know exactly how this all works but I think it should be possible

celest pine
#

When players host worlds in essential, they are the server, so ultimately, the voice chat mod is still installed server side, and the machines are directly communicating

solemn jewel
#

I've seen it been done before tho, where you had to connect to a website that would work like a bridge between 2 voice chats

#

idk what it's called

celest pine
#

On a public server, the machines aren’t directly communicating, so without sending and receiving data to and from the server, they have no way of sending their locations and the actual sounds to each other

solemn jewel
#

yeah but couldn't the data be send through essentials servers?

celest pine
#

How are essential servers supposed to know where the players are in the third party Minecraft servers?

solemn jewel
#

the clients that have the essential mod installed should be able to send that information directly to essentials servers, unless im wrong

celest pine
#

Ok i kind of see what you’re saying, but I’m not sure if essential would be able to afford that

solemn jewel
#

yeah that's the only downside but it was just an idea that popped up in my head yk

#

also delay might be an issue

solemn jewel
#

or am I just stupid

dusty violetBOT
solemn jewel
#

Yeah I know the server isn't hosted by essential

#

but

#

isn't it like port forwarding but through essential

celest pine
#

Isn’t it just essential helping your pc with port forwarding itself?

solemn jewel
#

I don't think so

#

your pc doesn't do the port forwarding it's your internet router

#

I'm pretty sure it's called "tunneling"

#

like I use playit.gg to host my minecraft server without the need of port forwarding but this means that all the data goes through playit.gg

#

isn't essential pretty much the same thing?

round kelp
#

No. Essential is only involved while connecting in most cases.

Once connected, it is a direct connection between the host and the friend

celest pine
#

When you port forward, you’re going to your router from your pc

#

Essential just automates that

round kelp
#

No it doesn't

#

It has nothing to do with port forwarding

solemn jewel
#

wouldn't your firewall block that though?

round kelp
#

If your firewall is being super dumb and unnecessarily strict, maybe

If your firewall is sane, no

celest pine
#

Isn’t allowing the port through the firewall part of that process anyway?

round kelp
#

No, there's no ports being allowed through any firewall with Essential

solemn jewel
#

bro my head hurts

celest pine
#

I mean the portforwarding process in general

dusty violetBOT
round kelp
#

Anyways, I've read through this conversation here and have my own two cents to add:

Proximity chat without a server-side element is very problematic and basically impossible to do correctly. There is no way for it to validate the location of players and must rely on player-supplied data, which could be spoofed to listen in on conversations without being there

It would also require a lot of processing & bandwidth on our end to achieve and that's not the kind of thing we can offer to millions of players (obviously not that many all at once but you get the idea) for free

solemn jewel
#

fair point

#

welp