Jump to content

Recommended Posts

Posted

I tried using the installer to install the forger server, but it only makes run.bat and run.sh. Both of which cant be run on mac. Is it possible to make a Forge server on mac?

Posted

I here use mac - It's m preferred OS - bully me

 

a .sh file is a mac's equivalent for a .bat file.

Go into terminal, and cd into the current directory (for me, /Users/me/Desktop/ForgeServer)

then, "sh run.sh"

 

hope this helps!

  • 2 months later...
Posted

It took me a while to figure this out but on mac you can delete the run.sh file and then rename the run.bat file to run.command and inside of the run.command post this command:

#!/bin/bash
cd "$(dirname "$0")"
exec java @user_jvm_args.txt @libraries/net/minecraftforge/forge/1.18.2-40.1.0/unix_args.txt nogui "$@"

Posted
  On 6/14/2022 at 7:34 PM, PlzHelpImDying said:

It took me a while to figure this out but on mac you can delete the run.sh file and then rename the run.bat file to run.command and inside of the run.command post this command:

#!/bin/bash
cd "$(dirname "$0")"
exec java @user_jvm_args.txt @libraries/net/minecraftforge/forge/1.18.2-40.1.0/unix_args.txt nogui "$@"

Expand  

Why did you basically just say "Delete the unixy script then change the Windows one to be unixy"?

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.