Advertisement
Guest User

Untitled

a guest
Nov 8th, 2012
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 8.79 KB | None | 0 0
  1. # OnTime Output Configuration File
  2. # Last Default YML Update: Aug 23, 2012
  3. # Author: Edge209
  4.  
  5. #Version of this config file DO NOT CHANGE THIS
  6. outputVersion: 7
  7.  
  8. # Output Configuration Syntax Rules
  9. # *** BE CAREFUL *** since this is a yml file the format is very important.  NEVER use TABs to create space, always use 'spaces'
  10. #
  11. # Every output string must be contained within single quote marks (')
  12. # Color codes can be used, but codes must begin with "&" and must followed by a space (' ')  e.g. '&a ' for green text
  13. # The number of lines output must be specified (lines: #), or set to zero if no output should be generated.
  14. # Each line must be labeled with 'line-#:' where # is the line order, and # should begin with 1
  15. # "Variables" must be enclosed in "[ ]" and must be proceeded and followed by a space (' ').
  16. #
  17. # The following 'variable' codes are supported in the output:
  18. #
  19. # [afk] - Player's Away from Keyboard (AFK) status. ("(AFK)" shown when AFK, otherwise nothing is displayed.)
  20. # [afktime] - How long a player has been AFK for the current login session
  21. # [current] - Player's OnTime for current session (login)
  22. # [daily] - Player's daily OnTime
  23. # [daysAgo] - Number of calendar days since player's first login to the server
  24. # [daysOn] - The number of different days the player has been on the server
  25. # [firstLogin] - The date player first joined the server
  26. # [monthly] - Player's Monthly OnTime
  27. # [monthStartDate] - Date for start of new monthly playtime collection period
  28. # [player] - Player's in-game name
  29. # [quantity] - Reward quantity value.  Only used for 'item' and 'xp' rewards
  30. # [referredBy] - Player that referred another player
  31. # [referredPlayer] - Player that was referred by another
  32. # [referrals] - Number of referrals made by a player
  33. # [reward] - Reward to be issued.  (This holds the quantity for 'econ' rewards)
  34. # [rewardString]** - A default set of reward strings which combine things such as quantity and reward names.
  35. # [rewardType] - Type of reward: Auto vs Individual if Individual Ontime/Real/Delta/Login is also specified
  36. # [timeToReward] - The amount of in-game time until a players next reward is issued
  37. # [topSpot] - Player's location in a "Top xx" list
  38. # [total] - Player's total OnTime
  39. # [votes] - Number of votes cast for the system
  40. # [weekStartDate] - Date for start of new weekly playtime collection period
  41. # [$] - econ system's unit name (e.g. 'coins', 'dollars', 'credits')
  42. #
  43. #
  44. #  ** There is special handling for '[rewardString]'.  This was designed to be used in the 'ontime' (self) and 'ontime <playername.' (other) commands.
  45. #      Because it is possible to use the 'ontime rewards set' command a player can have more than one scheduled reward.  When '[rewardString]' is used
  46. #      the plugin will generate multiple lines of the same format, one for each of the scheduled rewards for that player.  Any variable used
  47. #      on the same line will also be used in each of the reward output lines.
  48. #
  49. # Color Codes
  50. #  &0   Black
  51. #  &1   Dark Blue
  52. #  &2   Dark Green
  53. #  &3   Dark Aqua
  54. #  &4   Dark Red
  55. #  &5   Dark Purple
  56. #  &6   Gold
  57. #  &7   Gray
  58. #  &8   Dark Gray
  59. #  &9   Blue
  60. #  &a   Green
  61. #  &b   Aqua
  62. #  &c   Red
  63. #  &d   Light Purple
  64. #  &e   Yellow
  65. #  &f   White
  66.  
  67. output:
  68. #
  69. # Output for reward issue events
  70. #
  71.    reward:
  72.       kit:
  73.         lines: 3
  74.         line-1: '&a Congratulations [player] !'
  75.         line-2: '&a You have been on for [total]'
  76.         line-3: '&a You have been rewarded a kit including:'
  77.       kitelement:
  78.         lines: 1
  79.         line-1: '&a [quantity] [reward]'  
  80.       votifier:
  81.         lines: 3
  82.         line-1: '&a [player] your vote for [serverName] has been counted! '
  83.         line-2: '&a You have been given [rewardString] as a thank you. '
  84.         line-3: '&a Please remember to vote again tomorrow! '
  85.       referralTarget:
  86.         lines: 2
  87.         line-1: '&a [player] Thank you for letting us know who referred you.'
  88.         line-2: '&a For doing this, you have been given [rewardString]'
  89.       item:
  90.         lines: 3
  91.         line-1: '&a Congratulations [player] !'
  92.         line-2: '&a You have been on for [total]'
  93.         line-3: '&a You have been rewarded ( [quantity] ) [reward]'
  94.       inventoryFull:
  95.         lines: 2
  96.         line-1: '&a You have a reward of ( [quantity] ) [reward] waiting.'
  97.         line-2: '&a Please make room in your inventory.'
  98.       econ:
  99.         lines: 1
  100.         line-1: '&4 [player] &a + [reward] &c Virgin.'
  101.       permission:
  102.         lines: 4
  103.         line-1: '&a Congratulations [player] !'
  104.         line-2: '&a You have been on for [total]'
  105.         line-3: '&a You have been granted the following permission [reward]'
  106.         line-4: '&a It will take effect on your next login.'
  107.       group:
  108.         lines: 3
  109.         line-1: '&a Congratulations [player] !'
  110.         line-2: '&a You have been on for [total]'
  111.         line-3: '&a You have been auto-promoted to group [reward]'
  112.       command:
  113.         lines: 0
  114.       xp:
  115.         lines: 3
  116.         line-1: '&a Congratulations [player] !'
  117.         line-2: '&a You have been on for [total]'
  118.         line-3: '&a You have been rewarded [quantity] XP!'
  119.       referred:
  120.         lines: 3
  121.         line-1: '&a Congratulations [player] !'
  122.         line-2: '&a Your referral of [referredPlayer] has payed off'
  123.         line-3: '&a You have been rewarded [rewardString]'
  124.       topDaily:
  125.         lines: 3
  126.         line-1: '&a Congratulations [player] !'
  127.         line-2: '&a You have been rewarded [rewardString]'
  128.         line-3: '&a For being the # [topSpot] Player for [topPeriod]'
  129.       topWeekly:
  130.         lines: 3
  131.         line-1: '&a Congratulations [player] !'
  132.         line-2: '&a You have been rewarded [rewardString]'
  133.         line-3: '&a For being the # [topSpot] Player for the week starting [topPeriod]'
  134.       topMonthly:
  135.         lines: 3
  136.         line-1: '&a Congratulations [player] !'
  137.         line-2: '&a You have been rewarded [rewardString]'
  138.         line-3: '&a For being the # [topSpot] Player for the month starting [topPeriod]'
  139.       topTotal:
  140.         lines: 3
  141.         line-1: '&a Congratulations [player] !'
  142.         line-2: '&a You have been rewarded [rewardString]'
  143.         line-3: '&a For being the # [topSpot] Player as of [topPeriod]'
  144.  
  145.        
  146. # endRewards
  147. #
  148.  
  149. #
  150. # Output for the '/ontime' command
  151. #
  152.    ontime-me:
  153.      lines: 5
  154.      line-1: 'Current login time = [current]'
  155.      line-2: 'Today total time = [daily]'
  156.      line-3: 'This week total time = [weekly]'
  157.      line-4: 'This month total time = [monthly]'
  158.      line-5: 'Lifetime server time = [total]'
  159. # endOntime-me
  160. #
  161.  
  162. #
  163. # Output for the '/ontime <player>' command
  164. #    
  165.    ontime-other:
  166.      line-1: '[player] : Joined the server [daysAgo] days ago.'
  167.      line-2: '[player] : Has been on [daysOn] different days.'
  168.      line-3: '[player] : Last login on [lastLogin]'
  169.      line-4: '[player] : This login= [current] &c [afk]'
  170.      line-5: '[player] : AFK time this login= [afktime]'
  171.      line-6: '[player] : Today= [daily]'
  172.      line-7: '[player] : This Week= [weekly]'
  173.      line-8: '[player] : This Month= [monthly]'
  174.      line-9: '[player] : Total Time= [total]'
  175.      line-10: '[player] : Reward: ( [rewardType] ) [rewardString] in [timeToReward]'
  176. # endOntime-other
  177. #
  178.  
  179. #
  180. # output used when there is missing data
  181. #
  182.    error:
  183.         errorColor: '&c'
  184.         noDaysAgo: 'No record'
  185.         noDaysOn: 'No record'
  186.         noLastLogin: 'No record'
  187.         notOnline: 'Not Online'
  188.         notOnToday: 'Not On Today'
  189.         notOnWeek: 'Not On This Week'
  190.         notOnMonth: 'Not On This Month'
  191.         noTotal: 'No record'
  192.         noReward: 'No reward set'
  193.         noRewardQuantity: 'N/A'
  194.         noRewardTime: 'N/A'
  195.         notEnabled: 'N/A'
  196.         noAFKTime: 'N/A'
  197.         playerAFK: '(on hold)'
  198.         noTopData: 'N/A'
  199. # endError
  200. #
  201. #
  202. # Formats used to output dates and time.  Please reference http://www.java2s.com/Tutorial/Java/0040__Data-Type/SimpleDateFormat.htm
  203. # for more information and examples
  204. #
  205.    dateTimeFormat: '[MM/dd/yyyy hh:mm:ss]'
  206.  
  207.    dateFormat: '[MM/dd/yyyy]'    
  208. # endDate
  209. #  
  210.  
  211. #
  212. # Output for headers and colors used in '>ontime top <##> [total/today/week]' commands  
  213. #
  214.    topListHeader:
  215.      lines: 1
  216.      line-1: '&e -- [serverName] &9 OnTime &e LeaderBoard--'
  217.    
  218.    todayListHeader:
  219.      lines: 2
  220.      line-1: '&e -- [serverName] &f Daily LeaderBoard &e --'
  221.      line-2: '&9 for today - [reportDate]'
  222.      
  223.    weekListHeader:
  224.      lines: 2
  225.      line-1: '&e -- [serverName] &f Weekly LeaderBoard &e --'
  226.      line-2: '&9 for the week starting [weekStartDate]'
  227.      
  228.    monthListHeader:
  229.      lines: 2
  230.      line-1: '&e -- [serverName] &f Monthly LeaderBoard &e --'
  231.      line-2: '&9 for the month starting [monthStartDate]'
  232.  # endHeaders    
  233.      
  234.    topListTimeColor: '&a'
  235.    topListNameColor: '&f'
  236.    topListExtrasColor: '&a'
  237. # endColors
  238.      
  239. # endFile
  240. #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement