#Mac Server Help

1 messages · Page 1 of 1 (latest)

surreal ice
#

Ok, so I have 3 questions

Question #1 is resolved. Thank you! ||1) I have a local server on a Mac computer, and I want to play Minecraft on said server via my Windows game PC. Both are plugged into our ethernet and I confirmed people outside our home can access the server if whitelisted. However, despite shutting down firewalls and antivirus, etc. I can Minecraft play on the server Mac computer, I cannot access my server from the gaming PC. How do I fix this?
||
2) On my Mac server, and for someone who is not tech savvy like me, how do I expand the RAM for the Minecraft server? (I want to do 8 gb; at this time, since the server was only set up yesterday, I don't know how much RAM the server has.

  1. How do I run my server in terminal? Others have recommended it but I just click the .jar file to start and it opens up a "Minecraft Server" window on my Mac computer.

  2. How do you tie yor Minecraft server IP to a website? That way people can type in words rather than the numbers for the server IP to join?

Note - I'm not a programmer or even familiar with very many terms so helping me will be helping someone that's a total newb. I apologize in advance for asking a billion more questions. I also want to thank in advance anyone who is still willing to help <3

tiny ice
# surreal ice Ok, so I have 3 questions Question #1 is resolved. Thank you! ||1) I have a loc...
  1. Not all routers loopback correctly if you use the public ip adress. Use the internal one instead

  2. The -Xmx and - Xms arguments control the heap size that the server can use. Do note that it will use some offheap memory as well so do take that in to a count. I recommend you check out https://docs.papermc.io/misc/tools/start-script-gen

  3. I recommend you use a start script. See link above

#

For 1 you should be able to use the ipconfig to find it or in system settings under advanced network settings & TCP/IP

plucky spire
#

remember to not allocate the whole of the RAM to the server, as the OS needs RAM to function too

surreal ice
surreal ice
surreal ice
plucky spire
#

because if you try to execute it directly, you have to remove the shebang (the 1st line, aka #!/usr/bin/env sh is what is called a "shebang")

#

I recommend saving it to a file though (or just press the download button in the script gen site), you may have to make it executable by giving it the permission, you can do that with chmod +x <file name>

#

then you can execute it by doing ./<file name>

plucky spire
tiny ice
#

And when it comes to Java it's also the part of memory where you as a user can control the size