6.1.0 • Published 5 months ago

nb13-checkin v6.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
5 months ago

A modular JavaScript library for gaming website UI components.

Installation

NPM

`**bash npm install c9-scripts **`

CDN

`****html

`****

Features

-Responsive layout management -Daily check-in bonus system -VIP/Rank system -Multi-language support(EN,ZH,MS)

Requirements

The script expects certain HTML elements to be present in the page: -A container withclass `.A`for the layout -A container withclass `.user-checkin-wrapper`for the check-in system -A container withclass `.user-rank-wrapper`for the VIP system

Usage

The script automatically initializes when the DOM is loaded.

ManualInitialization

If you need to manually initialize or reinitialize specific components:

`****javascript // Initialize all components window.C9Scripts.init();

// Or initialize specific components window.C9Scripts.initLayout(); window.C9Scripts.initCheckinSystem(); window.C9Scripts.initVIPSystem(); `****

Configuration

The script reads user settings fromlocalStorage: -**LANGUAGE**:User's preferred language(EN,ZH, or MS) -**USER**:User information including the user ID

Development

To contribute to thisproject:

1.Clone the repository 2.Install dependencies:**npm install** 3.Start development server:**npm run dev** 4.Buildforproduction:**npm run build**

6.1.0

5 months ago

6.0.0

5 months ago

5.2.0

5 months ago

5.1.0

5 months ago

5.0.0

5 months ago