Delete all YAML from one or more directories (Effect) — skript-yaml

Addon: skript-yaml · Category: Effect · Since: 1.2.1

Syntax

delete (all|any) [loaded] y[a]ml from [(non[(-| )]relative)] director(y|ies) %strings%

Description

Syntax 1: Deletes all YAML files from one or more directories and removes them from memory. Syntax 2&3: Only deletes any loaded YAML files from one or more directories and removes them from memory. - The input is one or more directories (ie. "plugins/MyAwesomePlugin/" and "plugins/skript-yaml/").

Examples

delete all yaml from directory "/plugins/skript-yaml/test"
 
delete all loaded yaml from directory "/plugins/skript-yaml/test"
 
delete all loaded yaml from directory "/plugins/skript-yaml/test" using the filename as the id

View source