player data system whiteout addons ?

i think figuring out a way to save variables by removing them from server ram. I want to share this with everyone since in version 1.14 to 1.16 there is no script yml. This is about saving the server variables in the lore of an object, deleting them and when joining, passing them back from the object to a variable.but honestly i don't know if this really helps the ram or not but i think i could be right let me know.

Unloading PlayerData into a piece of paper:
function savedata(p: player):
set {_item} to paper
set line 1 of lore of {_item} to "%{money::%{_p}%}%"
set line 2 of lore of {_item} to "%{example_string::%{_p}%}%"
set slot 0 of {_p}'s inventory to {_item}
function deletedata(p: player):
delete {money::%{_p}%}
delete {example_string::%{_p}%}
on disconnecting:
savedata(player)
wait 1 second
deletedata(player)


Loading PlayerData into variables again:

function loaddata(p: player):
if {_p} has a piece of paper:
set {_lore1} to line 1 of lore of tool of {_p}
set {_lore2} to line 2 of lore of tool of {_p}
set {money::%{_p}%} to {_lore1} parsed as integer
set {example_string::%{_p}%} to "%{_lore2}%"
set slot 0 of {_p}'s inventory to air
on join:
loaddata(player)


Test commands:

#test commands
command /test:
trigger:
set {money::%player%} to 10
set {example_string::%player%} to "hello"
command /variables:
trigger:
message "%{money::%player%}%"
message "%{example_string::%player%}%"
command /load:
trigger:
loaddata(player)
command /save:
trigger:
savedata(player)
command /delete:
trigger:
deletedata(player)


hope this can be a temporary alternative until skript yml is updated