Fails to pull from/save to yml files on 1.21.3?
On 1.21.3 the plugin leaves a bunch of errors in console and cannot use/make yml files.
Example of this as a snippet of my latest logs: https://pastebin.com/pXhqh1hi
Paper Version 1.21.3 Skript version 2.9.4
Hello, I spoke with the developer, part of it is an issue with skript-yaml itself while the other part is an issue with my fork. I plan on fixing it in the coming days. You can view the entire conversation here
dont know if this is related but i also getting the fail to reload/save yml problem too, but for me its an OOB exception https://pastebin.com/PuxC2sEt
dont know if this is related but i also getting the fail to reload/save yml problem too, but for me its an OOB exception https://pastebin.com/PuxC2sEt
Not sure its the same issue but if you can reproduce this error can you send me the yaml file so I can test on my end? It appears to be tripping within snakeyaml
dont know if this is related but i also getting the fail to reload/save yml problem too, but for me its an OOB exception https://pastebin.com/PuxC2sEt
Not sure its the same issue but if you can reproduce this error can you send me the yaml file so I can test on my end? It appears to be tripping within snakeyaml
function createbpdata(p:player):
load yaml "plugins/.data/backpack/%uuid of {_p}%.yml" as "bp.%uuid of {_p}%"
yaml path "data.name" in "bp.%uuid of {_p}%" does not exist
set yaml value "data.name" from "bp.%uuid of {_p}%" to name of {_p}
save yaml "bp.%uuid of {_p}%" with an indentation of 2
command /backpack:
trigger:
createbpdata(player)
set metadata tag "bp" of player to chest inventory with 3 row named "&cBackpack"
loop 29 times:
set slot (loop-value-2)-1 of metadata tag "bp" of player to yaml value "data.%loop-value-2%" from "bp.%uuid of player%"
open metadata tag "bp" of player to player
on inventory close:
event-inventory = metadata tag "bp" of player
loop 27 times:
set yaml value "data.%loop-value%" from "bp.%uuid of player%" to slot (loop-value)-1 of event-inventory
save yaml "bp.%uuid of player%" with an indentation of 2
its just a simple backpack skript though, nothing fancy, but yeah i shouldve saved each slot in a separate yml instead in 1 file, so that if its start throwing errors my players wouldnt have to lose an entire chest of items
i beleive this is fixed