ok, so I have multiple versions of a game running(minecraft). I use one version of minecraft for my younger brother, and one for myself. In windows, there's my minecraft.bat file:

set APPDATA=E:\backup\Minecraft\minecraft folders\1.8 MC\data

this is for me, and starts minecraft from mu hard drive, instead of Appdata. now I completely removed windows, and use an ubuntu-only computer. is there any way to do this?

  • is there any way to do this in ubuntu? – techgenius101 Jun 24 '15 at 12:37

As far as I understand, (I only have a basic working know how of how to run minecraft server) you would want something like this.

Install screen if you dont already have it

sudo apt-get install screen

screen -S "Minecraft server Me"

cd /location/of/minecraft/config/

Fire up the minecraft server once you have located the config like this

java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogu

For your brother

screen -S "Minecraft server Brother"

cd /location/of/minecraft/configforbrother/

Start up his instance

java -Xmx1024M -Xms1024M -jar minecraft_serverbrother.jar nogui

This however will only allow you to run one minecraft server at a time. You can however change the port the the minecraft server binds to when it starts and run multiple minecraft servers at the same time.

Have a look here for more indepth explantions on how to run minecraft on linux

  • what? it didn't work – techgenius101 Jun 24 '15 at 13:13
  • You need to change this - cd /location/of/minecraft/config/ to the actual directory. Did you follow the guide I posted at the bottom? – deanvz Jun 24 '15 at 13:19
  • but this is for a server. it doesn't work for me. – techgenius101 Jun 24 '15 at 13:29
  • by config do you mean the ".minecraft" folder? – techgenius101 Jun 24 '15 at 13:30
  • this is the title of the guide "How To Set Up a Minecraft Server on Linux". – deanvz Jun 24 '15 at 13:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.