replacePlaceholders

fun replacePlaceholders(isLocal: Boolean, content: String, scriptSettings: HashMap<String, String>): String

Replace placeholders for script settings in the given content with their respective values, both provided via the HashMap scriptSettings.

Author

Griefed

Parameters

isLocal

Whether the start scripts should be created for a locally usable server pack. Use false if the start scripts should be created for a server pack about to be zipped