Skip to content

nut.data

Brian edited this page Jun 11, 2015 · 2 revisions

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.
Clone this wiki locally