Advertisement
MrJayse

Untitled

Aug 16th, 2018
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.33 KB | None | 0 0
  1. ## Change Log
  2. ## Version: 18
  3. ## Added Update finder notification system.
  4. ## Enable or disable this feature.
  5. ## Control message popup.
  6. ## Control prefix for plugins when they popup.
  7. ## Version: 17
  8. ## Added mutliline support for broadcast messages.
  9. ## And Max-Players Alert message
  10. ## Control your prefix. Only in MutliLine support.
  11. ## Its a list of strings.
  12. ## Version: 16
  13. ## Removed "config.main.multicraft"
  14. ## Added "config.main.restart-script"
  15. ## Version: 15
  16. ## Added "config.main.timestamp.*" for TimeStamp restart configuration.
  17. ## Version: 14
  18. ## Fixed Type for "config.main.interval"
  19. ## Merged "config.popups" and "config.timings"
  20. ## Added "config.popups.messages.shutdown" popup configuration
  21. ## Changed "config.commands.commands" to "config.commands.commands-list"
  22.  
  23. config:
  24. ## Main plugin configurations
  25. main:
  26. ## The time is set by hours (DECIMALS ALLOWED)
  27. interval: 7
  28. ## Now you have the ability to restart in a certain time!
  29. timestamp:
  30. ## Enables or Disables the Timestamp feature
  31. enabled: false
  32. ## Time the format for the time is 24-hour time, and hh:mm
  33. ## Make sure to leave the '
  34. time: '00:00'
  35. ## !!!! IMPORTANT !!!!
  36. ## If your server is running under MultiCraft, set this to true!
  37. ## This option will restart your server using the Spigot.yml restart script file.
  38. ## You have to have Spigot for this to work, this is perfect for MultiCraft users, because it is automaticlly setup
  39. ## According to my knowledge it is.
  40. ## With this enabled, you do not have to edit the startup script, this will allow you to stop the server,
  41. ## Without having it to start back up automaticlly.
  42. restart-script: false
  43. ## The shutdown message on when the server restarts.
  44. ## Color codes now enabled! Use regular chat colors!
  45. shutdown: '&cServer Restarting! We will be back up any minute!'
  46.  
  47. ## Reminder Settings
  48. reminder:
  49. ## Enable or disable reminders
  50. enabled:
  51. minutes: true
  52. seconds: true
  53. ## Sets the reminder time for when to show reminders
  54. timer:
  55. ## Reminder is set by minutes
  56. ## This will show how much time before the restart to notify players when the server
  57. ## will restart!
  58. minutes:
  59. - 15
  60. - 10
  61. - 5
  62. - 1
  63. ## This is saying when should the plugin start counting down the seconds for a server restart?
  64. ## This is not like the minute reminders. If you set to 5, it'll start saying the "seconds message"
  65. ## every second, STARTING AT 5 seconds before restart!
  66. seconds: 5
  67.  
  68. broadcast:
  69. ## Enable or Disable the broadcast
  70. enabled:
  71. ## Show the broadcast on the minute reminders!
  72. minutes: true
  73. ## Show the broadcast on the last seconds of a server restart!
  74. seconds: true
  75. ## Show the broadcast when type /autore time
  76. time: true
  77. ## Show the broadcast when typed /autore start or /autore pause
  78. status: true
  79. ## Show the broadcast when the server time has been changed!
  80. change: true
  81. ## The configuration for broadcast messages
  82. messages:
  83. ## Prefix for broadcast, this is applied to (minutes, seconds, time, status, and change)
  84. prefix: '&f[&7AutoRestart&f] &e'
  85. ## %m - minutes
  86. minutes:
  87. - '%p'
  88. - 'Server Will Restart In %m Minutes!'
  89. ## %s - seconds
  90. seconds:
  91. - '%p'
  92. - 'Server is restarting in %s Seconds!'
  93. ## %h - hours, %m - minutes, %s - seconds
  94. time:
  95. - '%p'
  96. - '&cServer restarting in &f%h&cH &f%m&cM &f%s&cS!'
  97. ## There are no tags for this section.
  98. status:
  99. start:
  100. - '%p'
  101. - '&cAutoRestart timer has started!'
  102. pause:
  103. - '%p'
  104. - '&cAutoRestart timer has been paused'
  105. ## %h - hours, %m - minutes, %s - seconds
  106. change:
  107. - '%p'
  108. - '&cServer now is restarting in &f%h&cH &f%m&cM &f%s&cS!'
  109.  
  110. ## To understand ticks. 1 second is relevent to 20 ticks! So a second and a half (1.5s) is 30 ticks!
  111. ## Fadein, stay, fadeout are the 3 arguments. You can edit how long it takes to fadein, fadeout etc.
  112. ## You can also put the fade numbers to 0, and then the popup's will be instant!
  113. ## Also you can edit the delay, to make the title popup, and then the subtitle half a second later.
  114. ## Get creative!
  115. popups:
  116. ## Enable or Disable the 1.8 Popups!
  117. enabled:
  118. ## Show the pop ups on the minute reminders!
  119. minutes: true
  120. ## Show the pop ups on the last seconds of a server restart!
  121. seconds: true
  122. ## Show the pop ups when type /autore time
  123. time: true
  124. ## Show the pop ups when typed /autore start or /autore pause
  125. status: true
  126. ## Show the pop ups when the server time has been changed!
  127. change: true
  128. ## This section is for the customization of the popup messages!
  129. messages:
  130. minutes: ## %m - minutes
  131. title:
  132. text: '&cServer Restarting In'
  133. delay: 0
  134. fadein: 20
  135. stay: 40
  136. fadeout: 20
  137. subtitle:
  138. text: '&f%m &cMinutes!'
  139. delay: 0
  140. fadein: 20
  141. stay: 40
  142. fadeout: 20
  143. seconds: ## %s - seconds
  144. title:
  145. text: '&cServer Restarting In'
  146. delay: 0
  147. fadein: 20
  148. stay: 40
  149. fadeout: 20
  150. subtitle:
  151. text: '&f%s &cSeconds!'
  152. delay: 0
  153. fadein: 20
  154. stay: 40
  155. fadeout: 20
  156. time: ## %h - hours, %m - minutes, %s - seconds
  157. title:
  158. text: '&cServer Restarting In'
  159. delay: 0
  160. fadein: 20
  161. stay: 40
  162. fadeout: 20
  163. subtitle:
  164. text: '&f%h&cH &f%m&cM &f%s&cS!'
  165. delay: 0
  166. fadein: 20
  167. stay: 40
  168. fadeout: 20
  169. status: ## There are no tags for this section
  170. start:
  171. title:
  172. text: '&cAutoRestart has started!'
  173. delay: 0
  174. fadein: 20
  175. stay: 40
  176. fadeout: 20
  177. subtitle:
  178. text: ''
  179. delay: 0
  180. fadein: 20
  181. stay: 40
  182. fadeout: 20
  183. pause:
  184. title:
  185. text: '&cAutoRestart has been paused!'
  186. delay: 0
  187. fadein: 20
  188. stay: 40
  189. fadeout: 20
  190. subtitle:
  191. text: ''
  192. delay: 0
  193. fadein: 20
  194. stay: 40
  195. fadeout: 20
  196. change: ## %h - hours, %m - minutes, %s - seconds
  197. title:
  198. text: '&cServer Restarting In'
  199. delay: 0
  200. fadein: 20
  201. stay: 40
  202. fadeout: 20
  203. subtitle:
  204. text: '&f%h&cH &f%m&cM &f%s&cS!'
  205. delay: 0
  206. fadein: 20
  207. stay: 40
  208. fadeout: 20
  209. shutdown:
  210. title:
  211. text: '&cServer is now'
  212. delay: 0
  213. fadein: 20
  214. stay: 40
  215. fadeout: 20
  216. subtitle:
  217. text: '&cRestarting!'
  218. delay: 0
  219. fadein: 20
  220. stay: 40
  221. fadeout: 20
  222.  
  223. ## This section will allow you to run Console Commands before a given amount of seconds
  224. commands:
  225. ## This will allow you to enable, or disable the last second commands.
  226. enabled: false
  227. ## This is when the commands will be executed. IN SECONDS
  228. time: 5
  229. ## List of commands to execute
  230. commands-list:
  231. - '/place your commands'
  232. - '/in this fasion'
  233.  
  234. ## This section will notify your players when your plugins in your plugins folder has updated. AutoRestart will search
  235. ## through all your plugins, and save their version number into memory, then compare on restart.
  236. update-finder:
  237. ## This will allow you to enable, or disable the update finder notification system.
  238. enabled: true
  239. ## This is the time the server will check for updated plugins, and broadcast the changes.
  240. ## This is in minutes.
  241. time: 3
  242. ## This is the message that will popup when autorestart finds updated plugins.
  243. ## %p is the prefix - %n is the number of plugins changed - %s is the "'s" that will be added for correct grammer.
  244. message:
  245. - '%p'
  246. - '&cAutoRestart has found &f%n &cplugin%s that will be updated during the restart!'
  247. ## This is the message that will broadcast every plugin that was found.
  248. ## %p is the plugin name.
  249. plugin: '&f- &c%p'
  250. ## This will allow a message to popup when there is no plugins found in the update.
  251. nofind:
  252. ## Enable or Disable this feature.
  253. enabled: true
  254. ## The message that popups
  255. ## %p is the prefix
  256. message:
  257. - '%p'
  258. - '&cThere is no updates found during this restart'
  259.  
  260. ## This will stop your server from shutting down if you have more than X amount of players configured in "amount".
  261. max-players:
  262. ## Enable or Disable this feature
  263. enabled: false
  264. ## The max amount of players allow for a restart. If you set this to 10, and your server has 11 people online
  265. ## your server will not shutdown until there is 10 or less amount of players.
  266. amount: 10
  267. ## The delay for the server to restart after restart cancel. In seconds!
  268. delay: 10
  269. ## Message settings
  270. messages:
  271. ## The message broadcasted when too many players are online on restart!
  272. ## %a - amount
  273. alert: '&bToo many players online for restart. Max &f%a&b amount of players allowed for a restart. Waiting for people to leave!'
  274. ## This message appears when the amount of players are met after restart cancel!
  275. ## %d - delay
  276. shutdown: '&aServer now restarting in &f%d&a seconds!'
  277.  
  278. ## DO NOT CHANGE THIS!!!!
  279. version: 18
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement