Guest User

output.yml

a guest
Dec 24th, 2012
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 11.04 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. # [timeToReward] - The amount of in-game time until a players next reward is issued
  42. # [topSpot] - Player's location in a "Top xx" list
  43. # [total] - Player's total OnTime
  44. # [votes] - Number of votes cast for the system
  45. # [weekly] - Player's weekly OnTime
  46. # [weekStartDate] - Date for start of new weekly playtime collection period
  47. # [$] - econ system's unit name (e.g. 'coins', 'dollars', 'credits')
  48. #
  49. #
  50. #  ** There is special handling for '[rewardString]'.  This was designed to be used in the 'ontime' (self) and 'ontime <playername.' (other) commands.
  51. #      Because it is possible to use the 'ontime rewards set' command a player can have more than one scheduled reward.  When '[rewardString]' is used
  52. #      the plugin will generate multiple lines of the same format, one for each of the scheduled rewards for that player.  Any variable used
  53. #      on the same line will also be used in each of the reward output lines.
  54. #
  55. # Color Codes
  56. #  &0   Black
  57. #  &1   Dark Blue
  58. #  &2   Dark Green
  59. #  &3   Dark Aqua
  60. #  &4   Dark Red
  61. #  &5   Dark Purple
  62. #  &6   Gold
  63. #  &7   Gray
  64. #  &8   Dark Gray
  65. #  &9   Blue
  66. #  &a   Green
  67. #  &b   Aqua
  68. #  &c   Red
  69. #  &d   Light Purple
  70. #  &e   Yellow
  71. #  &f   White
  72.  
  73. output:
  74. #
  75. # Output for reward issue events
  76. #
  77.    reward:
  78.       kit:
  79.         lines: 3
  80.         line-1: '&a Congratulations [player] !'
  81.         line-2: '&a You have been on for [total]'
  82.         line-3: '&a You have been rewarded a kit including:'
  83.       kitelement:
  84.         lines: 1
  85.         line-1: '&a [quantity] [reward]'
  86.       votifier:
  87.         lines: 3
  88.         line-1: '&a [player] your vote for [serverName] has been counted! '
  89.         line-2: '&a You have been given [rewardString] as a thank you. '
  90.         line-3: '&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 auto-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]'
  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]'
  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]'
  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]'
  151.         line-3: '&a For being the # [topSpot] Player as of [topPeriod]'
  152.  
  153.  
  154. # endRewards
  155. # Server Broadcasts
  156.    broadcast:
  157.       votifier:
  158.         lines: 3
  159.         line-1: '&b[B]&e [player]&f has &5voted&f for &5[serverName]&f! '
  160.         line-2: '&b[B]&f and received &3[rewardString] as a thank you. '
  161.         line-3: '&b[B]&5 You&f should too! '
  162.       referralTarget:
  163.         lines: 2
  164.         line-1: '&e [player] Just told us who referred them to [serverName]'
  165.         line-2: '&e For doing this, they have been given [rewardString]'
  166.       group:
  167.         lines: 1
  168.         line-1: '&e [player] been auto-promoted to group [reward]'
  169.       referred:
  170.         lines: 3
  171.         line-1: '&e [player] has successfully referred a friend to [serverName]'
  172.         line-2: '&e And for doing so they received [rewardString]'
  173.         line-3: '&e You should do the same!'
  174.       topDaily:
  175.         lines: 2
  176.         line-1: '&e [player] was rewarded [rewardString]'
  177.         line-2: '&e For being the # [topSpot] Player for [topPeriod]'
  178.       topWeekly:
  179.         lines: 2
  180.         line-1: '&e [player] was rewarded [rewardString]'
  181.         line-2: '&e For being the # [topSpot] Player for the week starting [topPeriod]'
  182.       topMonthly:
  183.         lines: 2
  184.         line-1: '&e [player] was rewarded [rewardString]'
  185.         line-2: '&e For being the # [topSpot] Player for the month starting [topPeriod]'
  186.       topTotal:
  187.         lines: 2
  188.         line-1: '&e [player] was rewarded [rewardString]'
  189.         line-2: '&e For being the # [topSpot] Player as of [topPeriod]'
  190.  
  191. # broadcast end
  192.  
  193. #
  194.  
  195. #
  196. # Output for the '/ontime' command
  197. #
  198.    ontime-me:
  199.      lines: 5
  200.      line-1: 'Current login time = [current]'
  201.      line-2: 'Today total time = [daily]'
  202.      line-3: 'This week total time = [weekly]'
  203.      line-4: 'This month total time = [monthly]'
  204.      line-5: 'Lifetime server time = [total]'
  205. # endOntime-me
  206. #
  207.  
  208. #
  209. # Output for the '/ontime <player>' command
  210. #    
  211.    ontime-other:
  212.      lines: 14
  213.      line-1: '[player] : Joined the server [daysAgo] days ago.'
  214.      line-2: '[player] : Has been on [daysOn] different days.'
  215.      line-3: '[player] : Last login on [lastLogin]'
  216.      line-4: '[player] : This login= [current] &c [afk]'
  217.      line-5: '[player] : AFK time this login= [afktime]'
  218.      line-6: '[player] : Today= [daily]'
  219.      line-7: '[player] : This Week= [weekly]'
  220.      line-8: '[player] : This Month= [monthly]'
  221.      line-9: '[player] : Total Time= [total]'
  222.      line-10: '[player] : Votes Cast: [votes]'
  223.      line-11: '[player] : Last Voted on [lastvote]'
  224.      line-12: '[player] : Referred by: [referredBy]'
  225.      line-13: '[player] : Referrals Made: [referrals]'
  226.      line-14: '[player] : Reward: ( [rewardType] ) [rewardString] in [timeToReward]'
  227. # endOntime-other
  228. #
  229.  
  230.  
  231. #
  232. # output used when there is missing data
  233. #
  234.    error:
  235.         errorColor: '&c'
  236.         noDaysAgo: 'No record'
  237.         noDaysOn: 'No record'
  238.         noLastLogin: 'No record'
  239.         notOnline: 'Not Online'
  240.         notOnToday: 'Not On Today'
  241.         notOnWeek: 'Not On This Week'
  242.         notOnMonth: 'Not On This Month'
  243.         noTotal: 'No record'
  244.         noReward: 'No reward set'
  245.         noRewardQuantity: 'N/A'
  246.         noRewardTime: 'N/A'
  247.         notEnabled: 'N/A'
  248.         noAFKTime: 'N/A'
  249.         playerAFK: '(on hold)'
  250.         noTopData: 'N/A'
  251.         noData: 'N/A'
  252. # endError
  253. #
  254. #
  255. # Formats used to output dates and time.  Please reference http://www.java2s.com/Tutorial/Java/0040__Data-Type/SimpleDateFormat.htm
  256. # for more information and examples
  257. #
  258.    dateTimeFormat: '[MM/dd/yyyy HH:mm:ss]'
  259.  
  260.    dateFormat: '[MM/dd/yyyy]'
  261. # endDate
  262. #  
  263.  
  264. #
  265. # Output for headers and colors used in '>ontime top <##> [total/today/week]' commands  
  266. #
  267.    topListHeader:
  268.      lines: 1
  269.      line-1: '&e -- [serverName] &9 OnTime &e LeaderBoard--'
  270.  
  271.    todayListHeader:
  272.      lines: 2
  273.      line-1: '&e -- [serverName] &f Daily LeaderBoard &e --'
  274.      line-2: '&9 for today - [reportDate]'
  275.  
  276.    weekListHeader:
  277.      lines: 2
  278.      line-1: '&e -- [serverName] &f Weekly LeaderBoard &e --'
  279.      line-2: '&9 for the week starting [weekStartDate]'
  280.  
  281.    monthListHeader:
  282.      lines: 2
  283.      line-1: '&e -- [serverName] &f Monthly LeaderBoard &e --'
  284.      line-2: '&9 for the month starting [monthStartDate]'
  285.  
  286.    voteListHeader:
  287.      lines: 1
  288.      line-1: '&e -- [serverName] &9 Server Voting &e LeaderBoard--'
  289.  
  290.  # endHeaders    
  291.  
  292.    topListTimeColor: '&a'
  293.    topListNameColor: '&f'
  294.    topListExtrasColor: '&a'
  295. # endColors
  296.  
  297. # endFile
  298. #
Advertisement
Add Comment
Please, Sign In to add comment