Jump to content


Photo

Attack of the B-Team Server Setup on Mac [HELP]

attackb-team mac server tutorial fix setup

  • Please log in to reply
4 replies to this topic

#1 Bresey

Bresey

    Member

  • Members
  • Pip
  • 3 posts

Posted 02 March 2014 - 10:58 PM

Hey so I'm trying to setup my own AOTBT server on my Mac, but I'm not sure what I need to fix. I've setup a vanilla server on my mac, so I have somewhat of an idea of setting it up, and have already forwarded my port.

One thing I noticed was that the 'launch.bat' file will not open saying that I dont have the proper application to open it.

If there's anyone that can help me with setting it up, or letting me know if it's even possible to setup on a mac, it would be much appreciated!



#2 Loader

Loader

    Member

  • Members
  • Pip
  • 1363 posts

Posted 02 March 2014 - 11:25 PM

Try making a file called launch.sh in that folder with the following text in it;

 

#!/bin/bash
cd "$(dirname "$0")"
exec java -Xmx3G -Xms2G -jar BTeam.jar nogui
 
So you know what that does;
#!/bin/bash
Tells MacOS which script interpreter to use for the following lines (Bourne Again Shell)
cd "$(dirname "$0")"
Makes the script run in the current directory that you clicked it on in the MacOS GUI
exec java -Xmx3G -Xms2G -jar BTeam.jar nogui
This one's like the windows one essentially, it translates to;
Run the Java compiler with maximum allowed memory 3GB, start with 2GB allocated memory, open the BTeam.jar file and use the nogui argument on it (doesn't display the full server window, minecraft thing).
 
Then it should "Just Works"?

I am not a moderator and have no affiliation with the Technic team, I am a player like you.  If I'm helping you it's because I feel like it, and if I'm asking you for information it's because I'm interested in it, or I need it to help you.

 

Need help quickly?  Find a lot of helpful people here;

How to get the crash report people will need; Getting a Crash Report or Launcher Log - Guidelines to posting on Tracker

Can't start B-Team?  Post here; Attack of the B-Team Bugs and Support Tracker

Can't download a modpack?  Post here; Technic Launcher Bug and Support Tracker


#3 Bresey

Bresey

    Member

  • Members
  • Pip
  • 3 posts

Posted 02 March 2014 - 11:45 PM

Should i create a start.command text for it? The launch.bat doesnt work.



#4 Bresey

Bresey

    Member

  • Members
  • Pip
  • 3 posts

Posted 02 March 2014 - 11:49 PM

http://gyazo.com/373...de5ea34d762fd0b


Edited by Bresey, 02 March 2014 - 11:50 PM.


#5 Loader

Loader

    Member

  • Members
  • Pip
  • 1363 posts

Posted 03 March 2014 - 02:12 AM

Yeah, call it launch.command instead if you just want to be able to click it, that's fine.  It should have the same thing in it as that launch.sh example I gave you (a .sh file is just a .command file that needs to be run from the console anyway).


I am not a moderator and have no affiliation with the Technic team, I am a player like you.  If I'm helping you it's because I feel like it, and if I'm asking you for information it's because I'm interested in it, or I need it to help you.

 

Need help quickly?  Find a lot of helpful people here;

How to get the crash report people will need; Getting a Crash Report or Launcher Log - Guidelines to posting on Tracker

Can't start B-Team?  Post here; Attack of the B-Team Bugs and Support Tracker

Can't download a modpack?  Post here; Technic Launcher Bug and Support Tracker






Also tagged with one or more of these keywords: attackb-team, mac, server, tutorial, fix, setup

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users