config.yml 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. # Config generated for TimeIsMoney ${project.version}
  2. configuration-version: 12
  3. debug-log: false
  4. # You can disable the plugin's payout feature in certain worlds
  5. disabled_in_worlds:
  6. - "creative_world"
  7. # You can define if the player gets a payout whether player is afk or not.
  8. # the permission tim.afkbypass would avoid this for certain user or groups.
  9. afk_payout: false
  10. # If afk payout is enabled, what percent should be paid out?
  11. afk_payout_percent: 10
  12. # Will use essential's AFK feature if available
  13. afk_use_essentials: true
  14. display-messages-in-chat: true
  15. display-messages-in-actionbar: true
  16. display-messages-in-actionbar-time: 10
  17. # defines whether the money should be stored in the bank (access it using /atm or an [ATM] sign, see more below)
  18. store-money-in-bank: false
  19. # Define if multiple accounts should get paid with the same ip address.
  20. # You may disable this if your players are using multiple accounts per ip on purpose.
  21. # Can also set "tim.multipleaccountsbypass" permission to bypass this for individual players.
  22. # Note that one of the players that share the same ip address will still receive their payout.
  23. allow-multiple-accounts: true
  24. # Option to increase the maximal amount of players of the same IP getting a payout. Only applies when allow-multiple-accounts is set to false.
  25. max-multiple-accounts: 1
  26. # Optional: Define a server bank account for withdrawing money from that account for the payouts instead of creating money out of nowhere
  27. bank-account: ""
  28. # Payouts will be delivered by "chance" instead "permission".
  29. choose-payout-by-chance: false
  30. # Enable this if you want to add up all lower payouts to the final payout (only relevant when using permissions)
  31. # doesn't merge payouts with individual intervals. Also doesn't merge when choose-only-one-payout is enabled.
  32. merge-payouts: false
  33. # Should it choose the last payout a player has permission for from the list? In the payout configuration below,
  34. # this would mean that VIPs (players with the tim.vip perm) would receive the last payout, while normal players the
  35. # first in the list. Does not apply for payouts with individual intervals
  36. choose-only-one-payout: true
  37. # Interval for all payouts; how long should a player need to play on the server to receive one of the payouts?
  38. # (previously called give_money_every_second)
  39. # It accepts seconds (s), minutes (m), and hours (h)
  40. global_interval: "10m"
  41. # You can add as many payouts you want. You only can choose between "permission"
  42. # and "chance", not both.
  43. payouts:
  44. 1:
  45. payout_amount: 50
  46. max_payout_per_day: 1000
  47. # chance: 10
  48. permission: ""
  49. 2:
  50. payout_amount: 100
  51. max_payout_per_day: 10000
  52. commands:
  53. - /give %player% diamond 1
  54. commands_if_afk:
  55. - /give %player% dirt 1
  56. # chance: 90
  57. # You can use any permission name you want. e.g. myserver.donor
  58. permission: tim.vip
  59. # 3:
  60. # payout_amount: 1000
  61. # max_payout_per_day: 10000
  62. # # you can define a custom interval for individual payouts
  63. # interval: 10h
  64. # permission: ""
  65. # Translations
  66. # Both legacy color codes, &c etc. and hex RGB color codes, #&FF00FF, are supported.
  67. message: "&aYou earned &c%money% &afor 10 minutes online time!"
  68. message_payoutlimit_reached: "&cYou have reached the payout limit today. You earned 0$"
  69. message_afk: "&cYou havn't earned money because you were afk!"
  70. message_afk_payout: "&6You earned &c%money% (%percent%% of normal payout) &6for 10 minutes online time while afk!"
  71. message_multiple_ips: "&cYou havn't earned money because you're playing with multiple accounts!"
  72. message_actionbar: "&aYou earned &c%money% &afor 10 minutes online time!"
  73. message_payoutlimit_reached_actionbar: "&cYou have reached the payout limit today. You got 0$"
  74. message_afk_actionbar: "&cYou haven't earned money because you were afk!"
  75. message_afk_actionbar_payout: "&6You earned &c%money% &6for 10 minutes online time while afk!"
  76. message_atm_noperms: "&cYou don't have the permission to use ATM's!"
  77. message_atm_nomoneyinbank: "&cYou don't have enough money in bank!"
  78. message_atm_nomoney: "&cYou don't have enough money!"
  79. message_atm_nopermbuild: "&cYou don't have permissions to build ATM's (tim.atm.place)"
  80. message_atm_created: "&2ATM created! (You can also write something in the Lines 2-4)"
  81. message_atm_withdrew: "&cTook &a%s &cfrom your account."
  82. message_atm_deposited: "&2Added &a%s &2to your account."
  83. message_atm_limit_reached: "&cATM limit reached! Please withdraw some money before you can receive money again."
  84. # Set this to true to send the payout limit reached message only one time once reached
  85. display-payout-limit-reached-message-once: false
  86. # uncomment to use database instead of data file
  87. #mysql:
  88. # host: "127.0.0.1"
  89. # user: "user"
  90. # password: "pass"
  91. # port: 3306
  92. # database: "tim_db"
  93. # ATM -> Place down a sign with [atm] on the first line to use it!
  94. enable_atm: true
  95. # The label that is drawn on the sign upon placement (keep in mind that ATM signs are tracked using this tag, so choose something "unique")
  96. atm_sign_label: "&cATM"
  97. atm_worth_gradation:
  98. - 10.0
  99. - 100.0
  100. - 1000.0
  101. - 10000.0
  102. # Sets a limit for the max amount of money allowed inside a player's ATM.
  103. #atm_balance_limit: 100000000.0;
  104. # You can seperate the ATM balances for different worlds by group them. Just set group-atms to true and write atm_groups as described below.
  105. # Note: Existing bank accounts will be removed when enabling this feature.
  106. group-atms: false
  107. # Example groups for seperating all worlds:
  108. #atm_groups:
  109. # group1:
  110. # - world
  111. # group2:
  112. # - world_nether
  113. # group3:
  114. # - world_the_end
  115. # Example groups for seperating skyblock worlds and survival worlds:
  116. #atm_groups:
  117. # group1:
  118. # - ASkyblock_world
  119. # - Askyblock_spawn
  120. # group2:
  121. # - survival_world
  122. # - farm_world