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] ⚙ World Automation Revived! ⚙ [PvE][PVP][90 slots][Survival][Creative][Custom]
      By t0rched
      Brought to you by the same developers,
      we are proud to introduce World Automation Revived!
      Click Here to Visit our Fully MC Integrated Site
      Custom Survival/Creative Mod Pack and Server Community 
      Our mod pack is designed, maintained and even hosted by our community.
      Constantly updated and perfectly tailored to players tastes.
      Latest releases of your favorite mods and Spigot/Bukkit plugins.
      We provide a unique mod pack experience that lets you choose what gets added, removed and even tweaked.
      Come join our community at https://www.worldautomation.net.
      We have a dedicated server waiting for you, filled with adventure!
       DEDICATED, FAST AND RELIABLE SMP Server: 16GB RAM / 16 CPU's / SSD / 1Gbps 
      CREATIVE / SURVIVAL / PLUGINS / PROTECTION / PVP / ECONOMY / LOOT CRATES / COMMUNITY DEVELOPED
      Technic Page: http://www.technicpack.net/modpack/worldautomation
      Custom Launcher Available 




       
       
       
       
       
    • New Anarchy Voltz Server
      By EthKomet
      We just launched a brand new Voltz server. it is a full anarchy server! No rules, No banned goods, dupes allowed, honestly we don't care what you get up to. Exploit the modpack all you want, war all you want, and have as much fun as you want. Check out our server pager here : http://www.kittenwar.com/ or just join directly with our IP :  http://www.kittenwar.com/
      Hope to see you on the server!

    • [1.7.10] Runescape [PvE] [100 slots] [Survival] [Skills] [Quests]
      By stephen92
      Welcome to Evolvecraft Gaming Network
       
      Do you love Runescape? Or maybe even WOW...... Maybe any decent mmorpg? Well if you answered yes to any of the above then you are at the right place.


       
      I introduce to you, Runescape in Minecraft!!! Now this is not going to be an easy journey, you will have to grind just like in most all mmorpgs.


       
      There is over 25 skills to master and level up, there is a 1 of a kind economy system with merchants! The list goes on and on.


       
      Best of all, you are able to do all this on a dedicated server where you can join your friends or even enemies! Yes, there is pvp, it will not be easy but I promise you this.... It will be challenging, which lets face, Minecraft is no challenge.


       
      Your journey awaits you!!!


       
      (the server is already in your server list when installing the modpack) but just incase: rs.evolvecraft.com

       
      Link to modpack: http://www.technicpack.net/modpack/runescapemc.918682
      Ip: rs.evolvecraft.com
      Website: http://www.evolvecraft.com/
    • [1.7.10] To the Moon & Back [PvE] [100 slots] [Survival] [Galacticraft] [Buildcraft] [Industrialcraft]
      By stephen92
      Welcome to Evolvecraft Gaming Network
       
      To The Moon & Back is a new take on Galacticraft. Once you get to the Moon there is not much to do other than build a base and survive...
      What we have done here is bring technology and industrial possibilities to space, and not just the moon, there are over 30 different dimensions for you to explore.
      Build a house or an entire fully automated space station with much much more to offer in the overworld than anything before.
      What lies before you is more than just a rocket ship to get you to the Moon, there is an entire solar system to explore and build!
      Our server is already added into the server browser for you to enjoy your journey with others! Along with that is our Hub you can connect to to see what else we have to offer!
       
      Link to modpack: http://www.technicpack.net/modpack/to-the-moon-back.912219
      Ip: moon.evolvecraft.com
      Website: http://www.evolvecraft.com/
       
      There is over 15 mods in this pack which are listed below:
      Galacticraft
      GalaxySpace
      BiomesOPlenty
      Buildcraft
      Industrialcraft
      MineFactoryReloaded
      Tinkers' Construct
      Forestry
      Pam's HarvestCraft
      NetherOres
      ModularPowersuits
      Wawla
      Fastcraft
      Carpenter's Blocks
      Hats
      HatStand
      Ironchest
      Sync
      & More!
       
       


       
    • Server Issues
      By SamPhoenix8991
      I have a server set up and working for a custom modpack, originally based off FTB infinity - which I ran perfectly fine.
      The modpack I created has about 50 fewer mods (However the mods included are not all the same), but the server has awful lag. My internet connection is fine and RAM usage sits at about 50% but the CPU usage gets to 80-90% at launch and then continues to sit around 75-85% for no apparent reason.
      I have included a picture of all the mods below.