checkIconAndProperties

fun checkIconAndProperties(iconOrPropertiesPath: String): Boolean

Checks the passed String whether it is an existing file. If the passed String is empty, then ServerPackCreator will treat it as the user being fine with the default files and return the corresponding boolean.

Return

true if the file exists or an empty String was passed, false if a file was specified, but the file was not found.

Author

Griefed

Parameters

iconOrPropertiesPath

The path to the custom server-icon.png or server.properties file to check.