diff options
author | Mattes D <github@xoft.cz> | 2015-04-06 22:00:54 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-04-06 22:00:54 +0200 |
commit | 6952f2295a4ba95f75fe10f2ed8c23ed304dd59a (patch) | |
tree | 60a5e5dc389fc8cc23c89ce1eb6103297207429d /MCServer/Plugins | |
parent | Fixed crash on exit introduced with Windows Service capability. (diff) | |
download | cuberite-6952f2295a4ba95f75fe10f2ed8c23ed304dd59a.tar cuberite-6952f2295a4ba95f75fe10f2ed8c23ed304dd59a.tar.gz cuberite-6952f2295a4ba95f75fe10f2ed8c23ed304dd59a.tar.bz2 cuberite-6952f2295a4ba95f75fe10f2ed8c23ed304dd59a.tar.lz cuberite-6952f2295a4ba95f75fe10f2ed8c23ed304dd59a.tar.xz cuberite-6952f2295a4ba95f75fe10f2ed8c23ed304dd59a.tar.zst cuberite-6952f2295a4ba95f75fe10f2ed8c23ed304dd59a.zip |
Diffstat (limited to 'MCServer/Plugins')
-rw-r--r-- | MCServer/Plugins/APIDump/APIDesc.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/MCServer/Plugins/APIDump/APIDesc.lua b/MCServer/Plugins/APIDump/APIDesc.lua index 9ee818a2c..a892adbcd 100644 --- a/MCServer/Plugins/APIDump/APIDesc.lua +++ b/MCServer/Plugins/APIDump/APIDesc.lua @@ -973,6 +973,7 @@ cFile:Delete("/usr/bin/virus.exe"); ]], Functions = { + ChangeFileExt = { Params = "FileName, NewExt", Return = "string", Notes = "(STATIC) Returns FileName with its extension changed to NewExt. FileName may contain path elements, extension is recognized as the last dot in the string." }, Copy = { Params = "SrcFileName, DstFileName", Return = "bool", Notes = "(STATIC) Copies a single file to a new destination. Returns true if successful. Fails if the destination already exists." }, CreateFolder = { Params = "FolderName", Return = "bool", Notes = "(STATIC) Creates a new folder. Returns true if successful." }, Delete = { Params = "FileName", Return = "bool", Notes = "(STATIC) Deletes the specified file. Returns true if successful." }, |