Denizen Script Mechanisms


Mechanisms are found in object properties, the 'adjust' command, and similar. These are used to change the state of an object.
Learn about how mechanisms work in The Beginner's Guide.


Showing 1 out of 644 mechanisms...
Namedelete_file
Objectsystem
InputElementTag
Related Tags<util.has_file[<file>]> Returns true if the specified file exists. The starting path is /plugins/Denizen.
DescriptionDeletes the given file from the server.
File path starts in the Denizen folder.
Require config file setting "Commands.Delete.Allow file deletion".
Example
- adjust system delete_file:data/logs/latest.txt
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L1079