iamvishnu

ontime config.yml

Nov 8th, 2013
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 7.97 KB | None | 0 0
  1. # OnTime Configuration File
  2. # Last Default YML Update: July 17, 2012
  3. # Author: Edge209
  4.  
  5. #Version of this config file DO NOT CHANGE THIS
  6. configVersion: 16
  7.  
  8. # The name of your server
  9. serverName: The Minecraft Blog Server
  10.  
  11. # 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
  12. purgeEnable: true
  13.  
  14. # minimum time in minutes someone has to be on for their data to be saved
  15. purgeTimeMin: 10
  16.  
  17. # maximum time in days since last login before purge
  18. purgeLoginDay: 60
  19.  
  20. # maximum length of 'top player' lists
  21. topListMax: 10
  22.  
  23. # Enable if data should be saved to disk on scheduled event. Otherwise it will happen on server shutdown only
  24. autoSaveEnable: true
  25.  
  26. # If auto file save is enabled above, how frequently (server ticks) should this be done.   (72000 = 1 hour)
  27. autoSavePeriod: 72000
  28.  
  29. # Enable if backup versions of data files should be auto-created each day
  30. autoBackupEnable: true
  31.  
  32. # If auto backup is enabled above, how many versions should be retained?
  33. autoBackupVersions: 3
  34.  
  35.  
  36. # Enable/Disable detailed (daily/weekly/monthly) PLAYING TIME collection
  37. collectPlayDetailEnable: true
  38.  
  39. # Enable/Disable detailed (daily/weekly/monthly) VOTE collection (requires MySQL)
  40. collectVoteDetailEnable: true
  41.  
  42. # Enable/Disable detailed (daily/weekly/monthly) REFERRAL collection (requires MySQL)
  43. collectReferDetailEnable: true
  44.  
  45.  
  46. # Identify the starting day of each week for weekly reports and weekly rewards.  Valid Values: 1-7  where:
  47. # 1=Sunday; 2=Monday; etc.
  48. firstDayofWeek: 2
  49.  
  50. # Identify the starting day of each month for monthly reports, and montly rewards.
  51. # Just in case you want to start in the middle for some strange reason..... and to help debug problems
  52. # Valid Values: 1-31  where: 1=1st; 2=2nd; etc.
  53. firstDayofMonth: 1
  54.  
  55. # Enable if DAILY/WEEKLY/MONTLY reports should be auto-generated
  56. autoReportEnable: true
  57.  
  58.  
  59.  
  60. # If 'autoReportEnable is true' then, enable various DAILY/WEEKLY/MONTHLY reports
  61.  
  62.  
  63. dailyPlayReportEnable: true
  64. weeklyPlayReportEnable: true
  65. monthlyPlayReportEnable: true
  66.  
  67.  
  68. # Report Storage sub-folder under /plugins/OnTime/
  69. # '/' implies no sub-folder.  '/reports' is otherwise recommended
  70. reportFolder: /
  71.  
  72. # Date format used in reports and in filename (if enabled below)
  73. dateFilenameFormat: yyyy.MM.dd
  74.  
  75. # Enable date to be used in Report filenames (using format above)
  76. dateInFilenameEnable: true
  77.  
  78.  
  79. # Report Storage sub-folder under /plugins/OnTime/
  80. # '/' implies no sub-folder.  '/reports' is otherwise recommended
  81. reportFolder: /
  82.  
  83. # Date format used in reports and in filename (if enabled below)
  84. dateFilenameFormat: yyyy.MM.dd
  85.  
  86. # Enable date to be used in Report filenames (using format above)
  87. dateInFilenameEnable: true
  88.  
  89.  
  90. # Report Storage sub-folder under /plugins/OnTime/
  91. # '/' implies no sub-folder.  '/reports' is otherwise recommended
  92. reportFolder: /
  93.  
  94. # Date format used in reports and in filename (if enabled below)
  95. dateFilenameFormat: yyyy.MM.dd
  96.  
  97. # Enable date to be used in Report filenames (using format above)
  98. dateInFilenameEnable: true
  99.  
  100.  
  101. # Report Storage sub-folder under /plugins/OnTime/
  102. # '/' implies no sub-folder.  '/reports' is otherwise recommended
  103. reportFolder: /
  104.  
  105. # Date format used in reports and in filename (if enabled below)
  106. dateFilenameFormat: yyyy.MM.dd
  107.  
  108. # Enable date to be used in Report filenames (using format above)
  109. dateInFilenameEnable: true
  110.  
  111. # If autoReportEnable is true, set the format of the reports: (Valid Settings: TXT, HTML, MYSQL
  112.  
  113. reportFormat: TXT
  114.  
  115. # If autoReportEnable is true, set the duration (in days) that reports are retained before they are auto deleted
  116.  
  117. # Set any of the following to -1 to disable the auto deletion for that report type
  118. # Recommendations: Daily:8; Weekly:36; Monthly:380; afk:15
  119. #
  120. dailyReportRetention: -1
  121. weeklyReportRetention: -1
  122. monthlyReportRetention: -1
  123. afkReportRetention: -1
  124.  
  125. # Enable if Online player status should be tracked in MYSQL Table
  126. onlineTrackingEnable: false
  127.  
  128. # If online tracking is enabled, set the refresh rate (in minutes)
  129. onlineTrackingRefresh: 5
  130.  
  131.  
  132. # Enable if log file should be created.
  133. logEnable: true
  134.  
  135. # Detail to be included in OnTime logfile. 1=most detail ; 2=medium ; 3=least detail
  136. logLevel: 1
  137.  
  138. # Detail to be shown on console. 1=most detail ;2= medium; 3=least detail
  139. consoleLogLevel: 3
  140.  
  141. # Log Levels Include:
  142. # Level 1 (Level 2 and Level 3 events plus)
  143. #   Player login event
  144. #   Player Quit event
  145. #   Rewards scheduled
  146. #   Rewards cancelled
  147. # Level 2 (Level 3 events plus)
  148. #   Players purged from records due to low play time
  149. #   Players purged from records due to long absence
  150. #   Players not scheduled for reward due to lack of receive permission
  151. # Level 3 (Level 3 events only)
  152. #   'set', 'add', and 'remove' commands executed
  153. #   Rewards Issued
  154. #   Error Messages
  155.  
  156. # Enable if OnTime Rewards system to be enabled
  157. rewardsEnable: true
  158.  
  159. # Enable if Reward Notification Messages to players should be displayed
  160. rewardNotifyEnable: true
  161.  
  162.  
  163. # Enable if players are allowed to be referred by other players, and 'referred by' rewards defined and issued
  164. referredByEnable: true
  165.  
  166. # Enable if referred by usage should be tracked using permission strings. If referredByEnable (above) is true and
  167. # dataStoage (below) is YML, this *MUST* remain true for referredBy to function.
  168. referredByPermTrackEnable: true
  169.  
  170. # Delay during OnTime enable to ensure it finished init AFTER vault, permissions, and econ plugins
  171. # For most servers there is no need to change this (in seconds)
  172. startupDelay: 0
  173.  
  174.  
  175. # 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
  176. # a reference by another player.  Set to -1 for no limit.
  177. referredByMaxTime: 24
  178.  
  179. # Enable if AFK status to be checked, and AFK time NOT counted
  180. afkCheckEnable: true
  181.  
  182. # If AFK is enabled, max time (minutes) with no activity before player is considered AFK
  183. afkTime: 2.5
  184.  
  185. # if AFK is enable, also enable this for AFK history collection and reporting
  186. collectAfkEnable: true
  187.  
  188. # If AFK Collecting/Reporting is enabled, then set the period for AFK reporting/sorting.  
  189. # Valid values are: Today, Week, Month (make sure only first letter is upper case)
  190. afkReportPeriod: Week
  191.  
  192.  
  193. # Selection of Data Storage Method.  Valid values= DAT, YML, MYSQL
  194. dataStorage: MYSQL
  195.  
  196. # MySQL - This must be enabled and properly set up if MySQL is to be used for data storage and/or
  197. #data import is to be done from another plugin MySQL table.  (currently support for LogBlock is provided)
  198. MySQL:
  199.   enable: true
  200.   host: xxx.x.xxx.x
  201.   port: 3306
  202.   user: xxxxxx
  203.   password: xxxxxxxxx
  204.   database: 4310
  205.   table: ontime-players
  206.  
  207.  
  208. # Top Player Rewards
  209. #
  210. # When should rewards be issued to the overall top (total OnTime) players?  Valid settings: 'disable', 'daily', 'weekly', and 'monthly'
  211. totalTopPlayReward: monthly
  212.  
  213. # When should rewards be issued to the overall top voting players?  Valid settings: 'disable', 'daily', 'weekly', and 'monthly'
  214. totalTopVoteReward: disable
  215.  
  216. # When should rewards be issued to the overall top referring players?  Valid settings: 'disable', 'daily', 'weekly', and 'monthly'
  217. totalTopReferReward: disable
  218.  
  219.  
  220. # Set 'true' if running OnTime in a single-server MC environment, or if this is designated the 'primary' server in
  221. # a multi-server MC environment where servers are sharing one MySQL database.  In the multi-server environment there
  222. # should be only ONE of the servers designated as 'primary'
  223. primaryServer: true
  224. # Enable if OnTime Messaging will be used
  225. messagesEnable: true
  226.  
  227. # Enable if OnTime Welcome Messages are to be displayed
  228. welcomeEnable: false
  229.  
  230. # Enable if OnTime should check for latest plugin version (from bukkitdev)
  231. updateCheckEnable: true
  232.  
  233. rewardBroadcastEnable: true
  234.  
  235. # Enable if 'loyalty' Points are going to be used
  236. pointsEnable: true
  237.  
  238. # If 'pointsEnable' above is true, Enable this if negative 'loyalty' Points totals should be possible
  239. negativePointsEnable: false
  240.  
  241. # END ontime/config.yml
Advertisement
Add Comment
Please, Sign In to add comment