Cool, but do you have examples of why this would be useful?
>rpg
>player leaves while almost dead
>rejoins with full hp
>kills the mob at full hp
or with this
>rpg
>player leaves while almost dead
>onMinigameLeave > Player > saveHealth
>player rejoins
>onMinigameJoin > Player > loadHealth