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.

UsersList.class.ts 429B

123456789101112131415
  1. // MLQRequire: { "Plugin": "Minecraft-Payment", "Type": "Service", "Name": "MinecraftPayService" }
  2. class UsersList {
  3. private username: string;
  4. private addUser() {
  5. MinecraftPayService.CreateUser( { Username: this.username } as MinecraftUser );
  6. }
  7. private deleteUser( id: number, confirm: boolean, event: any ) {
  8. if ( confirm ) {
  9. MinecraftPayService.DeleteUser( id );
  10. }
  11. }
  12. }