#Ip address for hive minecraft server manual# Open Minecraft, go to Servers, pick "The Hive"ĭont worry - youll automatically join the one closest to you With servers launching in Japan in the near future, the best experience is guaranteed for everyone. Since the basic idea is quite simple (tell your Switch to do DNS queries to your own DNS, setup your DNS so that work points to your self hosted server), changing from Linux to Windows or Mac, or from dnsmaq to your favorite DNS server, should all be quite straightforward. #Ip address for hive minecraft server windows# I had a few issues, dnsmasq-base was already installed but I actually needed to install dnsmasq: sudo apt install dnsmasq It works for me too as of the 17th of May, 2019. On a new install of Ubuntu Server LTS 18.04.2 I had an issue with port 53 being in use. #Ip address for hive minecraft server install# I tried disabling systemd-reserved which is the default, but I finally I resolved it by sudo nano /etc/nfĪt the top of the file, was about the 10th line down. Screen -d -m -S DNSMASQ /usr/sbin/dnsmasq -d -C nf In the script I'm using screen to run the command in u/ateijelo's post: #/bin/bash I did it this way:Ĭreate a script in the same directory as the nf, mine's called dnsmasq.sh, make it executable touch dnsmasq.sh Then sudo systemctl restart rviceĪlso, some other tips, rather than manually running it every time you boot the server, you can do it automatically on reboot. You notice it doesn't have sudo in it any more, so we need to run it as root, so we need to edit the root crontab sudo crontab -eĪdd the following cd &. dnsmasq.shįor example, mine looks like this: cd /home/minecraftserver &. Paste the following in (change User= and WorkingDirectory= to your username and working directory first): ĮxecStart=/bin/sh -c "LD_LIBRARY_PATH=./bedrock_server" Now that DNS is running when you reboot the server, why not have the Minecraft server restart on reboot too? sudo nano /etc/systemd/system/rvice To get out of the screen while leaving the dnsmasq running: ctrl+A, ctrl+D Then you can get into the screen by using: screen -r To see the incoming requests you first need to become the root user: sudo -i Now root will run the script every time you reboot and it will run in a screen so you can view it without stopping it. Now you can manage the server with systemd: #start the serverįinally, to get this working outside of my home network I use my domain name. If you have one, simply create A Record pointing at your public IP which you can get at, then I forwarded ports 19132 (minecraft) and 53 (DNS) on my home router to the server's local IP address. #Ip address for hive minecraft server windows#.#Ip address for hive minecraft server download#.#Ip address for hive minecraft server manual#.#Ip address for hive minecraft server install#.
0 Comments
Leave a Reply. |