Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2013
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 6.27 KB | None | 0 0
  1. #
  2.  
  3. #
  4. # OnTime Rewards Configuration YAML
  5. # Author: Edge209
  6. #
  7. # This file can be edited manually, or maintained via 'ontime' commands executed from
  8. # the console or in game.
  9. #
  10. # Format for rewards:
  11. #  - r,p,dd,hh,mm,rdd,rhh,rmm,rc,t,q,reward,rewardTag
  12. #
  13. # where:
  14. # r = recurrence: "S" = Single        - One time only as specified total OnTime
  15. #                 "R" = Recurring   - Recurring starting at specified time, repeating at recurring interval
  16. #                                       for a specified count, or until the next reward (if no count specified)
  17. #                 "I" = Individual  - A one time reward for a specified player
  18. #                 "F" = reFerred-by - A one time reward issued to a player that refers another.  The reward
  19. #                                       is issued when the referred player has played for the specified time.
  20. #                 "P" = Perpetual   - A recurring reward that starts at the specified time, repeating at the
  21. #                                       recurring interval, but continues indefinitely.
  22. #                 "TD" = Top Daily  - A reward to be issued to the player(s) with the most playtime for the previous day.  
  23. #                 "TW" = Top Weekly - A reward to be issued to the player(s) with the most playtime for the previous week.
  24. #                                       Issued just after midnight on the first day of a new week.
  25. #                 "TM" = Top Monthly- A reward to be issued to the player(s) with the most playtime for the previous month.
  26. #                                       Issued just after midnight on the first day of a new month.
  27. #                 "TT" = Top Total  - A reward to be issued to the player(s) with the most playtime on the server.  It can be
  28. #                                       issued daily, weekly, or monthly per the setting in config.yml
  29. # #
  30. # p = permission: "A" = All
  31. #                 "E" = Exclusive
  32. #
  33. # dd = reward days
  34. # hh = reward hours
  35. # mm = reward minutes
  36. #  
  37. # rdd = recurrence period days      
  38. # rhh = recurrence period hours      
  39. # rmm = recurrence period minutes    
  40. #
  41. # rc = recurrence count (number of times an award should be given)
  42. #      set to 0 for regular rewards (no recurrence)
  43. #      set to -1 for recurrence that should happen until the next regular reward (original design)
  44. #
  45. # t = type:  "E" = economy
  46. #            "I" = Item
  47. #            "P" = Permissions    
  48. #            "G" = Group
  49. #            "C" = Command
  50. #            "K" = Kit
  51. #
  52. # q = quantity: Only applies to "(I)tem" rewards
  53. #
  54. # reward = reward string
  55. #
  56. # rewardTag = Unique tag to identify a reward.  This is used to also create the "exclusive" permission string,
  57. #             which will have the the format "ontime.reward.rewardTag"
  58. #
  59. #  This tag is auto generated by the plugin.  If rewards are defined by hand, then this should be set to to "TBD"
  60. #   so the plugin knows that a tag needs to be created.  (e.g.: "- S,A,0,1,0,0,0,0,I,1,DIRT,TBD")
  61. #   The "rewardIDCounter" defined below is used as part of this string, such that every reward ever defined is guaranteed
  62. #   to have a unique permission string.
  63. #
  64. # example:
  65. #
  66. #          A set of permission plugin groups from lowest to highest of Default, Builder, Moderator, and Admin
  67. #
  68. #          a one time player change to permissions group named 'Builder' to be issued at 2 hours
  69. #          a one time econ reward to be issued at 1 day, 0 hours, 0 minutes of 200 coins, exclusive to only some groups
  70. #          a one time econ reward to be issued at 2 days, 8 hours, 10 minutes of 1000 coins
  71. #          a recurring 2 DIAMOND item reward to be issued at 3 days, and every four hours after that
  72. #          a one time command execution of the defined 'xp100' command at 4 days, 0 hours, 0 minutes
  73. #
  74. #####################################################################################################
  75. # Example reward.yml
  76. #
  77. # 'version' below is the version of this YML file. DO NOT CHANGE THIS
  78. #
  79. ###################################################
  80. ## DO NOT CHANGE THE VERSION number for this file #
  81. #version: 7
  82. ###################################################
  83. ##
  84. ###################################################
  85. ## DO NOT CHANGE THE FOLLOWING rewardIDCounter    #
  86. #rewardIDCounter: 0
  87. ##################################################
  88. ##
  89. ## Worlds enabled for Rewards
  90. # worlds:
  91. #   - all
  92. #   groups:
  93. #      - Default
  94. #      - Builder
  95. #      - Moderator
  96. #      - Admin
  97. #
  98. #  commands:
  99. #      - creative:'creative [player]'   NOTES: The (') around the string are REQUIRED & there should be no space before
  100. #       - kill:'kill [player]'             or after these (') marks; [player] will be replaced
  101. #                                         with the target player's name when executed
  102. #
  103. #    rewards:
  104. #       - S,A,0,2,0,0,0,0,0,G,1,builder,S4G1builder
  105. #       - S,E,1,0,0,0,0,0,0,E,1,200,S5E1200
  106. #        - S,A,2,8,10,0,0,0,0,E,1,1000,S6E11000
  107. #       - R,A,3,0,0,0,4,0,-1,I,2,DIAMOND,S7I2DIAMOND
  108. #        - S,A,4,0,0,0,0,0,0,C,0,creative,S8C0creative
  109. #
  110. #####################################################################################################
  111. #
  112. #
  113. ##################################################
  114. # DO NOT CHANGE THE VERSION number for this file #
  115. version: 7
  116. ##################################################
  117. #
  118. ##################################################
  119. # DO NOT CHANGE THE FOLLOWING rewardIDCounter    #
  120. rewardIDCounter: 0
  121. ##################################################
  122. #
  123. # Worlds enabled for Rewards
  124. worlds:
  125.   - all
  126. #
  127. groups:
  128.   - default
  129.    - Novice
  130.    - Builder
  131.    - Citizen
  132.    - Leader
  133.    - Mayor
  134.    - Donator
  135.    - Police
  136.    - Moderator
  137.    - Admin
  138.    - Owner
  139. #
  140. #
  141. commands:
  142. #
  143. #
  144. kits:
  145.   - testKit1,3,1,WOOD_SWORD,1,LEATHER_HELMET,1,LEATHER_CHESTPLATE
  146.  
  147. #
  148. #
  149. rewards:
  150.   - S,A,0,0,1,0,0,0,-1,G,1,default,S0G1default
  151.    - S,A,0,0,10,0,0,0,-1,G,1,novice,S0G1novice
  152.    - S,A,0,1,30,0,0,0,-1,G,1,builder,S1G1builder
  153.    - S,A,0,2,30,0,0,0,-1,G,1,citizen,S2G1citizen
  154.    - S,A,3,0,0,0,0,0,-1,G,1,leader,S0G1leader
  155.    - S,A,5,12,0,0,0,0,-1,G,1,mayor,S1G1mayor
  156.    - KE,A,9999,0,0,0,0,0,-1,I,1,WOOD_SWORD,kit-testKit1-1
  157.    - KE,A,9999,0,1,0,0,0,-1,I,1,LEATHER_HELMET,kit-testKit1-2
  158.    - KE,A,9999,0,2,0,0,0,-1,I,1,LEATHER_CHESTPLATE,kit-testKit1-3
  159. #
  160. #
  161. #
  162. # END rewards.yml
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement