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 afchlam
      Hello!
      I have started a custom mod pack with these mods and whenever I load into the server I cannot craft or spawn non-vanilla objects and only vanilla mobs spawn. I have the gravestone mod installed, yet on death, I drop all items and no gravestones appear. Despite this, I can use NotEnoughItems for recipes and all items show up, vanilla and modded, when I use the /give command I cannot TAB and get other mod items through that. Whenever I attempt to spawn in a non-modded item it gives the error 'Item XXXX was not found.' I have looked up countless other places and all I can find is the configuration files are not the same, yet this error still occurs after an estimated 5 trials after copying the configuration files to the server. I have tested the exact same mod pack in survival and it works. Does anyone have any idea how this happens? This has to be an error with something server-side, maybe something is messed up in how I set up the files. I can also see the creative tabs and all of the item textures and even place the item in my inventory, but when I attempt to place it the item disappears from the inventory and does not place.
      I have the start-up batch file run off of the 'minecraft_server.1.7.10.jar ' file, but also tried running the forge file using my script file, which does not do anything, literally. I even attempted to run the 'minecraft_server.1.7.10.jar' file directly without a script file, same result.
      This is the script I have for my start-up script:
       
      Thank you in advance.
    • By Henrikero
      Hi, I was wondering if anyone wanted to create a small tekkit classic server together with me. Just a plain simple little community where we build stuff and have fun?
       
    • By TB Relays
      When I turn my server on it allow me to join but my friends can not. please help!
    • By RyanSandyz
      I was hosting a Tekkit Legends server through my laptop and also playing on the server through it as well. My girlfriend used hamachi to connect to the server and now I am trying to use hamachi to connect to it as well from my desktop. Whenever I put in the IPV4 address of my laptop into the address bar in direct connect it I get the error message "Failed to Login: Invalid session (try restarting your game)". And yes I have tried restarting it.
    • By RyanSandyz
      I was hosting a Tekkit Legends server through my laptop and also playing on the server through it as well. My girlfriend used hamachi to connect to the server and now I am trying to use hamachi to connect to it as well from my desktop. Whenever I put in the IPV4 address of my laptop into the address bar in direct connect it I get the error message "Failed to Login: Invalid session (try restarting your game". And yes I have tried restarting it.