Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # UltimateAutoRestart, a free resource by Norska. https://norska.dev
- # Support Discord: https://norska.dev/discord
- # WIKI: https://gitlab.com/norska/UltimateAutoRestart/-/wikis/Home/
- # Notes:
- # 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.
- # 1a. Valid day entries are: Monday , Tuesday , Wednesday , Thursday , Friday , Saturday , Sunday
- #
- # 2. messageAtInterval entries are in seconds, 1800 seconds = 30 minutes, 600 seconds = 10 minutes, 60 seconds = 1 minute etc. Same goes for soundAtIntervals.
- #
- # 3. If you want to execute bungee commands make sure to add [bungee] in-front of the command.
- # 3a. EXAMPLE USAGE OF USING A BUNGEE COMMAND (e.g Sending all skyblock players to the lobby):
- # 3a: EXAMPLE COMMAND: '[bungee] send skyblock lobby'
- # 3a: GENERAL FORMAT OF THE ABOVE EXAMPLE: '[bungee] send <CURRENT SERVER NAME> <SERVER TO SEND PLAYERS TO>'
- # 3a: NOTE: You must specifically use the current server's name, using "current" will not work because the command is executed via bungee.
- #
- # 4: You can create timed commands that will execute x seconds before the restart.
- # 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).
- #
- # 5: You can create timed bungee commands that will execute x seconds before the restart.
- # 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).
- #
- # 6: commandsAfterReboot can only be timed bukkit/bungee commands.
- # delayRestart Notes:
- # 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.
- # 2. minimumPlayers: 10 ---> This means that if there are 10 or more players online it'll delay the restart.
- # 3. MAKE SURE THAT YOUR checkSecondsBeforeRestart AND delaybySeconds VALUES DO NOT INTERFERE WITH restartCommands ENTRIES!
- # 4. informUsersWithPermission ---> Whether or not to send a message to users with "uar.notifydelay" that a delay happened.
- delayRestart:
- enabled: false
- checkSecondsBeforeRestart: 30
- minimumPlayers: 1
- delayBySeconds: 600
- informUsersWithPermission: true
- delayNotification:
- - '&7[UltimateAutoRestart] The restart has been delayed due to exceeding the online
- players threshold!'
- settings:
- restartCommands:
- - '[bungee] send AI_Asada_Sinon lobby'
- - restart
- restarts:
- - Monday;18;00
- - Tuesday;18;00
- - Wednesday;18;00
- - Thursday;18;00
- - Friday;18;00
- - Saturday;18;00
- - Sunday;18;00
- messageAtIntervals:
- - '1800'
- - '600'
- - '60'
- - '30'
- - '3'
- - '2'
- - '1'
- soundsEnabled: true
- sound: ENTITY_PLAYER_LEVELUP
- soundAtIntervals:
- - '1800'
- - '600'
- - '60'
- - '30'
- - '3'
- - '2'
- - '1'
- format:
- seconds: s
- second: s
- minutes: 'm '
- minute: 'm '
- hours: 'h '
- hour: 'h '
- days: 'D '
- day: 'D '
- splitter: 'and '
- # Placeholders: $interval, $last
- messages:
- requestWhileNoAutoReboot: '&f&lN/A'
- interval:
- actionbar: true
- actionbarMessage: '&e&n重啟:&r &f重啟時間尚餘 &7$interval&f!'
- title: true
- titleMessage: '&e&n重啟!'
- subtitleMessage: '&f重啟時間尚餘 &7$interval&f!'
- chat: true
- chatMessage:
- - '&e&n伺服器重啟:&r &f重啟時間尚餘 &7$interval&f!'
- console: true
- consoleMessage: '&cUltimateAutoRestart: 重啟時間尚餘 &f$interval&c!'
- requestedInterval:
- actionbar: true
- actionbarMessage: '&e&nRestart:&r &f重啟時間尚餘 &7$interval&f!'
- title: true
- titleMessage: '&e&n伺服器重啟!'
- subtitleMessage: '&f重啟時間尚餘 &7$interval&f!'
- chat: true
- chatMessage:
- - '&e&nRestart:&r &f重啟時間尚餘 &7$interval&f!'
- forceRestart:
- - '&e重啟系統 &f»&r &7你強制設定了一個自動重啟 &f(Interval: $interval)&7!'
- noForceInterval:
- - '&e重啟系統 &f»&r &7請設定一個時間!'
- intervalNotANumber:
- - '&e重啟系統 &f»&r &7你的輸入 &f($input) &7並不是一個數字!'
- intervalTooSmall:
- - '&e重啟系統 &f»&r &7設定時限必須為正數!'
- stoppedReboot:
- - '&e重啟系統 &f»&r &7你已經手動停止了自動重啟排程!'
- autoRebootNotOn:
- - '&e重啟系統 &f»&r &7您無法停止自動重啟排程,因為沒有排程!'
- noPermission:
- - '&e重啟系統 &f»&r &7您無權使用!'
- reloadMessage:
- - '&e重啟系統 &f»&r &7你已經重設插件的設定!'
- updates:
- notifications: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement