naoko-leveling
TypeScript icon, indicating that this package has built-in type declarations

0.0.1-build-aOizp01kZCdc • Public • Published

NaokoLeveling

A Standard leveling system for forgescript extensions

NaokoLeveling forgescript Discord

How to use

You can download this from github repo

npm i https://github.com/KairoKunazuki/NaokoLeveling.git

NPM

npm i naoko-leveling

Adding extension to your client initialization

const { NaokoLeveling } = require("naoko-leveling")
const client = new ForgeClient({
    ...options // The options you have passed
    extensions: [
        new NaokoLeveling()
    ]
});

Using databases

This package is based on quick.db and it is possible to save your data using their Database Drivers.

Different type of Database Drivers requires additional packages as listed:

Example of using SQLite database

const { NaokoLeveling } = require("naoko-leveling")
const { SqliteDriver } = require("quick.db");
const client = new ForgeClient({
    ...options // The options you have passed,
    extensions: [
        new NaokoLeveling(
            new SqliteDriver('./leveling.db') // Driver
        )
    ]
})

Package Sidebar

Install

npm i naoko-leveling

Weekly Downloads

3

Version

0.0.1-build-aOizp01kZCdc

License

MIT

Unpacked Size

46.1 kB

Total Files

51

Last publish

Collaborators

  • kairokunazuki