What’s going on gamers today we’re gonna be going over how to optimize your apex server but before we get into the video don’t forget to like the video subscribe and click the notification bell so you can find out when we post new tutorials just like this one one of the biggest Concerns for server owners is lag lag can be caused from a variety of reasons whether it’s from resources you add to your server or the hardware your server runs on however if you host with Apex Hardware shouldn’t be an issue there are many ways you can reduce lag you can get Plugins and help reduce lag you can upgrade your server RAM switch your jar to a more optimized version of Minecraft optimize your files and much much more and with all the solutions you may be wondering what causes lag there are different ways that types of lag can Occur such as TPS latency and FPS lag we’re gonna break down all of the different types of lags and the best way to optimize your minecraft server and now we’re going to go over server lag server lag is represented by TPS a servers TPS or ticks per second is used To quantify the overall health of your service performance much like a heartbeat your server beats at a fixed rate of 20 ticks per second so one tick every point zero five seconds on each tick various aspects of the server advanced a little bit moving of the mob’s the growth of grass moving objects Changing position mobs checking their surroundings and updating their behavior health and hunger and so much more the whole of your server revolves around the beat of your servers TPS when at peak performance 20 TPS you’re gonna receive nominal gameplay without any server side lag but if your servers TPS drops even a Few ticks you’re gonna begin to notice lag on the server TPS on the servers determined primarily by the speed and capabilities of the hardware used to host it while the server’s hardware does play an important role in the server TPS it is not the absolute determinant simply throwing the best Hardware on us Will not guarantee its performance what occurs on the server plays an equal role in determining the server’s TPS mismanagement of one servers can be just as detrimental as adequate Hardware when adding mods or plugins you should be thinking about the long-term effects of your choices many new server owners will Mistakenly assume that the number of people on their server will determine the performance of the server the number of players on the server plays little part in the server’s overall performance the primary cause of TPS drop is a result of what you have going on in your World for modded servers this is way more apparent with all the new blocks and functionality that they provide for each modded block you add that provides some sort of function that the server has to allocate resources to to ensure that the function is carried out now on Its own that one block is of little consequence but if that block forms in array as is typically done with solar panels then the server will need to dedicate more resources to carry out that arrays function and when we break it down we get an idea of how much is Really going on in the background let’s say you have an array of 1,000 solar panels each panel is placed constantly checking the time of day it then checks the immediate surrounding blocks for cables to deliver power to if one cable combines with another array then that Main line is updated with the some power of both of the arrays these updates are happening every point zero five seconds and when combined with everything else it all adds up it’s no surprise to strain it can output on the server that minecraft wasn’t designed to run having Low FPS will generally come with your game behaving slowly if your frame rate is low enough playing the game may feel like watching a slideshow as only a few different frames appear on your screen per second it’ll make the game feel laggy which is the last thing we want Having a low frame rate on your server does not mean that the server is lagging but that your computer is failing to keep up with the game if you do have a consistent low framerate on your PC you’re gonna most likely need to upgrade the graphics Card RAM or the CPU it is very important to know that there is a difference between server lag and low FPS there are going to be times at low FPS and server lag appear at the same time and you may think that the FPS is due to the server Having lag but it is definitely a separate issue the lag is generally from server side saying that it is having trouble keeping up with what’s going on in game if you have low FPS it’s because your computer hardware isn’t fit to run what’s happening in game even if the Server didn’t have lag your client would still have the low FPS for example if you’re playing a server with hundreds of other players running around on your screen you may experience both low FPS and lag the lag occurs because the server is struggling to keep up and Slowing down with so much happening in one place at once one of the low FPS is a result of your computer struggling to display all of those characters on your screen at once replacing or upgrading hardware is not the only way to fix having low @es though in minecraft you Can go to the video settings and reduce all of the functions for example you can turn clouds off so that your computer doesn’t have to try and load them in it’s a good idea to close other processes that you don’t necessarily need this frees up resources that your Computer can dedicate towards the game you can do this by quickly closing anything that’s opening your taskbar it’s worth checking the task manager for background processes as well another thing you can do is switch to the high performance plan in your windows power options to do this navigate to settings System power and click additional power settings on the right side and this is going to lead you to the power options section of the control panel choose show additional plans if necessary and then select the high-performance option another type of lag is called connection lag connection lag correlates directly With ping ping refers to the network latency between side and your minecraft server this reflects how long in milliseconds data takes to process and travel having a low ping is best as lower latency provides a smoother gameplay typically the further away a server is from your physical location the greater latency you’re Gonna have the best way to minimize latency is by finding a server location near you we have multiple different locations at Apex including Oregon Nevada Texas Virginia Quebec United Kingdom France Singapore Poland Australia Florida Brazil and China every one of these locations can be tested for Ping so you can decide which location is best for your minecraft server high latency or ping can cause lag if you have high ping it’s possible that you may time out of the server as they will often disconnect a client if the ping is too high similarly client software will Often mandate disconnection if the ping is too high having a high ping is not something that’s due to lag but it causes lag it may also crash the server because of the instability some of the factors that might affect ping include internet connection speed the quality of a user’s Internet service provider issues with the minecraft servers Network and the configuration of firewalls one of the most important factors in ping or latency is the location for example if you’re located in the United States but are connecting to a server that’s located across the world in Germany that Ping is going to be too high for you in comparison to someone in Germany playing on the server latency can change depending on network conditions and the status of the server to which you’re connecting you can test how bad latency will be on a server by pinging the Server this determines how long it takes for the server to receive a message and respond you can test ping in two different ways the first is through the minecraft client itself by simply hovering your mouse your servers green connection bar to the right this will display a number Followed by ms that number is your ping the second option is by opening the command prompt and typing ping server IP so for example ping and then the IP of our apex server play apex MC ko it may take a second to complete its test but you should see the average ping display And now we’re going to go over some ways on detecting lag trying to find where lag originates isn’t always an easy task on client side you can see if you have lag by checking your fps you can check your FPS by pressing f3 in game on Minecraft this is going to open up a little console with all of your game details if you have a very low FPS then you’re experiencing a client-side lag connection lag can be tested by checking your ping to the server having a high ping is going to mean that you are Experiencing delays with the connection neither of these types is related to the server performance itself though you can check your server performance by checking the TPS if the TPS is low you know that something is causing your server to run behind detecting what exactly the reason is can be a little Troublesome however if you’re running paper and spiggott you can run a timings report to break it down for you timings reports allow you to monitor how long it takes the plugins installed under your server to process an event this allows you to see where lag issues arise as a Misbehaving plugin maybe causing a delay in the tick loop causing the server TPS to go below 20 Serrano Tommy’s report type timings on in console and then wait three minutes after waiting three minutes go ahead and type in timings paste this will provide you a link go Ahead and click that and wait for the web page to load the timings report is separated into sections for each plugin the first two sections are Minecrafts own take events such as loading entities chunks etc and the rest is divided by plugin if you look to the top of the timings Report you’re gonna see a few general data points total meaning the total time spent handling offense sample time meaning the time that the server has been collecting timings data for the report average entities which is the average number of activated entities followed by the average number of total entities average players meaning the Average amount of players logged in during the sample time and last average TPS meaning the average server TPS during the sample time in the headers of sections for plugins there are two data points following the name and version total meaning the total time spent by the plug-in processing events during the Sample time PCT meaning the percentage of sample time that this represents and each section has several columns of data per event a plug-in handles PCT total means the percentage of total sample time spent processing the event PCT tick means the percentage of a single tick 50 milliseconds spent processing the event And total meaning total time spent during the sample time and then average the average amount of time spent per tick and then count the number of times the event was fired and handled by the plugin vo meaning the percentage of total violation count this plugin was responsible for the violation count is a Number of times a timer caused GPS loss and then lastly event the name of the event looking through the timings will help break down where lag is originating from if you can see that a single plug-in is taking a lot of time to process an event it’s likely the plug-in is causing your Server lag the PCT total column is a good indicator of the overall TPS if there are events that take up a large amount of time to process it could mean that it is responsible for a TPS drop as a good amount of the game loop is spent On the event seeing a large number in the PCT tick call and a low number in the count column could indicate that a plugin is spending a lot of single tick processing the event and thus causing a lag spike coupled with high violations count this would mean that the plugin is almost Definitively the cause of steady repeated lag spikes and if you want to know what the TP s of your console is just make sure to jump into console while your servers on and then without any slashes or anything type TPS and then hit enter and then you’ll get an Accurate x report for your server and now we’re gonna go over how to optimize your server knowing how to optimize your server is vital in preventing server lag this will be breaking down what you need to change in your server configuration to get the best possible performance without having to compromise your Gameplay we’re gonna be going through all the steps in server optimization one of the most vital steps in lag removal is pre generating the world this should be done before anything else the best way to do this is with the world border plugin all you have to do is type slash WB world name set radius X and then radius Z followed by WB fill this will start generating the world for you make sure to set the radius to something reasonable like 5000 as pre generation takes a long time one option that is beneficial to reduce any type of lag on A minecraft server is the view distance from the server dot properties file any number between four and eight should help with optimizing the server if you’re running craftbukkit or vanilla you’re gonna want to switch to paper or spigot both of these versions have optimisation for in-game ticks chunk loading block decay and more Optimizations for great performance while both of these versions are great paper is recommended as it does not include a sync chunk loading which improves the server performance immensely there are also some files that you can change to optimize your server some of the main files that you’re going to want to If I to really optimize your server are the bucket yml paper yml and spigot dot yml below we’ve included areas of the configuration that you’re gonna want to change and what you will want to change it to keep in mind when going through this it does not need to follow this Exactly these are highly optimized to provide your server with the highest performance possible make sure that you turn your suratha completely before changing or modifying any of these configuration files each of these files can be found in the main directory of the ftp file access in the bucket yml You’re gonna want to change spawn – limits to monsters 50 animals 8 water animals 3 ambient one and then in the chunk – GC make sure the period – in ticks is set to 400 and then takes – per make sure animal spawns is to 400 and monster spawns Is to 4 and then for the paper dot yml make sure that you change the max – autosave chunks per tick to 6 and then optimize explosions false mob spawner tick rate – to disable chest cat detection – true container update tick rate to 3 max entity collisions – to Grass spread tick rate to 4 and then in the despawn ranges part of the why am L go to soft 28 hard 96 and then in the hopper part makes sure to set cooldown – when – full to true disable – move – event to true non – player – arrow – De-spawn – rate to 60 creative arrow de-spawn rate to 60 prevent moving into unloaded chunks – true use faster eigen craft redstone – true armorstands tick – false per player mobs bonds to true and in the all item D spawn rate part of the yml enabled to true and then in the anti X-ray make sure to enable true in the spigot dot yml let’s make sure to save user cache on stop only to true and then max tick time area part of the yml make sure the tile is set to 1000 and the entity is set to 1000 and then in the Mob spawn range make sure to set that to 6 and then in the entity activation range part of the yml make sure to set that to animals to 16 monsters to 24 raiders to 48 misc to 8 and then in the merge – radius part of the yml make sure To set exp to 4.0 item to 6.0 and nerf spawner mobs to true and now we’re going to go over some plugins that you may be able to use on your server to reduce lag because changing the base server files isn’t the only way to reduce or get rid Of lag there are many plugins out there that their sole purpose is for lag reduction if you know which ones to use you can find that lag can be reduced significantly on your server simply by installing a plug-in or two for Minecraft version 1 point 8 and above Clear lag is for you for limit pillagers for 1 point 1 4 and above that’s for you for minecraft one point 1 4 point 2 and above village optimizer is for you for Minecraft versions 1 point 7 and above entity control is for you for Minecraft 1.7 and above merged mob is for you for minecraft 1 point 1 4 and above entity tick – lag is for you and for Minecraft 1.7 and above farm limiter is for you and for Minecraft 1.7 and above mob farm managers for you and for Minecraft 1.8 And above lag assist is also for you these plugins aren’t guaranteed to completely stop the lag on your server your server can experience Lag for many different reasons but they are known to help with optimization n should definitely reduce lag if you don’t know how to install a plug-in on Your minecraft server you can follow our guide linked below the video we also have a page on our apex website if you go to support and then guides you’re gonna find plenty of guides on how to optimize or properly set up your server and if you’re looking for helpful mods Unfortunately with forge there are not any good optimisation changes to the configuration files you can make the main thing you can do to optimize your forge server is by reducing the view distance from the server properties file another way is with the use of mods there are some mods out there that can Reduce server lag fome fix is an excellent mod better fps is an excellent mod and Optifine of course is the classic mod for optimization as with plugins adding these mods is not going to guarantee that your server will no longer lag however this should help in The reduction of lag on the server and should help overall if you don’t know how to add individual mods to your server you can check out our guide linked below the video and in conclusion one of the most important things that you can do as a server owner is making Sure that your server is optimized and lag free when players join a server they don’t expect to have issues with lag in optimizing a server it is important that you note the different types of lag and what you can and cannot control you may not be able to control the lag they Experience client-side but you can surely do everything on your end to optimize the server if you’re running a vanilla minecraft server you may think that it won’t experience lag I mean it is the base version of Minecraft with no optimizations unfortunately though this is not true the newer updates such as 1.14 are known to have issues when it comes to lag one of the best things you can do to reduce this lag is by switching from vanilla minecraft to paper minecraft if you’re running a modded minecraft server there are not a lot of optimizable configuration options unfortunately the best thing you can do For Forge is to pre generate the worlds in single player with the mods and reduce the view distance from the server properties with so many different versions of Minecraft and different types of lag you can experience as a server owner you can only control these server-side lag if you follow everything From this guide it should increase the performance of your server exponentially well folks that’s all I’ve got for you today thank you for using an apex server and thank you for watching this tutorial and as always I hope you have lots of fun Video Information
This video, titled ‘How to Optimize Your Minecraft Server’, was uploaded by Apex Hosting on 2020-04-04 17:54:44. It has garnered 106793 views and 1339 likes. The duration of the video is 00:23:03 or 1383 seconds.
Learn How To Optimize your Minecraft server with Apex Hosting.
Apex Minecraft Hosting: https://apexminecrafthosting.com/
24/7 Uptime, DDoS Protection, Live Support, Easy to Use Panel
TIMESTAMPS
0:00 start 1:00 server lag 4:00 client lag 5:36 optimizing Minecraft and computer settings 6:30 connection lag 9:22 detecting lag 10:38 running/reading a timings report 13:41 how to check server TPS 14:00 optimizing the server 18:43 plugins that can help optimize the server 20:28 optimizing a Forge server 21:28 conclusion
USEFUL LINKS
Minecraft Server Optimization Guide – https://apexminecrafthosting.com/server-optimization/ ClearLagg – https://apexminecrafthosting.com/clearlag-plugin/ Limit Pillagers – https://www.spigotmc.org/resources/69733/ Village Optimize – https://www.spigotmc.org/resources/68517/ Entity Control – https://www.spigotmc.org/resources/entitycontrol-works-with-mergedmob.3309/ Mergedmob – https://www.spigotmc.org/resources/mergedmob.11399/ Entitytick-Lag – https://www.spigotmc.org/resources/entitytrackerfixer-fix-1-14-4-1-15-entitytick-lag.70902/ Farm Limiter – https://www.spigotmc.org/resources/farm-limiter.1419/ Mob Farm Manager – https://www.spigotmc.org/resources/mob-farm-manager-supports-1-7-10-up-to-1-14-hopper-support.15127/ Lag Assist – https://www.spigotmc.org/resources/lagassist-%E2%9A%A1-advanced-performance-solution-%E2%9A%A1-1-8-1-14-compatible.56399/ Foamfix – https://www.curseforge.com/minecraft/mc-mods/foamfix-optimization-mod BetterFPS – https://www.curseforge.com/minecraft/mc-mods/betterfps Optifine – https://optifine.net/downloads
——————————————————–
FOLLOW US
https://twitter.com/apexhosting https://www.facebook.com/apexminecrafthosting/ https://www.youtube.com/user/TeamApexMinecraft
——————————————————-
About This Video
For anyone running a Minecraft server, lag is one of the biggest concerns. Many things can cause your server to lag, from too many mods or plugins to not having the right hardware for your game type. If you’re experiencing a laggy server, there are a few things you can do o reduce it.
There are a handful of plugins designed to reduce lag. Increasing the RAM on your server can also make a big difference. You can use a better-optimised jar, you can optimize your server files, and many more tasks will reduce the lag you experience.
There are a few common types of lag, including FPS, TPS and latency issues. In this video, we’ll take a look at some of the more common types of lag and how you can optimize your Minecraft server to eliminate them.