Looked at the cases threads and someone has like 8 of them strung together.
I've entered the contest already (first reply

mkdir -p /opt
sudo tar zxvf (name of package) -C /opt
rm (name of package)
sudo /opt/jdk1.8.0/bin/java -version
I had exactly the same issue with mine, I had a 16Gb class 10 card still had this issue. I decided not to bother with the minecraft server and use craftbukkit. It runs perfectly, no lag etc. Added bonus is that you can use plugins to make things interesting.Timmeh wrote:Ok so I understand that no one has posted on this thread for a while now but I have a problem. The server is working absolutely fine, very little lag with up to about 5 players. The only thing is there is a glitch where you destroy a block but then it reappears and you have to wait up to a minute for it to disappear. It is annoying and takes all the fun out of the game. Anything that I could try would be much appreciated. Raspberry Pi 512mb ram 4gb sd card
Thanks again
Tim
Code: Select all
#!/bin/sh
BINDIR=$(dirname "$(readlink -fn "$0")")
cd "$BINDIR"
sudo /opt/jdk1.8.0/bin/java -Xms240M -Xmx384M -jar spigot.jar
Code: Select all
cd spigot
screen sh spigot.sh
What are your settings of DynMap I can't run it smooth. Maybe it's possible to post your dynmap settings?Hiradur wrote:Sure, use a Shell script like this one (it's for spigot, if you use mc vanilla server you should only need the last line and edit the .jar file name.
spigot.sh in /home/pi/spigotand in home/pi I start the server with <sh spigot.sh> with this script:Code: Select all
#!/bin/sh BINDIR=$(dirname "$(readlink -fn "$0")") cd "$BINDIR" sudo /opt/jdk1.8.0/bin/java -Xms240M -Xmx384M -jar spigot.jar
spigot.sh in /home/pibtw: Spigot runs like a charm with 5 people online on my Pi 512MB. I have a total of 6 plugins running including NoSpawnChunks. I tried out Dynmap which renders your map and delivers an interface for your browser to see player movement and blockplacing live. It's super smooth in very low res mode and still looks good.Code: Select all
cd spigot screen sh spigot.sh
Only problem I got is that redstone circuits are super slow and slow down the server from an average of 19TPS to ~6 TPS if a clock is involved. Very sad since I love redstone circuits...
What do you mean with "can't run smooth"? Not working at all, slowing down your server or slow webpage loading?SkittyNL wrote:What are your settings of DynMap I can't run it smooth. Maybe it's possible to post your dynmap settings?
then start your server withapt-get install screen
if you use a startup script. If not it should bescreen sh startupscript.sh
to switch from running server to terminal use ctrl a+d and to resume your session (e.g. to stop the server) use screen -r.screen /.../java mc_server
I've tried it again and it's now working better. I've changed the dynmap map render settings to the old default render settings. I also changed renderinterval to 2 seconds but I will set it to 5 or 10 seconds. I hope that works better. I'm also using the standard Raspbian version but I think that doesn't matterHiradur wrote:What do you mean with "can't run smooth"? Not working at all, slowing down your server or slow webpage loading?SkittyNL wrote:What are your settings of DynMap I can't run it smooth. Maybe it's possible to post your dynmap settings?
I'm currently not at home but I think the only changes I made are setting renderinterval from 0.5 seconds to 10 seconds and disable rendering of nether and the end. After some days I switched to an interval of 120 seconds because we don't use it's live feature, we only use it for orientation and to see what we have built already. with the high renderinterval it isn't really live anymore but it runs much better.
However sometimes it doesn't update automatically after its renderinterval. Even after 10minutes there is no update and i have to use /dynmap updaterender. Haven't found out the problem yet but it doesn't happen very often... Maybe you got the same problem and it happens to you more frequently?
Oh, I also use SirLagz' Raspbian Server Edition. This OS takes much less RAM, don't know the exact number but I'll check it later.