That depends on your router. Some are easier to set up than others.kworley97 wrote:Is anybody else having trouble port forwarding to the pi? For some reason the port wont open up.
What error message do you get?KRIS537 wrote:Hi first off great thread was helpful to me in getting my set-up but im a little on step 16
16) To run the actual server," sudo /opt/jdk1.8.0/bin/java -Xms128M -Xmx256M -jar /home/pi/minecraft_server.jar nogui"
Im running the 512mb Rev B with 16mb to the gpu. I have amended the above to
sudo /opt/jdk1.8.0/bin/java -Xms256M -Xmx496M -jar /home/pi/Minecraft_Server/minecraft_server.jar nogui
But I keep getting error message. Have I done anything wrong.
ALso when using windows i have a bat file with the above info in, is there a way to have something similar on the RPi save having to type that in each time?
Worked out the error in end, the RPi had not downloaded the jar file correctly. So its all up and running thanks. Will have a go at creating a script thanks.randrade wrote:What error message do you get?KRIS537 wrote:Hi first off great thread was helpful to me in getting my set-up but im a little on step 16
16) To run the actual server," sudo /opt/jdk1.8.0/bin/java -Xms128M -Xmx256M -jar /home/pi/minecraft_server.jar nogui"
Im running the 512mb Rev B with 16mb to the gpu. I have amended the above to
sudo /opt/jdk1.8.0/bin/java -Xms256M -Xmx496M -jar /home/pi/Minecraft_Server/minecraft_server.jar nogui
But I keep getting error message. Have I done anything wrong.
ALso when using windows i have a bat file with the above info in, is there a way to have something similar on the RPi save having to type that in each time?
Just create a bash script (sudo nano minecraft.sh) and type it in. To run it, sudo bash ./minecraft.sh
Have you added your user name into the ops and white list?cheesepig85 wrote:Hi, I followed your instructions, but when I try to join the Pi server I am greeted by this error:
Does anyone have any idea how to fix this? Much appreciated.
If you have lag you can:KRIS537 wrote: Worked out the error in end, the RPi had not downloaded the jar file correctly. So its all up and running thanks. Will have a go at creating a script thanks.
One issue im having is with lag. If I destroy blocks they disappear and reappear then approx 2-4secs later disappear, will check that my GPU has the 16mb assigned tonight. Also what mem range do people use im currently using Xms256M -Xmx496M, i assume the Xms is the small minimum mem usage and Xmx is the max?
While you should be able to get a server running mostly smoothly without Craftbukkit & NoSpawnChunks, it's definitely, definitely a lot easier on the modified server.KRIS537 wrote:still finding too much lag. most things are working well terrain generates quickly the only pain is when mining, chopping trees etc the blocks dont always disapear and have to mine them 3-4 times to eventually they do. Its at max overclock too. So going to try it on Bukkit with NoSpawnChunks add on
Thanks so much for the help much appreciated!!r00x wrote:My net speed is terrible (~3-4Mbps/0.8-1Mbps Down/Up respectively) but two players will still get a smooth experience.
Reduce any activity which causes data transfer for smoother play, for instance:
- Reduce server viewing distance (less terrain data transferred when moving around)
- Reduce number of mobs, or remove them entirely
- Reduce how fast you explore (not so much sprinting!)
- Try to stick together when playing
Is it running slowly for you locally? If so the problem is not your Internet connection but the Pi's/minecraft's configuration. If it were the net you'd find it ran smoothly for you locally but laggy for remote players. A good litmus test is destroying a block and seeing if it instantly drops (running well) or if it reappears and drops a second or two later (not running well).