| Name | FileCopy |
| Syntax | filecopy [origin:<origin>] [destination:<destination>] (overwrite) |
| Short Description | Copies a file from one location to another. |
| Full Description | Copies a file from one location to another.
The starting directory is server/plugins/Denizen. May overwrite existing copies of files. Note that in most cases this command should be ~waited for (like "- ~filecopy ..."). Refer to ~waitable. This command can be disabled by setting Denizen config option "Commands.Filecopy.Allow copying files" to false. |
| Related Tags | <entry[saveName].success> returns whether the copy succeeded (if not, either an error or occurred, or there is an existing file in the destination.)
|
| Usage Example | |
| Group | file |
| Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/scripts/commands/file/FileCopyCommand.java#L29 |