Advertisement
dust6161

Ontime Config.yml Enhancement ticket

Apr 20th, 2013
15
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 6.07 KB | None | 0 0
  1. # OnTime Configuration File
  2. # Last Default YML Update: Jan 25, 2013
  3. # Author: Edge209
  4.  
  5. ###################################################
  6. #  DO NOT CHANGE THE VERSION number for this file #
  7. configVersion: 14
  8. ###################################################
  9.  
  10. # The name of your server
  11. serverName: Revonation
  12.  
  13. # If purge is enabled users will be auto removed from stored file if they don't have enough play time / or have not been on for so long
  14. purgeEnable: true
  15.  
  16. # minimum time in minutes someone has to be on for their data to be saved
  17. purgeTimeMin: 1
  18.  
  19. # maximum time in days since last login before purge
  20. purgeLoginDay: 120
  21.  
  22. # Enable if purged players should be auto-demoted
  23. purgeDemotionEnable: false
  24.  
  25. # If purgeDemotion is enabled, this is target group for demotion
  26. purgeDemotionGroup: Guest
  27.  
  28. # maximum length of 'top player' lists
  29. topListMax: 10
  30.  
  31. # Enable if data should be saved to disk on scheduled event. Otherwise it will happen on server shutdown only
  32. autoSaveEnable: true
  33.  
  34. # If auto file save is enabled above, how frequently (server ticks) should this be done.   (72000 = 1 hour)
  35. autoSavePeriod: 72000
  36.  
  37. # Enable if backup versions of data files should be auto-created each day
  38. autoBackupEnable: true
  39.  
  40. # If auto backup is enabled above, how many versions should be retained?
  41. autoBackupVersions: 2
  42.  
  43. # Delay during OnTime enable to ensure it finished init AFTER vault, permissions, and econ plugins
  44. # For most servers there is no need to change this (in seconds)
  45. startupDelay: 0
  46.  
  47.  
  48. # Enable/Disable detailed (daily/weekly/monthly) PLAYING TIME collection
  49. collectPlayDetailEnable: true
  50.  
  51. # Enable/Disable detailed (daily/weekly/monthly) VOTE collection (requires MySQL)
  52. collectVoteDetailEnable: false
  53.  
  54. # Enable/Disable detailed (daily/weekly/monthly) REFERRAL collection (requires MySQL)
  55. collectReferDetailEnable: false
  56.  
  57.  
  58. # Identify the starting day of each week for weekly reports and weekly rewards.  Valid Values: 1-7  where:
  59. # 1=Sunday; 2=Monday; etc.
  60. firstDayofWeek: 1
  61.  
  62. # Identify the starting day of each month for monthly reports, and monthly rewards.
  63. # Just in case you want to start in the middle for some strange reason..... and to help debug problems
  64. # Valid Values: 1-31  where: 1=1st; 2=2nd; etc.
  65. firstDayofMonth: 1
  66.  
  67. # Enable if DAILY/WEEKLY/MONTLY reports should be auto-generated
  68. autoReportEnable: true
  69.  
  70. # If 'autoReportEnable is true' then, enable various DAILY/WEEKLY/MONTHLY reports
  71. dailyPlayReportEnable: true
  72. weeklyPlayReportEnable: true
  73. montlyPlayReportEnable: true
  74.  
  75.  
  76. # Report Storage sub-folder under /plugins/OnTime/
  77. # '/' implies no sub-folder.  '/reports' is otherwise recommended
  78. reportFolder: /plugins/OnTime/report
  79.  
  80. # Date format used in reports and in filename (if enabled below)
  81. dateFilenameFormat: yyyy.MM.dd
  82.  
  83. # Enable date to be used in Report filenames (using format above)
  84. dateInFilenameEnable: true
  85.  
  86. # Enable if HTML format should be used for Reports (default is .txt)
  87. reportFormatHTML: false
  88.  
  89. # Enable if log file should be created.
  90. logEnable: false
  91.  
  92. # Detail to be included in OnTime logfile. 1=most detail ; 2=medium ; 3=least detail
  93. logLevel: 1
  94.  
  95. # Detail to be shown on console. 1=most detail ;2= medium; 3=least detail
  96. consoleLogLevel: 3
  97.  
  98. # Enable if OnTime Rewards system to be enabled
  99. rewardsEnable: true
  100.  
  101. # Enable if Reward Notification Messages to players should be displayed
  102. rewardNotifyEnable: true
  103.  
  104. # Enable if Reward Broadcast Messages should be sent to all online players
  105. rewardBroadcastEnable: true
  106.  
  107. # Enable if players are allowed to be referred by other players, and 'referred by' rewards defined and issued
  108. referredByEnable: true
  109.  
  110. # Enable if referred by usage should be tracked using permission strings. If referredByEnable (above) is true and
  111. # dataStoage (below) is YML, this *MUST* remain true for referredBy to function.
  112. referredByPermTrackEnable: true
  113.  
  114. # Max total OnTime (in hours) where player can still be referred by another. After they have been on this long, they can no longer claim
  115. # a reference by another player.  Set to -1 for no limit.
  116. referredByMaxTime: -1
  117.  
  118. # Enable if AFK status to be checked, and AFK time NOT counted
  119. afkCheckEnable: true
  120.  
  121. # If AFK is enabled, max time (minutes) with no activity before player is considered AFK
  122. afkTime: 1
  123.  
  124. # if AFK is enable, also enable this for AFK history collection and reporting
  125. collectAfkEnable: false
  126.  
  127. # If AFK Collecting/Reporting is enabled, then set the period for AFK reporting/sorting.  
  128. # Valid values are: Today, Week, Month (make sure only first letter is upper case)
  129. afkReportPeriod: Week
  130.  
  131.  
  132. # Selection of Data Storage Method.  Valid values= YML, MYSQL
  133. dataStorage: YML
  134.  
  135. # MySQL - This must be enabled and properly set up if MySQL is to be used for data storage and/or
  136. #         data import is to be done from another plugin MySQL table.  (currently support for LogBlock is provided)
  137. MySQL:
  138.  enable: false
  139.  host: [Blocked]
  140.  port: 3306
  141.  user: [Blocked]
  142.  password: [Blocked]
  143.  database: [Blocked]
  144.  table: ontime-players
  145.  
  146. # Top Player Rewards
  147. #
  148.  
  149. # When should rewards be issued to the overall top (total OnTime) players?  Valid settings: 'disable', 'daily', 'weekly', and 'monthly'
  150. totalTopPlayReward: weekly
  151.  
  152. # When should rewards be issued to the overall top voting players?  Valid settings: 'disable', 'daily', 'weekly', and 'monthly'
  153. totalTopVoteReward: disable
  154.  
  155. # When should rewards be issued to the overall top referring players?  Valid settings: 'disable', 'daily', 'weekly', and 'monthly'
  156. totalTopReferReward: disable
  157.  
  158.  
  159. # Set 'true' if running OnTime in a single-server MC environment, or if this is designated the 'primary' server in
  160. # a multi-server MC environment where servers are sharing one MySQL database.  In the multi-server environment there
  161. # should be only ONE of the servers designated as 'primary'
  162. primaryServer: true
  163.  
  164. # Enable if OnTime Messaging will be used
  165. messagesEnable: false
  166.  
  167. # Enable if OnTime Welcome Messages are to be displayed
  168. welcomeEnable: false
  169.  
  170. # Enable if OnTime should check for latest plugin version (from bukkitdev)
  171. updateCheckEnable: true
  172.  
  173. # END ontime/config.yml
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement