Closed
Description
To set the game server address one can do:
hyperion/events/tag/src/lib.rs
Line 139 in e34af07
However, this is not the address people will log into. It is the proxy address. I want there be an easy way to start the proxy and the game server at the same time.
A potential thought:
we make a new crate called embedded-proxy
or similar and we can do
world.set(UserFacingEndpoint::from(address));
(perhaps with better naming)
and there will be an observer to
- start the proxy with UNIX socket (perhaps)
- set
GameServerEndpoint
to something
This would allow running one binary to start game server and proxy.
Some thoughts:
- A lot of the time you might want to toggle whether connecting to an external proxy vs not at runtime (through argument) rather than compile time probably. This is something to consider.