#Skript-YAML not loading a yaml file
1 messages · Page 1 of 1 (latest)
Double check the file path and file names, capitalization matters
Already checked that, I even copy pasted the names of the yml files and it still gave me a failed to load error
update:
options:
statsFile: plugins/Database/Stats.yml
playerStatsFile: plugins/Database/PlayerData/PlayerStatData.yml
on script load:
load yaml "{@statsFile}" as "config"
load yaml "{@playerStatsFile}" as "data"
if yaml "config" is loaded:
broadcast "Loaded"
if yaml "plugins/Database/Stats.yml" is not loaded:
broadcast "Not Loaded"```
For some reason, when I put it to "config", it says its loaded but when I try the file path directly it says it's not loaded?