File Utility
file_util.writeFile
This function will create a file within the novoline folder at .minecraft
Parameters
Type
Description
file_path
String
File path you want to create the file at
contents
String...
Contents you want t oset
Example
file_util.createDirectory
This function will create a directory within the novoline folder at .minecraft
Parameters
Type
Description
dir_path
String
Directory path you want to create the directory at
Example
file_util.readFile
This function will return the contents of a file (The file must not be outside the novoline folder)
Parameters
Type
path
String
Last updated