#PluginMessagingChannel

1 messages · Page 1 of 1 (latest)

dreamy jetty
#

.

#

PluginMessagingChannel

#

your Send data would be unnecessary

#

but yeah basically like this

#

the other channel, which you will register on the other server, will have a listener, so you dont have to explicity say that you just sent data

#

since with this call player.sendPluginMessage(this, "BungeeCord", out.toByteArray); you already send it

#

yeah like the tutorial says, it basically is a listener which you have to register as a PMC

#

and the onPluginMessageReceived would in this case be like an EventHandler in normal listeners

#

yeah

#

but one should be more than enough

#

i dont quite get your question

#

you just had it?

#

never actually looked that up because PMC is the dumbest thing ever, but i believe it just sends the data to the proxy, this sends it to every server and looks up if they have a PMC with the given name registered

#

but since the PMC goes over the player, on the server has to be a player online, otherwise the server just wont be able to accept the call

#

think about it

#

receiving and sending

#

yeah because you dont have a channel registered

#

np 👍

#

just like this one