Archived

This topic is now archived and is closed to further replies.

Bresey

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

5 posts in this topic

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!

Share this post


Link to post
Share on other sites

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"?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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).

Share this post


Link to post
Share on other sites

  • Similar Content

    • [1.7.10] 60 Slots Only! [Pvp] [Factions]
      By XkillerDomx/Dominic
      http://technicpack.net/modpack/rainbowz.851693
      New and friendly server made by a muti server owner, 
      Blazing War, A stop for Warriors to pick up a sword and fight it out, While Playing Factions With some of the Best mods, A LOT of tech mods, Adventure mods, And More!,  Please Rember we are still WIP
       
      IP is AUTO http://technicpack.net/modpack/rainbowz.851693
       
      http://technicpack.net/modpack/rainbowz.851693
    • [1.9.4][1.7.10]Pughland Modded Minecraft for Adults (18+) Custom Modpacks [Whitelist] [PVE] [20 slots]
      By Kwpugh
      PUGHLAND MODDED MINECRAFT FOR ADULTS (18+)
      Open to adult players age 18 and older.   We currently have two modpacks and associated whitelist servers. 
       
      Modpacks:
      Pughland TPM 1.7.10
      Pughland Unus Novem (1.9.4)
       
      More details about our community: http://pughland.enjin.com/home
      New players can apply here:  http://pughland.enjin.com/newplayer
    • Copying Osx Natives (Mac) modpack won't launch.
      By tropical511
      When I start my modpack I created (Forest,Space,and Beyond) I fixed all the previous errors except "copying OS X natives" When loading up the modpack it loads some stuff then it goes to "copying OS X natives" and is at 0% and just stop there. The modpack won't start. Iv'e tried to restart the launcher, restart the loading of the mod, re-install it ect. I saw someone had this same problem on the forums but I lost their post. Can anyone help me plz? D: Tell me if you need any further information. 
       
      My modpack version is: 1.7.10
    • Mac launcher won't open packs
      By apollo_justice_
      I've seen this question asked a lot, but I haven't seen any fixes for Macs. The launcher says "Copying OS X natives", tries to open the modpack, and then just goes right back to the launcher. None of the other questions had any help for a Mac. I'm using OS X Mavericks, if that's important.
    • Looking for a Team pvp server
      By INF0RM
      I'm looking for a modded server with no plug-ins that has a team bases pvp like they did in the crackpack. I haven't been able to find anything close to that so please help me:)