Payout.java 778 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. int id;
  12. /**
  13. * The payout amount.
  14. */
  15. double payout_amount = 0;
  16. /**
  17. * The max payout per day.
  18. */
  19. double max_payout_per_day = 0;
  20. /**
  21. * The permission to require for the payout, blank if none.
  22. */
  23. String permission = "";
  24. /**
  25. * The chance of getting the payout.
  26. */
  27. double chance = 0;
  28. /**
  29. * The list of commands to execute if this payout is earned.
  30. */
  31. List<String> commands = new ArrayList<>();
  32. /**
  33. * The list of commands to execute if this payout is earned while afk.
  34. */
  35. List<String> commands_if_afk = new ArrayList<>();
  36. /**
  37. * Interval seconds
  38. */
  39. int interval = 0;
  40. }