[Xperia Play Themes and Apps] leots:
Hello everyone! This is a simple guide on how to run a Minecraft Server on your Xperia Play. Note that this is not a Minecraft Pocket Edition server, it is a server for the full version of Minecraft for computers!

This is my first guide ever, so if something isn't clear or is missing because I thought it was obvious, ask me!

Why do this?

I did this to see if I could get it running. If you do it, you will be able to carry your Minecraft world with you whenever you go! You could run the server on the computer that you're using to connect to the server, but what if you only have your Xperia Play and a friend's laptop with you? :P

What you will need:

- Your phone

- Root access to your phone

- Working Busybox on your phone

- A kernel that supports loop devices (I am using the stock GB rom and DooMKerneL and it works fine)

The limitations that the server will have:

- It will be creative mode, because survival mode makes it crash more

- It will only be able to handle 1-2 players because it's a phone

- It will be slow (especially with redstone) because it's a phone

- The world will be flat because it crashes a lot less if the world is flat

- There won't be any mobs, npcs or monsters.

But it will work!!! :D

So, let's start!

1. Download the "Ubuntu Installer Free" app on your phone

2. In the app, press Install Guides > Ubuntu 12 Install Guide > Next

3. Say "Unicorn" three times (this step is optional)

4. Download the Boot Script and the Core Ubuntu Image with the two buttons that you see in the app. It is important to download the

core

image, and not the small or large images.

5. Also download the Terminal app on your phone if you don't have it already. (the app has a button for that, too!)

6. Close the Ubuntu Installer app, and make a folder on your SD card named "ubuntu" without the quotes. Then decompress the files that you downloaded (the script and the core image) and put their contents in that folder. Your "ubuntu" folder should now have these files inside it: ubuntu.sh, ubuntu.img

7. Open the Terminal that you downloaded in step 5 and write these commands:

su
cd sdcard/ubuntu
sh ubuntu.sh

Because this is the first time you are running it, it will ask you for a password. Enter one and remember it or write it somewhere in case you need it later. Then it will ask you for a resolution, but this doesn't do anything since you won't have a GUI so enter "800x480" and then enter "y" to make this the default.

If Ubuntu doesn't boot, try updating your busy box. If you don't get Ubuntu working, you won't be able to continue from here. You will know it has booted when you see root@localhost:/#

8. Now you have to install Java, nano and wget. To install these enter these commands:

sudo apt-get install openjdk-7-jre
sudo apt-get install icedtea6-plugin
sudo apt-get install wget
sudo apt-get install nano

you can also enter this to install cowsay because it is epic but this is completely unrelated to this guide:

sudo apt-get install cowsay

9. Now that you have Java and the other things installed, you have to download the minecraft server and put it in a folder of your sdcard. First, go to your sdcard with the command:

cd sdcard

Then create a folder to put the server in and go to it with the commands:

mkdir mcserver
cd mcserver

Now you have to download the file minecraft_server.jar and put it in the folder that you created (mcserver for me)

You can do this with a browser and a file manager, or with the command:

wget https://s3.amazonaws.com/MinecraftDownload/launcher/minecraft_server.jar

10. It's time to configure the server! To do this, we will create the file server.properties by running the command:

nano server.properties

then copy this and paste it into nano:

#Minecraft server properties
#Tue Jun 26 14:43:57 EEST 2012
allow-nether=false
level-name=world
enable-query=false
allow-flight=false
server-port=25565
level-type=FLAT
enable-rcon=false
level-seed=
server-ip=
max-build-height=64
spawn-npcs=false
white-list=false
spawn-animals=false
online-mode=false
pvp=false
difficulty=0
gamemode=1
max-players=2
spawn-monsters=false
generate-structures=false
view-distance=3
motd=Minecraft Server on a phone!

(as you can see, this puts the server into offline mode. I did this because when it is in online mode it has to check the username online and you are likely to get a time out error)

Then you have to press CTRL + O to save the file. This is very easy to do if you have installed the Hacker's Keyboard from Google Play (it's free). If you don't have it and don't want to install it you can use a file manager like Root Explorer to create the file, or press menu > special keys in the Terminal and figure out how to press CTRL with a hardware button. After you press CTRL + O press the enter key and then CTRL + X to close nano.

11. You should now be able to start the server! Do this with the command

java -Xms512M -Xmx512M -jar minecraft_server.jar nogui

It will create a flat world and start. Then you should be able to connect to it from Minecraft on your computer.

Yay! You got it running! A server on your phone! :good:

To stop the server enter the command "stop" and then to shutdown Ubuntu enter "exit", all without quotes.

I guess that if you got it running, you'll be able to figure out how to start it again the second time so I won't cover that.