teenaapje

ReferralConfig

May 15th, 2020
1,452
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 4.94 KB | None | 0 0
  1. ########################################################
  2. #
  3. #   Database Config
  4. #
  5. ########################################################
  6.  
  7. # DB = 'local' or 'mysql'
  8. db: local
  9.  
  10. # Database Login
  11. host: 0.0.0.0
  12. port: 3306
  13. database: users
  14. username: root
  15. password: ""
  16. table: user
  17.  
  18. # this is a small step to prevent abuse of the referrals
  19. # 0 for no referral from the same network
  20. useSameIPLimit: true
  21. # Max from the same IP
  22. maxSameIP: 0
  23.  
  24.  
  25.  
  26. ########################################################
  27. #
  28. #   Player Rewards
  29. #
  30. ########################################################
  31.  
  32. # the Player has to confirm referral (or reject)
  33. usePlayerConfirm: true
  34.  
  35. # Use a Referral time limit
  36. # The time limit affects only the normal rewards (Not the milestone rewards)
  37. # The Player will have to use /ref < Player> within the timelimit when first joining the server
  38. useReferralTimeLimit: false
  39. # Time limit in minutes
  40. referralTimeLimit: 60
  41.  
  42. # Use a Referral min play
  43. # The time limit effect when the player can be rewarded
  44. # The Player needs play for a cartain amount of time to use /ref
  45. useReferralMinPlay: false
  46. # Time limit in minutes
  47. referralMinPlay: 20
  48.  
  49. # These are the default rewards
  50. # This is the player that invited another player
  51. playerRefers:
  52.    - give <Player> diamond 64
  53.    - give <Player> diamond 64
  54.    - give <Player> diamond 64
  55. # This is the player that recieved an invite from a player
  56. playerReferd:
  57.    - give <Player> diamond 32
  58.    
  59.  
  60. # Use milestone rewards
  61. # This will not be affected by the time limit
  62. # These are for the Player that invited a certain amount of players to the server
  63. useMileStoneRewards: false
  64. # Milestone reward
  65. # These are some examples, and You can add more or change it
  66. # min = the required amount to get the reward
  67. # command = a list of commands to execute
  68. rewards:
  69.    1:
  70.       min: 5
  71.       commands:
  72.         - give <Player> diamond 64
  73.    2:
  74.       min: 10
  75.       commands:
  76.         - give <Player> diamond 128
  77.  
  78.  
  79.  
  80.  
  81. ########################################################
  82. #
  83. #   Chat Config
  84. #
  85. ########################################################
  86.  
  87. # No permission
  88. noPerm: "&cYou don't have the required permission."
  89. # Player only
  90. playerOnly: "&cOnly players can use this command."
  91. # Too many Arguments
  92. tooManyArgs: "&cToo many arguments!"
  93. # if Player isn't online
  94. notOnline: "&f%player_name% &c is not online"
  95. # Missing player name
  96. missingPlayer: "&cMissing player name."
  97. # Missing args
  98. missingaArgs: "&cMissing arguments."
  99. # Shows ref total
  100. playerTotal: "&6Player &f%player_name% &6Has: &f%referral_total% &6Referrals"
  101. # If Player tries to ref accept self
  102. acceptSelf: "&cYou need to accept someone else"
  103. # This Player already referred someone
  104. alreadyRefed: "&cThis player already got a referral."
  105. # if that Player has not referred him
  106. didntRef: "&cThat player didn't refer you!"
  107. # confirm referral from Player
  108. playerRef: "&6Confirm referral: &f%player_name%"
  109. # player has been removed from the database
  110. playerRemoved: "&6Player: &f&f%player_name% &6has been removed"
  111. # Remove All
  112. removeAll: "&6All players have been removed"
  113. # failed to remove
  114. playerRemovedFailed: "&6Was not able to remove: &f%player_name%"
  115. # player has been reset from database
  116. playerReset: "&6Player: &f%player_name% &6has been reset"
  117. # Reset All
  118. resetAll: "&6All players have been reset"
  119. # failed to reset
  120. playerResetFailed: "&6Was not able to reset: &f%player_name%"
  121. # if Player tries to reject without a name
  122. rejectSomeone: "&cYou need to reject someone else!"
  123. # if Player rejects
  124. playerRej: "&6You Rejected &f%player_name% referral."
  125. # if Player tries to refer self
  126. referSelf: "&cYou can't referral yourself!"
  127. # if the Player refers to a player
  128. referring: "&6referring: &f%player_name%"
  129. # if the Player tries to ref but already refed someone
  130. alreadyRefedSelf: "&cYou already refed a player"
  131. # if the Player sends ref twice to a player
  132. alreadySendRef: "&cYou already send a request to this player"
  133. # if the Player got a refer
  134. youGotRefer: "&f%player_name% &6got your referral do you:"
  135. # a confirm to the sender
  136. youSendRequest: "&6You send request to: &f%player_name%"
  137. # when the player is to late
  138. referTooLate: "&6Your referral was not in the time limit."
  139. # when the players play time is to low
  140. referMinPlay: "&6You have not met the required play time."
  141. # cant Refer more from the same IP
  142. maxIP: "&6You can't use your referral."
  143. # The notification the receives when the Player got rejected
  144. playerGotRej: "&6Your referral got rejected by: &f%player_name%."
  145. # The notification the player receives when the Player accepted ref
  146. playerAcceptedRef: "&6You got referred by: &f%player_name%."
  147. ####
  148. # The button colours can't be changed
  149. # Text on the accept button
  150. accept: "Accept"
  151. # Text on the decline button
  152. decline: "Decline"
  153.  
  154.  
  155.  
  156. # Enable notification
  157. enableNotification: false
  158. #Only for Player that join the first time
  159. referNotification: "&6The referral system has a time limit, so make sure you use it."
Add Comment
Please, Sign In to add comment