Now uses locations as keys instead of strings.

Signed-off-by: Lucas Arnström <lucasarnstrom@gmail.com>
Added one more event.

Signed-off-by: Lucas Arnström <lucasarnstrom@gmail.com>
Now fires a PlayerAddEvent when adding players.

Signed-off-by: Lucas Arnström <lucasarnstrom@gmail.com>
Added listener for PlayerAddEvent, and inventory backup

Signed-off-by: Lucas Arnström <lucasarnstrom@gmail.com>
Cleanup and added entry "backup_inventories".

Signed-off-by: Lucas Arnström <lucasarnstrom@gmail.com>
Created separate section for backup, just in case.

Signed-off-by: Lucas Arnström <lucasarnstrom@gmail.com>
Cleanup.

Signed-off-by: Lucas Arnström <lucasarnstrom@gmail.com>
Added check to make sure the world isn't null when deserializing.

Signed-off-by: Lucas Arnström <lucasarnstrom@gmail.com>
Added ability to serialize and deserialize itemstacks.

Signed-off-by: Lucas Arnström <lucasarnstrom@gmail.com>