nut.data - Chessnut/NutScript GitHub Wiki
This library let you save certain data as .txt file in the gamemode server. Unlikely nut.db Library, You can only save one kind of value on this file. To save multible variables, Table
is the one you're going to put in the "data" file.
Method
nut.data.set(key, value[, global, ignoreMap])
- Saves .txt file in gamemode server's data folder. The destination varies on the condition of parameters.
nut.data.get(key[, default, global, ignoreMap, refresh])
- Loads .txt file in gamemode server's data folder. The destination varies on the condition of parameters.