1.0.1 • Published 5 years ago
economy.js v1.0.1
npm install --save economy.js
Stop fiddling with databases, start producing great apps.
-cybertelx, developer and professional idiot
Economy.JS
Just like any other economy package, but a bit faster and easier to use.
Create multiple economies for your apps: Gold, gems, cash, anything you want!
Feel free to fork and make your own, better package. (Please do!)
If you find any bugs or security holes, open a new issue. We'll try to sort it out.
Usage
const economyJS = require("economy.js");
// 1st parameter = ID of economy. It's a string and is internally used.
// 2nd parameter = A boolean. If it's true, then your economy will have decimals. Else, just an integer economy system.
var eco = new Economy("programmer_pesos", false);
eco.setUserBalance("userid123",100);