scionaltera / agony-engine

A modern, web based, procedurally generated MUD.
https://agonyengine.com
MIT License
17 stars 5 forks source link

Framework for communication channels #90

Open scionaltera opened 6 years ago

scionaltera commented 6 years ago

Right now SAY is the only channel for communication and it's kind of hacked in. What we really need is channels as a first class thing with options for how messages are distributed. The set of channels I have in mind is:

SAY -> send to everyone in the same room as you SHOUT -> send to everyone within a radius of 5(?) rooms GOSSIP -> send to everyone in the game TELL -> private message to one other person ADMIN -> jury is out on the name, but only send to other admins (when there is such a thing)

Ideally the channels should be configurable somehow. Doesn't necessarily need to be via commands inside the game at this point, but through Spring config or a repeatable Flyway migration would be fine.

scionaltera commented 6 years ago

A much easier possibility for SHOUT would be to send to everyone on the same GameMap as you. The natural scoping of that should work quite well.