This small pull request simply change the way to manage session property as a real (skript) property, which means the following code will work:
set session property "is_logged" of {_req} to "true"
if session property "is_logged" of {_req} parsed as boolean is true
set {_name} to session property "username" of {_req}
# etc...
And added basic documentation (description & example) to this property.
I also removed (you can undo that commit if you already planned to add a serializer) the empty serializer of the request type, since it caused some issue when Skript tried to load a variable with that entity.
This small pull request simply change the way to manage session property as a real (skript) property, which means the following code will work:
And added basic documentation (description & example) to this property.
I also removed (you can undo that commit if you already planned to add a serializer) the empty serializer of the
request
type, since it caused some issue when Skript tried to load a variable with that entity.