Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

AltStyle によって変換されたページ (->オリジナル) /