Minecraft Server
#7
(04-09-2016, 04:31 PM)androsch Wrote:
(04-09-2016, 06:37 AM)LMHansen Wrote: I found that I had to reduce the render distance in the server.properties file from 10 to 6, or there would be a lot of lag, and the server couldn't keep up generating chunks.
Cool, got my own minecraft server running also. While i'm not familiar with playing (my son plays it all the time) but interested in tuning the server.properties for him, can you kindly give some hints what you exactly did?
Keep mining.... Wink

You need to edit the server.properties file in the folder where the .jar file lives. There's a line "view-distance=10", which defines how far a player can see. Default is 10 chunks. This is too much for the server to handle, even for a single player. I reduced this value to "6", and that removed all the lagging and complaints from the server. 

Additionally, some tuning is needed for java to get the best out of it ... I start it like this:

java -server -d64 -Xmx1536M -Xms1024M -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XX:+CMSIncrementalPacing -XXTonguearallelGCThreads=1 -XX:+AggressiveOpts 
-jar minecraft_server_1.9.2.jar nogui 



I'm not sure of -d64 is needed as -server is specified, but it won't hurt. Most of the rest of the options deals with memory management and garbage collection.

I also used this to set up minecraft as a service: http://minecraft.gamepedia.com/Tutorials...tup_script


Messages In This Thread
Minecraft Server - by chrislink14 - 01-19-2016, 08:07 AM
RE: Minecraft Server - by hazerty - 01-19-2016, 08:54 AM
RE: Minecraft Server - by Dizzy49 - 01-22-2016, 06:06 PM
RE: Minecraft Server - by hazerty - 01-23-2016, 06:56 AM
RE: Minecraft Server - by LMHansen - 04-09-2016, 06:37 AM
RE: Minecraft Server - by androsch - 04-09-2016, 04:31 PM
RE: Minecraft Server - by LMHansen - 04-10-2016, 05:32 AM
RE: Minecraft Server - by androsch - 04-10-2016, 06:02 AM
RE: Minecraft Server - by LMHansen - 04-10-2016, 09:13 AM
RE: Minecraft Server - by damikeh - 04-12-2016, 03:20 AM
Minecraft Server - by androsch - 04-15-2016, 12:46 PM
RE: Minecraft Server - by damikeh - 04-16-2016, 05:26 AM
RE: Minecraft Server - by androsch - 04-16-2016, 05:41 AM
RE: Minecraft Server - by pine.tree - 04-18-2016, 07:05 AM
RE: Minecraft Server - by By-Jokese - 04-18-2016, 12:22 PM
RE: Minecraft Server - by cbogdan - 04-19-2016, 07:07 PM
RE: Minecraft Server - by jeremycobert - 05-06-2016, 08:03 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Mastodon instance \ Nextcloud Server fearg 1 5,326 03-31-2020, 08:18 PM
Last Post: tllim
  Plex server arghne 59 156,436 07-06-2018, 10:36 AM
Last Post: Moshe.Vazan
  Turn your Pine64 into a music server with mpd JulianM 2 12,024 03-23-2017, 10:50 PM
Last Post: tllim
  Plex server arghne 48 63,858 03-22-2017, 04:15 AM
Last Post: pineadmin
  Pine64 as NAS/Media Server VandaL.pr! 1 6,912 12-27-2016, 10:48 AM
Last Post: Luke
  3d printer server oldsmarracin 3 6,614 09-13-2016, 02:43 AM
Last Post: JAYJAYN
  Cannot install Plex Media Server under Arch Linux malevolent 2 6,478 09-11-2016, 12:20 PM
Last Post: ChrisLane
  Building Stratum One NTP Server lospinos 5 10,616 08-23-2016, 09:23 AM
Last Post: MarkHaysHarris777
  Starbound Server. Is the Pine64 capable? iamfallen 1 4,650 08-03-2016, 10:36 AM
Last Post: MarkHaysHarris777
  Media server montero65 3 7,071 04-28-2016, 06:02 PM
Last Post: queonda

Forum Jump:


Users browsing this thread: 1 Guest(s)