Class PaperDistanceOverride
- Namespace
- McServerLauncher.Services
- Assembly
- McServerLauncher.dll
Whether Spigot's own configuration overrides the distances in server.properties.
public static class PaperDistanceOverride
- Inheritance
-
PaperDistanceOverride
- Inherited Members
Remarks
Paper and Purpur read view-distance and simulation-distance from
server.properties, unless spigot.yml gives a world a number of its own; then the
properties file is ignored for that world and lowering it would change nothing. The page says so
instead of offering a change that does nothing.
Methods
Parse(string)
The same, from the file's text.
public static (bool View, bool Simulation) Parse(string spigotYml)
Parameters
spigotYmlstring
Returns
- (bool View, bool Simulation)
Read(string)
Which distances spigot.yml sets to a number.
public static (bool View, bool Simulation) Read(string serverFolder)
Parameters
serverFolderstring
Returns
- (bool View, bool Simulation)