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.ts 354B

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