feather-rs / feather

A Minecraft server implementation in Rust
Apache License 2.0
2.58k stars 143 forks source link

Make SessionServer an environment property. #501

Open CoreyShupe opened 2 years ago

CoreyShupe commented 2 years ago

https://github.com/feather-rs/feather/blob/cf650cc0b1ec1da717ee69477e6d44fb6f97f697/feather/datapacks/src/vanilla.rs#L15

If possible there should be vanilla-mimic behavior here to allow for a session server to be defined via environment variables or CLI flags with the current as a default.