jdeath / Bedrock-Homeassistant

MIT License
8 stars 5 forks source link

Feature Request - Update Available #6

Open mhump711 opened 2 years ago

mhump711 commented 2 years ago

Feature Request - It would be awesome if this integration was able to tell us if there is an update available. Otherwise great job on the integration works well.

I host a Minecraft Server for my brother and I usually don't find there is an update until his computer updates to a newer major version which then makes it not possible for him to play. I'd then use an automation to tell me that the current and update versions don't match and send me a notification. Probably didn't need to know this part. lol

Thanks again

MrCaffeen commented 2 years ago

Hi @mhump711, you might want to look into the bedrock server update script I use on Linux Hosted servers. how are you hosting your bedrock server?

jdeath commented 2 years ago

I wasn't planning on adding this, as my server updates automatically every night. I use: https://jamesachambers.com/minecraft-bedrock-edition-ubuntu-dedicated-server-guide/

Also the bedrock API I use only pulls in a protocol version, which I am not sure directly maps to a new release...

MrCaffeen commented 2 years ago

I think that will help out @mhump711 so it's not really a feature request. they can have their server update like the above script. I use the same. Could look at borrowing a line from that script to return the published server version from the website that script uses?

mhump711 commented 2 years ago

I use Cubecoders AMP. I wanted something with a web interface. Admittedly I get how the Minecraft server is laid out so I don't really need it anymore but it already works. I check out the script tomorrow but most like I can do a nightly restart and have update on boot.