cleanupEnvironment

open override fun cleanupEnvironment(deleteZip: Boolean, destination: String)

Deletes all files, directories and ZIP-archives of previously generated server packs to ensure newly generated server pack is as clean as possible. This will completely empty the server pack directory, so use with caution!

Author

Griefed

Parameters

deleteZip

Whether to delete the server pack ZIP-archive.

destination

The destination at which to clean up in.