serverPath
Deprecated
Minecraft now offers a 'serverDirectory' property, use that instead.
Replace with
import kotlin.io.path.absolute
Content copied to clipboard
serverDirectory.absolute()Content copied to clipboard
Returns the current run directory of the server as an absolute Path.