Payout.java 718 B

12345678910111213141516171819202122232425262728293031323334353637
  1. package de.Linus122.TimeIsMoney;
  2. import java.util.ArrayList;
  3. import java.util.List;
  4. /**
  5. * Payout information.
  6. *
  7. * @author Linus122
  8. * @since 1.9.6.1
  9. */
  10. class Payout {
  11. /**
  12. * The payout amount.
  13. */
  14. double payout_amount = 0;
  15. /**
  16. * The max payout per day.
  17. */
  18. double max_payout_per_day = 0;
  19. /**
  20. * The permission to require for the payout, blank if none.
  21. */
  22. String permission = "";
  23. /**
  24. * The chance of getting the payout.
  25. */
  26. double chance = 0;
  27. /**
  28. * The list of commands to execute if this payout is earned.
  29. */
  30. List<String> commands = new ArrayList<>();
  31. /**
  32. * The list of commands to execute if this payout is earned while afk.
  33. */
  34. List<String> commands_if_afk = new ArrayList<>();
  35. }