Luohuayu / CatServer

高性能和高兼容性的1.12.2/1.16.5/1.18.2版本Forge+Bukkit+Spigot服务端 (A high performance and high compatibility 1.12.2/1.16.5/1.18.2 version Forge+Bukkit+Spigot server)
https://catmc.org
GNU Lesser General Public License v3.0
1.98k stars 211 forks source link

catserver.yml #241

Closed dayd21git closed 3 years ago

dayd21git commented 4 years ago

How do I find out what the settings in this file are responsible for?

TheNullablePrototype commented 4 years ago

As far as I know, the author does not provide a detailed description. You can guess by the name of the parameters. What exactly are you interested in?

dayd21git commented 4 years ago

It is bad that the author does not give a description of the available options. For example, when and how the "autoUnloadDimensions"option is triggered. If the author does not comment, we will have to open the source code and understand the logic of these options yourself.

TheNullablePrototype commented 4 years ago

According to the code in CatServer if all chunks of the world are unloaded and the target world is not Bukkit World and its id is in the list of the autoUnloadDimensions parameter

then this world is being unloaded.

In other words, this parameter is responsible for the fact that all the worlds(their IDs) entered in the autoUnloadDimensions parameter will be unloaded "as soon as they are ready for it", if they were not created using Bukkit.

https://github.com/Luohuayu/CatServer/commit/d2395e455967c3624d23eb03545c4c4ffd2df0c8