MineDojo/Voyager

Can we use the minecraft-server instead of minecraft-client?

MeMeTaTa opened this issue · 11 comments

Because my server doesn't have the gui. Could the voyager run in a nogui server with minecraft-server?

Yes, Mineflayer works on a headless server theoretically. However, we didn't test it. You may need to do some investigation yourself. The key point is publishing the server to LAN and getting the mc_port. Then you can use mc_port to connect to the game and play.

Yes, it works. Will write the docs later today

i mean could the voyager interactive with minecraft-server directly?

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2023年6月7日(星期三) 下午5:55 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [MineDojo/Voyager] Can we use the minecraft-server instead of minecraft-client? (Issue #88) Yes, Mineflayer works on a headless server theoretically. However, we didn't test it. You may need to do some investigation yourself. The key point is publishing the server to LAN and getting the mc_port. Then you can use mc_port to connect to the game and play. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

I managed to run Voyager on the server without gui as shown in the following. Left: the output of Voyager, right: the output of the Minecraft server (headless).

image

Yes, it works. Will write the docs later today

@theblazehen Hi, have you successfully reproduced the results with MineCraft Server? I tried many times on running the code with MineCraft server and the results were very bad.

@GoingMyWay Yeah, it works. Check out https://github.com/MineDojo/Voyager/pull/100/files

Great. Thank you @theblazehen. BTW, how did you manage to set the right configurations of the server, especially the value of spawn-protection?

I'm not sure I understand your question @GoingMyWay ?

This issue is stale because it has been open for 30 days with no activity.

This issue was closed because it has been inactive for 14 days since being marked as stale.