NOVA-Monorepo icon indicating copy to clipboard operation
NOVA-Monorepo copied to clipboard

Send message to a Player

Open halvors opened this issue 9 years ago • 8 comments

Send message to a Player via the Player component of Entity.

I don't know excactly where this should be implemented, should this be a plugin or in NOVA-Core?

halvors avatar Jun 16 '15 11:06 halvors

i'm thinking in core, sending to a player is always usefull for things that change only for a specific player

AEnterprise avatar Jun 16 '15 11:06 AEnterprise

Yeah, not entirely sure how we do any special formatting or anything though. Just accept a string for now?

gjgfuj avatar Jun 16 '15 11:06 gjgfuj

we already have networking, we can build on that

RX14 avatar Jun 16 '15 11:06 RX14

maybe as extension of this also to everyone in a specific area/world?

AEnterprise avatar Jun 16 '15 11:06 AEnterprise

There was an issue for a networking overhaul, but I lost it...

RX14 avatar Jun 16 '15 11:06 RX14

Basically make it more abstract, allowing the wrapper to just implement sending streams to places and shit, then NOVA builds a networking system on top of those streams.

RX14 avatar Jun 16 '15 11:06 RX14

@RX14 Agreed

calclavia avatar Jun 17 '15 00:06 calclavia

I think we should code it in a way where the wrapper just has to implement sending byte streams to specific places at a minimum, but minecraft for example can use netty for the packet level abstraction instead of the NOVA implementation.

RX14 avatar Jun 17 '15 11:06 RX14