📖Database

database namespace

Functions

load

local database_info = database.load("some_database.db")

Returns:

database_info

table, string, number, or nil on failure

save

local database_info = 
{
    some_value = 5,
    some_string = "fatality.win"
}
database.save("some_database.db", database_info)

database_name

string

name of database

value

table, string, or number

value to store

Saving a database will overwrite all info previously stored inside of it!

Files are stored in ./fatality/database/

Last updated