Resource icon

Script NBT Player Data 2025-02-26

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

Sovde

Staff member
Moderator
Feb 18, 2022
34
3
8
Sovde submitted a new resource:

NBT Player Data - Stores player data in NBT, but makes it accessible via variables.

Requires SkBee 3.8.2+, Skript 2.10+.

NBT Player Data​

Basic NBT-based player data system.
Stores strings and numbers in NBT, but accessible via variables.


Example:{-npd::%player%::strength} = 1
This value is stored in npd_data/<player's uuid>.dat as {strength: 1}.
All values under {-npd::%player%::...} are stored in the file.

Use npd_load_player_data() to load data into variables.
The save function saves data to nbt.The unload function saves data and clears the...

Read more about this resource...