Serving a payment option for my minecraft server so I don't have to pay for it all alone
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

AccountList.class.js 336B

123456789
  1. // MLQRequire: { "Plugin": "Minecraft-Payment", "Type": "Service", "Name": "MinecraftPayService" }
  2. class AccountList {
  3. refresh() {
  4. MinecraftPayService.RefreshCharges();
  5. }
  6. getAccount() {
  7. return MinecraftPayService.UserAccounts.map(acc => acc.Mod).concat([0]).reduce((pre, nxt) => pre + nxt);
  8. }
  9. }