append

fun append(importName: String, fileName: String, toAppend: String)

Writes a file to folder in modules.

Parameters

importName

name of the import

fileName

name of the file

toAppend

string to append in file


fun append(fileLocation: String, toAppend: String)

Writes a file to anywhere on the system. Use "./" for the ".minecraft" folder.

Parameters

fileLocation

the location and file name

toAppend

string to append in file