#How do i save variables after leaving a game

1 messages · Page 1 of 1 (latest)

teal cloud
#

so basically, if i were to change a variable using events and leave the game, it will revert back to it's default value. How do i then save the value of the variable

sterile remnant
#

Database

small mulchBOT
#

Description
Database

Credits
These scripts were written by iBlqzed

sterile remnant
#

Oh wait

#

I think this is outdated

teal cloud
#

is it?

sterile remnant
#

Yes

#

Refer to the new database that jayly made

teal cloud
#

alright

#

where exactly...

small mulchBOT
#

Jayly Database
A Minecraft Database that uses scoreboard to save/load data. Well if Mojang doesn't nerf their scoreboard API.
Benefits:

  • Easy to use
  • Encryption support (not as secure as crypto but you get the idea)

Usage
Import Database class

import { JaylyDB } from "./JaylyDB";

Create a new JaylyDB object with the scoreboard objective 'my_database'

import { JaylyDB } from "./index";
const db = new JaylyDB("my_database");

To enable encryption in database in favor of

sterile remnant
#

@teal cloud