Does YAML Exist (Condition) — skript-yaml

Addon: skript-yaml · Category: Condition · Since: 1.3

Syntax

[(non[(-| )]relative)] y[a]ml file %string% exists

Description

Checks if a YAML file exists at a file location. You shouldn't have to use this condition since the load yaml effect will create the file if it doesn't exist

Examples

yaml file "plugins/skript-yaml/test.yml" exists:
 
yaml file "plugins/skript-yaml/test.yml" doesn't exist:

View source