Advertisement
hkkongou

Untitled

Feb 8th, 2021
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.69 KB | None | 0 0
  1. # UltimateAutoRestart, a free resource by Norska. https://norska.dev
  2. # Support Discord: https://norska.dev/discord
  3. # WIKI: https://gitlab.com/norska/UltimateAutoRestart/-/wikis/Home/
  4.  
  5. # Notes:
  6. # 1. All of the restarts must follow this specific format: "DAY;HOUR;MINUTE". e.g "Friday;23;00" will create an entry to have a restart on Fridays at 23:00 or 11PM.
  7. # 1a. Valid day entries are: Monday , Tuesday , Wednesday , Thursday , Friday , Saturday , Sunday
  8. #
  9. # 2. messageAtInterval entries are in seconds, 1800 seconds = 30 minutes, 600 seconds = 10 minutes, 60 seconds = 1 minute etc. Same goes for soundAtIntervals.
  10. #
  11. # 3. If you want to execute bungee commands make sure to add [bungee] in-front of the command.
  12. # 3a. EXAMPLE USAGE OF USING A BUNGEE COMMAND (e.g Sending all skyblock players to the lobby):
  13. # 3a: EXAMPLE COMMAND: '[bungee] send skyblock lobby'
  14. # 3a: GENERAL FORMAT OF THE ABOVE EXAMPLE: '[bungee] send <CURRENT SERVER NAME> <SERVER TO SEND PLAYERS TO>'
  15. # 3a: NOTE: You must specifically use the current server's name, using "current" will not work because the command is executed via bungee.
  16. #
  17. # 4: You can create timed commands that will execute x seconds before the restart.
  18. # 4a. GENERAL FORMAT OF A TIMED COMMAND: '[time:<INTERVAL>] <COMMAND>' (e.g '[time:10] time set day', will set the time to day 10 seconds before the restart).
  19. #
  20. # 5: You can create timed bungee commands that will execute x seconds before the restart.
  21. # 5a. GENERAL FORMAT OF A TIMED BUNGEE COMMAND: '[bungee:<INTERVAL>] <COMMAND>' (e.g '[bungee:10] send skyblock lobby', will send all skyblock players to the lobby 10 seconds before the restart).
  22. #
  23. # 6: commandsAfterReboot can only be timed bukkit/bungee commands.
  24.  
  25. # delayRestart Notes:
  26. # 1. Enabling this sytem will check <configurable time> seconds before restart if there are <x> players online, if there are it'll delay the restart by <configurable time> seconds.
  27. # 2. minimumPlayers: 10 ---> This means that if there are 10 or more players online it'll delay the restart.
  28. # 3. MAKE SURE THAT YOUR checkSecondsBeforeRestart AND delaybySeconds VALUES DO NOT INTERFERE WITH restartCommands ENTRIES!
  29. # 4. informUsersWithPermission ---> Whether or not to send a message to users with "uar.notifydelay" that a delay happened.
  30.  
  31. delayRestart:
  32. enabled: false
  33. checkSecondsBeforeRestart: 30
  34. minimumPlayers: 1
  35. delayBySeconds: 600
  36. informUsersWithPermission: true
  37. delayNotification:
  38. - '&7[UltimateAutoRestart] The restart has been delayed due to exceeding the online
  39. players threshold!'
  40.  
  41. settings:
  42. restartCommands:
  43. - '[bungee] send AI_Asada_Sinon lobby'
  44. - restart
  45. restarts:
  46. - Monday;18;00
  47. - Tuesday;18;00
  48. - Wednesday;18;00
  49. - Thursday;18;00
  50. - Friday;18;00
  51. - Saturday;18;00
  52. - Sunday;18;00
  53. messageAtIntervals:
  54. - '1800'
  55. - '600'
  56. - '60'
  57. - '30'
  58. - '3'
  59. - '2'
  60. - '1'
  61. soundsEnabled: true
  62. sound: ENTITY_PLAYER_LEVELUP
  63. soundAtIntervals:
  64. - '1800'
  65. - '600'
  66. - '60'
  67. - '30'
  68. - '3'
  69. - '2'
  70. - '1'
  71.  
  72. format:
  73. seconds: s
  74. second: s
  75. minutes: 'm '
  76. minute: 'm '
  77. hours: 'h '
  78. hour: 'h '
  79. days: 'D '
  80. day: 'D '
  81. splitter: 'and '
  82.  
  83. # Placeholders: $interval, $last
  84.  
  85. messages:
  86. requestWhileNoAutoReboot: '&f&lN/A'
  87. interval:
  88. actionbar: true
  89. actionbarMessage: '&e&n重啟:&r &f重啟時間尚餘 &7$interval&f!'
  90. title: true
  91. titleMessage: '&e&n重啟!'
  92. subtitleMessage: '&f重啟時間尚餘 &7$interval&f!'
  93. chat: true
  94. chatMessage:
  95. - '&e&n伺服器重啟:&r &f重啟時間尚餘 &7$interval&f!'
  96. console: true
  97. consoleMessage: '&cUltimateAutoRestart: 重啟時間尚餘 &f$interval&c!'
  98. requestedInterval:
  99. actionbar: true
  100. actionbarMessage: '&e&nRestart:&r &f重啟時間尚餘 &7$interval&f!'
  101. title: true
  102. titleMessage: '&e&n伺服器重啟!'
  103. subtitleMessage: '&f重啟時間尚餘 &7$interval&f!'
  104. chat: true
  105. chatMessage:
  106. - '&e&nRestart:&r &f重啟時間尚餘 &7$interval&f!'
  107. forceRestart:
  108. - '&e重啟系統 &f»&r &7你強制設定了一個自動重啟 &f(Interval: $interval)&7!'
  109. noForceInterval:
  110. - '&e重啟系統 &f»&r &7請設定一個時間!'
  111. intervalNotANumber:
  112. - '&e重啟系統 &f»&r &7你的輸入 &f($input) &7並不是一個數字!'
  113. intervalTooSmall:
  114. - '&e重啟系統 &f»&r &7設定時限必須為正數!'
  115. stoppedReboot:
  116. - '&e重啟系統 &f»&r &7你已經手動停止了自動重啟排程!'
  117. autoRebootNotOn:
  118. - '&e重啟系統 &f»&r &7您無法停止自動重啟排程,因為沒有排程!'
  119. noPermission:
  120. - '&e重啟系統 &f»&r &7您無權使用!'
  121. reloadMessage:
  122. - '&e重啟系統 &f»&r &7你已經重設插件的設定!'
  123.  
  124. updates:
  125. notifications: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement