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

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

    • By xfalcon
      Hello, I'm getting the following error when starting up my server. Can someone help me resolve it please? Thanks in advance. The modpack is Tekkit Classic.
      [email protected]:~/tcs# ./launch.sh 182 recipes 27 achievements 15:56:04 [INFO] Starting minecraft server version 1.2.5 15:56:04 [INFO] Attempting early MinecraftForge initialization 15:56:04 [INFO] Completed early MinecraftForge initialization 15:56:04 [INFO] Forge Mod Loader version 2.2.91.173 for Minecraft 1.2.5 loading 15:56:04 [SEVERE] Unable to process our input to locate the minecraft code 15:56:04 [SEVERE] cpw.mods.fml.common.LoaderException 15:56:04 [SEVERE] at cpw.mods.fml.common.ModClassLoader.getParentSources(ModClassLoader.java:77) 15:56:04 [SEVERE] at cpw.mods.fml.common.Loader.load(Loader.java:374) 15:56:04 [SEVERE] at cpw.mods.fml.common.Loader.loadMods(Loader.java:606) 15:56:04 [SEVERE] at cpw.mods.fml.server.FMLBukkitHandler.onPreLoad(FMLBukkitHandler.java:134) 15:56:04 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:135) 15:56:04 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:438) 15:56:04 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) 15:56:04 [SEVERE] Unexpected exception cpw.mods.fml.common.LoaderException at cpw.mods.fml.common.ModClassLoader.getParentSources(ModClassLoader.java:77) at cpw.mods.fml.common.Loader.load(Loader.java:374) at cpw.mods.fml.common.Loader.loadMods(Loader.java:606) at cpw.mods.fml.server.FMLBukkitHandler.onPreLoad(FMLBukkitHandler.java:134) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:135) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:438) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) >  
    • By Thomasmr11
      Hi folks,
      I set up a tekkit legends server and, long story short, when I run the .bat file to launch it, it gets some way through the launch and then just crashes. Below is a copy of the crash report:
       
      http://paste.ubuntu.com/25527703/
       
      So if anyone is able to decipher that and explain whats going on, I would greatly appreciate it.
      Thanks, Tom
       
    • By Gorax
      Ahoy me hearties! Get out yer map and plot a course over to my server Crimson Tides! But be forewarned these waters are no place for the weak, only the toughest most ruthless scallywags and buccaneers will surivive!  Build a ship, make your own crew (faction)  set up a secret hideout on an island, then give yer' enemies a one way ticket to Davy Jones Locker!!! but most of all watch yer backs and try not to get cut down like so many pirates before ye!
      Link to technic pack https://www.technicpack.net/modpack/crimson-tides-2.1092855
      Discord Link https://discord.gg/FSZ9au5 It is a 1.7.10 factions server, pirate themed ofc all are welcome!

    • By StarStrike103
      Ok, I have a forge modpack 1.7.10. I've set up a server with mods and forge and everything and it works fine.
      But the issue is, is I want plugins in my server.
       
      Any help?
      Also, my plugins will only use forge - nothing else.
    • By Jronz23
      Trying to launch a modded Tekkit legends server for me and my friend but the server will not launch. Included logs