Skip to content

This is my custom database for Minecraft Bedrock Scripting Api

License

Notifications You must be signed in to change notification settings

TrippleAWap/Database

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 

Repository files navigation

Example Usage

import { world, system } from "@minecraft/server";

import { Database } from "./database";
const dB = new Database("name_here")
system.runInterval(async () => {
	for (const player of world.getAllPlayers()) {
		// dont have to manually set the database if you use variables
		const stats = dB[player.id] ??= { money: 0 }
		stats.money += 1
		player.onScreenDisplay.setActionBar(`${JSON.stringify(dB)}`)
	}
})

This is a simple database using scoreboards for MCBE created by TrippleAWap!

About

This is my custom database for Minecraft Bedrock Scripting Api

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published