1.0.0 • Published 2 years ago

universocraft-stats v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Universo Craft Stats NodeModule

A simple node module to get the stats of Player in UniversoCraft.

Installation

It's recommended to install the module with npm:

npm install universocraft-stats

Usage

The module is a simple node module. It has 2 functions:
- getUserStats(username): returns the stats of a player, if the player exists, else returns [].
- userHasPlayed(username): returns true if the player has played before.

Example

        const stats = require('universocraft-stats');
        stats.getUserStats('playerName').then(data => {
            console.log(data);
        }).catch(err => {
            console.log(err);
        });

Licence

MIT

Contributing

Just make a PR, or an issue and I might fix it

Contact

If you want to contact me for any reason, DM on Discord Logo

Ftsos - F_tsos#4081

1.0.0

2 years ago