Open estoyarto opened 1 year ago
Ok. I just checked, it does not seem to let you change it in /share/minecraftbe/server.properties . I am not sure why! Maybe because it cannot escape the docker network created in homeassistant.
However, the addon itself will map 19132 to whatever port you want. So leave it as 19132 in server.properties and change the port in the homeassistant addon configuration tab.
But, I would stay away from 25565 port, as that the is default JAVA minecraft port. Bedrock clients may not want to use it.
No luck for me. i leave the default port and still can't connect, the client can't find it even if i put the port. The strange thing is that if I use the image in docker and create a separate container, it works correctly. But home assistant gives me an error that I can't use containers outside of the home assistant ecosystem.
Weird sorry. Not sure why not working for you. I changed the port in homeassistant addon tab and I was able to join by making a custom server by specifying the port.
@estoyarto Do you pressed save after changing the port?
HI! When I try to change the port to 25565 it never changes, when I look at the settings again it goes back to 19132. Even the file server.properties the port goes back to 19132 again if I try to do it manually in the file. And the minecraft client can't find the server. But if I use the original docker image outside of HA it works fine.
the log show this:
time="2023-02-13T17:54:23-03:00" level=debug msg="Using /share/minecraftbe to match uid and gid" time="2023-02-13T17:54:23-03:00" level=debug msg="Resolved UID=0 from match path" time="2023-02-13T17:54:23-03:00" level=debug msg="Resolved GID=0 from match path" Looking up latest version... Downloading Bedrock server version 1.19.61.01 ... Starting Bedrock server... NO LOG FILE! - setting up server logging... [2023-02-13 17:54:40:643 INFO] Starting Server [2023-02-13 17:54:40:643 INFO] Version 1.19.61.01 [2023-02-13 17:54:40:643 INFO] Session ID 41045b08-a264-4aa9-895d-e80718d16e58 [2023-02-13 17:54:40:644 INFO] Level Name: Bedrock level [2023-02-13 17:54:40:835 INFO] Game mode: 0 Survival [2023-02-13 17:54:40:835 INFO] Difficulty: 1 EASY [2023-02-13 17:54:40:977 INFO] opening worlds/Bedrock level/db [2023-02-13 17:54:42:119 INFO] IPv4 supported, port: 19132: Used for gameplay and LAN discovery [2023-02-13 17:54:42:119 INFO] IPv6 not supported [2023-02-13 17:54:42:664 INFO] Server started. [2023-02-13 17:54:42:714 INFO] ================ TELEMETRY MESSAGE =================== [2023-02-13 17:54:42:714 INFO] Server Telemetry is currently not enabled. [2023-02-13 17:54:42:714 INFO] Enabling this telemetry helps us improve the game. [2023-02-13 17:54:42:714 INFO] [2023-02-13 17:54:42:714 INFO] To enable this feature, add the line 'emit-server-telemetry=true' [2023-02-13 17:54:42:714 INFO] to the server.properties file in the handheld/src-server directory [2023-02-13 17:54:42:714 INFO] ======================================================
Is there a way to change the port correctly?
Thanks in advance!