This addon allows you to use yml as a config. The syntax is similar to the skutillities addon. There for this script is incompatible with skutillities.
Tested on paper spigot. https://yivesmirror.com/downloads/paper
Skript 2.3-beta2 https://github.com/SkriptLang/Skript/releases
Skript-Mirror 1.0.0 https://github.com/btk5h/skript-mirror/releases
Skript 2.3-beta2 https://github.com/SkriptLang/Skript/releases
Skript-Mirror 1.0.0 https://github.com/btk5h/skript-mirror/releases
code_language.skript:
y[a]ml value %text% (from|of) file %text% (from|of) folder %text%
y[a]ml list %text% (from|of) file %text% (from|of) folder %text%
Boolean
Integer
Item / Material
Location
Number
Offline Player
Player
Text
UUID
Vector
Integer
Item / Material
Location
Number
Offline Player
Player
Text
UUID
Vector
code_language.skript:
set {_val} to yaml value "config.test" from file "config" from folder "yourplugin/pluginfolder"
set yaml value "config.test" from file "config" from folder "yourplugin/pluginfolder" to 12
delete yaml value "config.test" from file "config" from folder "yourplugin/pluginfolder"
set {_val::*} to yaml list "config.test" from file "config" from folder "yourplugin/pluginfolder"
add "val-1" to yaml list "config.test" from file "config" from folder "yourplugin/pluginfolder"
remove "val-1" from yaml list "config.test" from file "config" from folder "yourplugin/pluginfolder"
set yaml list "config.test" from file "config" from folder "yourplugin/pluginfolder" to {_list::*}
delete yaml list "config.test" from file "config" from folder "yourplugin/pluginfolder"