#yaml

1 messages · Page 1 of 1 (latest)

oblique token
#

how do I stop save yaml %string% from deleting all my comments in the yml file?

chilly sigil
#

probably cant if there's no syntax for it, I'd suggest opening an issue on skript-yaml!

oblique token
#

okay, I'm just afraid that it will take 3+ years 😭

oblique token
#

I think so

woven kayak
#

Okay lemme see why it doesn't work

#

Ah okay i think it's because they copy the file before saving as a sort of backup. You could just kind of yk... Delete this.... And see what happens

oblique token
#

wish I knew how to modify plugins 🥲

chilly sigil
#

get to learning Java, sir!

woven kayak
#

(later = tomorrow)

oblique token
#

if you could I'd greatly appreciate that, hopefully it'll work and if not, thanks for trying

past zealotBOT
woven kayak
past zealotBOT
#

You successfully increased @woven kayak's reputation. They now have 21 skoints!

woven kayak
#

Only issue is that if you somehow delete it you will not have a backup

oblique token
woven kayak
#

Me neither XD

onyx bay
#

So, I currently use skript-yaml and am not having the issue you are regarding comments.

woven kayak
#

I am having the issue so...

woven kayak
oblique token
#

mine is like ```yml
data:
test1: ...

...

...

...

test2: ...

...

...

...and it becomesyml

data:
test1: ...
test2: ...```

onyx bay
#

I'm also using outdated addons, so that could be contributing. One thing I've noticed, make sure you save the file after adding comments, then load the yml into memory using the load yaml expression