Advertisement
Guest User

Untitled

a guest
Nov 12th, 2019
540
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.87 KB | None | 0 0
  1. #
  2. # _/_/_/_/ _/_/_/ _/
  3. # _/ _/_/_/ _/_/_/ _/ _/ _/ _/ _/_/_/ _/_/_/ _/ _/ _/ _/ _/_/_/
  4. # _/_/_/ _/ _/ _/_/ _/ _/ _/_/_/ _/ _/ _/ _/_/ _/ _/ _/ _/
  5. # _/ _/ _/ _/_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
  6. # _/_/_/_/ _/_/_/ _/_/_/ _/_/_/ _/_/_/ _/_/_/ _/_/_/ _/ _/ _/_/_/ _/_/_/
  7. # _/ _/
  8. # _/_/ _/
  9. # Main Configuration
  10. #
  11. # Thank you very much for purchasing my plugin <3
  12. # If you have any questions / problems, please use my online service desk:
  13. # https://prodigysupport.team/tickets/servicedesk/customer/portal/1
  14. # ~ JarFiles
  15.  
  16. # Enables / Disables Debug mode
  17. debug: false
  18. # Enables / Disables Passwords config encryption
  19. password-encryption: false
  20. # Enables / Disables Ingame Commands
  21. ingame-commands: true
  22. backup:
  23. # You can change the backups master folder here
  24. # Do not change is unless you know what you are doing
  25. master-folder: .
  26. # You can change the save location of the backups here
  27. # Do not change is unless you know what you are doing
  28. #
  29. # Placeholders:
  30. # {pluginname} - name of the plugin
  31. # {plugindir} - home directory of the plugin (Something like plugins/EasyBackup/)
  32. save-location: '{plugindir}/backups'
  33. # You can change the name of the backup here
  34. #
  35. # Placeholders
  36. # {time} - will be replaced with the backup time
  37. file-name: backup_{time}
  38. # Compression Level of the backup. Available are:
  39. # HIGHEST
  40. # HIGH
  41. # NORMAL
  42. # LOW
  43. # LOWEST
  44. # A higher level means that the backup will be smaller,
  45. # however it'll take longer to create the backup
  46. compression-level: NORMAL
  47. password:
  48. # Enables / Disables password and file encryption
  49. enabled: false
  50. # Set your backup password.
  51. # NOTE IT SOMEWHERE. THERE IS NOT WAY TO RESTORE IT
  52. password: ''
  53. # You can define how the {time} placeholder will be handled
  54. # For more information see:
  55. # https://docs.oracle.com/javase/8/docs/api/java/text/SimpleDateFormat.html
  56. time-format: MM_dd_yyyy-hh_mm_ss_aa
  57. # You can set the max amount of backups you want on your local server here
  58. # Set it to '-1' to disable it
  59. max-backups-before-erase: 5
  60. anti-lag:
  61. # Enables / Disables Anti Lag Feature which will slow down the backup to prevent lags
  62. enabled: true
  63. # Set the threshold for the anti lag feature. Default is 1.5 which means if the tps drops about 1.5 after the backup started the backup will slow down
  64. threshold: 1.5
  65. schedule:
  66. # Controls when backups are automatically made
  67. #
  68. # Normal Schedule:
  69. # For daily backups, just enter the time.
  70. # If you do not include AM or PM, it will be in military time.
  71. # To backup on specific days, write the day before the time on the same line
  72. # To be safe, put single quotes around your backup schedule: '17:30'
  73. # Example:
  74. # DAY HOUR:MINUTE PM
  75. # HOUR:MINUTE AM (Exclude day for daily)
  76. # HOUR:MINUTE (24 hour time)
  77. # Mon Wed Fri 7:00
  78. # 4:00 AM
  79. #
  80. # Cron Schedule:
  81. # If you want to use cron expressions instead of the normal schedule, clear the list below and enter
  82. # your expressions. Do NOT forget to enable cron expressions support below
  83. # Example: '0 0 0 ? * * *' to create a backup every day at 00:00:00
  84. # If you need help with creating your own cron expressions, check out https://www.freeformatter.com/cron-expression-generator-quartz.html
  85. list:
  86. - 0 0 1 ? * * *
  87. # Enables / Disables Cron Expressions support for the backup schedule
  88. cron-enabled: true
  89. # Set the interval between each check if it's time to create a backup
  90. # Value is in seconds
  91. check-interval: 1
  92. # Enables / Disables the usage of the exempt patterns below
  93. use-exempt: true
  94. # Enables / Disables the usage of the regex expressions
  95. use-pattern: false
  96. # You can specify which files you don't want to be backed up
  97. # HOW IT WORKS:
  98. # A new File instance will be created for each string below
  99. # This means: If you set it to 'logs' for example,
  100. # the plugin will search for a directory named 'logs' in the main server directory
  101. # The Directory and all sub files and directory will be excluded.
  102. # If you only want to exlude a single file, you have to set it to the full file name
  103. # Like: 'logs/latest.log'
  104. #
  105. # IF YOU ENABLED EXEMPT_REGEX YOU HAVE TO SPECIFY REGEX EXPRESSIONS HERE
  106. # THE BACKUP DIRECTORY IS EXCLUDED BY DEFAULT
  107. exempt-files:
  108. - logs
  109. disk-protection:
  110. # Enables / Disables Disk protection
  111. enabled: true
  112. # Sets the disk protection threshold (in mb)
  113. threshold: 500
  114. # Enables / Disables Async Disc Protection Execution
  115. async: false
  116. # Commands which will be executed once a backup starts
  117. #
  118. # Prefixes:
  119. # system - executes the command on the system
  120. # server - executes the command on the server the plugin is running on
  121. #
  122. # Example:
  123. # system:sh -c this is my test command
  124. # server:say I just found out how the command feature works
  125. start-commands: []
  126. # Commands which will be executed once a backup starts
  127. #
  128. # Prefixes:
  129. # system - executes the command on the finish
  130. # server - executes the command on the server the plugin is running on
  131. #
  132. # Example:
  133. # system:sh -c this is my test command
  134. # server:say I just found out how the command feature works
  135. finish-commands: []
  136. # Commands which will be executed once a backup fails
  137. #
  138. # Prefixes:
  139. # system - executes the command on the system
  140. # server - executes the command on the server the plugin is running on
  141. #
  142. # Example:
  143. # system:sh -c this is my test command
  144. # server:say I just found out how the command feature works
  145. fail-commands: []
  146. cleaner:
  147. # Enables / Disables the cleaner
  148. enabled: false
  149. # Set the amount of days after the files should be deleted
  150. days-old: 7
  151. # Set the directories in which the cleaner checks for files to be deleted
  152. directories:
  153. - logs
  154. # Enables / Disables the usage of the pattern list below
  155. # If you disabled this all files which are old enough will be deleted
  156. use-patterns: false
  157. # You can specify which files you want to be checked by the cleaner
  158. # Each filename will be checked against the specified patterns below
  159. # If a match is found and the file is old enough, the file will be deleted
  160. # You can test your expressions here: https://regex101.com
  161. file-pattern: []
  162. # Enables / Disables recursive checking of directories
  163. recursive: false
  164. mysql:
  165. # You can change the save location of the sql backups here
  166. # Do not change is unless you know what you are doing
  167. #
  168. # Placeholders:
  169. # {pluginname} - name of the plugin
  170. # {plugindir} - home directory of the plugin (Something like plugins/EasyBackup/)
  171. save-location: '{plugindir}/sqlbackups'
  172. # You can change the name of the sql backup here
  173. #
  174. # Placeholders
  175. # {time} - will be replaced with the sql backup time
  176. # {database} - database which the backup has been created of
  177. file-name: backup_{database]_{time}
  178. # You can define how the {time} placeholder will be handled
  179. # For more information see:
  180. # https://docs.oracle.com/javase/8/docs/api/java/text/SimpleDateFormat.html
  181. time-format: MM_dd_yyyy-hh_mm_ss_aa
  182. direct-access:
  183. # Enables / Disables Mysql Dumping by accessing the database directly (Does not require ssh access or something)
  184. enabled: false
  185. # Specify your JDBC Url here.
  186. # Only change it if you know what you are doing.
  187. # Make sure it contains the {database} placeholder which will be replaced with the database later
  188. command: jdbc:mysql://localhost:3306/{database}?useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC&useSSL=false
  189. # Specify which tables you want to be backed up here
  190. # You must use the following format:
  191. # DATABASE:USERNAME:PASSWORD[:TABLES]
  192. # The Table argument is optional. If you don't specify it, all tables will be backed up
  193. # For more details view the examples below
  194. #
  195. # Example:
  196. # thisismydb:testuser
  197. # thisismydb:testuser:thisismypassword
  198. # thisismydb2:testuser2:thisismypassword2[:iwantthistable:andthisonetoo]
  199. databases: []
  200. dump-command:
  201. # Enables / Disables Mysql Dumping using the mysqldump command
  202. enabled: false
  203. # Specify your MysqlDump command here.
  204. # You must use the following placeholders:
  205. # - {database} will be replaced with the database name
  206. # - {tables} will be relpaced with the tables name
  207. # - {password} will be replaced with the users password
  208. # - {username} will be replaced with the users name
  209. # - {output_file} will be replaced with the path + name of the backup
  210. #
  211. # IMPORTANT:
  212. # The command must start with the application you are using:
  213. # For Windows, it's 'cmd.exe /c <command>'
  214. # For Linux, it usually is 'sh -c <command>'
  215. # The command below is made for linux users. if you use windows, make sure to set it to 'cmd.exe /c <the command>'
  216. command: sh -c mysqldump -u {username} -p{password} {database} {tables} > {output_file}
  217. # Enables / Disables using the mysql auth file
  218. # You don't have to use the {password} and {user} placeholder in the dump command if you enable this
  219. use-auth-file: false
  220. # Specify which tables you want to be backed up here
  221. # You must use the following format:
  222. # DATABASE:USERNAME:PASSWORD[:TABLES]
  223. # If you are using the auth file to authenticate
  224. # set both, username and password to 'authfile'
  225. # The Table argument is optional. For more details view the examples below
  226. #
  227. # Example:
  228. # thisismydb:testuser
  229. # thisismydb:testuser:thisismypassword
  230. # thisismydb2:testuser2:thisismypassword2[:iwantthistable:andthisonetoo]
  231. #
  232. # If you are using the authentication with the auth file, make sure to use:
  233. # thisismydb:authfile:authfile
  234. # thisismydb2:authfile:authfile[:iwantthistable:andthisonetoo]
  235. databases: []
  236. upload-services:
  237. # Enables / Disables Local Backup Deletion after all uploads have been completed
  238. delete-local: false
  239. dropbox:
  240. # Enables / Disables Dropbox Upload
  241. enabled: false
  242. # Paste your dropbox access token here
  243. #
  244. # Instructions on how to get your token:
  245. # https://prodigysupport.team/wiki/eb/how-tos/how-to-get-your-dropbox-token
  246. access-token: ''
  247. # Set the DropBox path you want your files to be uploaded to
  248. upload-path: /backups/
  249. # You can set the max amount of backups you want in your dropbox here
  250. # Set it to '-1' to disable it
  251. max-backups-before-erase: -1
  252. # You can configure the chunk size for uploads here
  253. # DO NOT CHANGE THIS IF YOU ARE NOT SURE WHAT YOU ARE DOING
  254. chunk-size: 8388608
  255. google-drive:
  256. # Enables / Disables Google Drive Upload
  257. enabled: false
  258. # Paste your dropbox access token here
  259. #
  260. # Instructions on how to get your token:
  261. # https://prodigysupport.team/wiki/eb/how-tos/how-to-get-your-google-drive-refresh-token
  262. refresh-token: ''
  263. # Set the Google Drive path you want your files to be uploaded to
  264. upload-path: /backups/
  265. # You can set the max amount of backups you want in your google drive storage here
  266. # Set it to '-1' to disable it
  267. max-backups-before-erase: -1
  268. # You can configure the chunk size for uploads here
  269. # DO NOT CHANGE THIS IF YOU ARE NOT SURE WHAT YOU ARE DOING
  270. chunk-size: 8388608
  271. ftp:
  272. # Enables / Disables FTP Upload
  273. enabled: false
  274. ssh:
  275. # If you are using ssh keys to authenticate with your ftp server
  276. # You can enable or disable it here
  277. use: false
  278. # Set the path to your ssh private key here
  279. private-key: ''
  280. # Set your ssh private key passphrase here
  281. passphrase: ''
  282. # Select which ftp protocol you want to use.
  283. # Available are:
  284. # - SFTP
  285. # - FTP
  286. # - FTPS
  287. protocol: ftp
  288. # Set your ftp host address here
  289. host: example.com
  290. # Set your ftp username here
  291. username: root
  292. # Set your ftp password here
  293. password: ''
  294. # Set your ftp port here
  295. port: 21
  296. # Set the FTP path you want your files to be uploaded to
  297. upload-path: /root/backups/
  298. # You can set the max amount of backups you want on your ftp server
  299. # Set it to '-1' to disable it
  300. max-backups-before-erase: -1
  301. notifier:
  302. gmail:
  303. # Enables / Disables Gmail Notification
  304. enabled: false
  305. # Gmail Address
  306. email: example@gmail.com
  307. # Email Address(es) you want to sent your emails to
  308. to-email:
  309. - example@example.com
  310. # Gmail Password
  311. #
  312. # Note:
  313. # IF YOU HAVE 2FA ENABLED YOU MUST CREATE AN APP AND SET THE PASSWORD TO IT'S TOKEN
  314. # To create an app token, follow the instructions here:
  315. # https://support.google.com/mail/answer/185833?hl=en
  316. password: ''
  317. # Enables / Disables sending of the OnCreate Event
  318. on-create: false
  319. # Enables / Disables sending of the OnFail Event
  320. on-fail: false
  321. # Enables / Disables sending of the OnSuccess Event
  322. on-success: false
  323. actionbar:
  324. # Enables / Disables the action bar
  325. enabled: false
  326. colors:
  327. # Set the colorcode which will be displayed for all not done bars
  328. not-done: '7'
  329. # Set the colorcode which will be displayed for all done bars
  330. done: '6'
  331. # Set the colorcode which will be displayed for all lag bars
  332. lag: c
  333. formats:
  334. # Sets the bar's format
  335. #
  336. # Placeholders:
  337. # {prefix} - bar's prefix
  338. # {bar} - formatted percentage bar
  339. # {percentage} - current percentage
  340. bar: '&7{prefix}: &r{bar} &7(&b{percentage}%&7)'
  341. # Sets the bar's message format
  342. #
  343. # Placeholders:
  344. # {prefix} - bar's prefix
  345. # {message} - message
  346. formats-message: '&7{prefix}: {message}'
  347. developer:
  348. events:
  349. # Enables / Disables Event sending
  350. enabled: false
  351. # Enables / Disables sending of the OnCreate Event
  352. on-create: false
  353. # Enables / Disables sending of the OnFail Event
  354. on-fail: false
  355. # Enables / Disables sending of the OnSuccess Event
  356. on-success: false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement