Advertisement
Guest User

Output.yml

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