πFile types
Since 1.0.0
FileHolder
import net.codersky.mcutils.files.FileHolder;
public class CustomFile implements FileHolder {
@Override
public boolean create() {
// Code required to create the file or files handled by this FileHolder.
}
@Override
public boolean reload() {
// Code required to load the contents of the file, as files should be cached.
}
@Override
public boolean save() {
// Code required to save the file (Write cached and possibly modified data)
}
}FileUpdater
MessagesFileHolder
Last updated