Advertisement
norskaaa

UltimateAutoRestart / Default Config

Aug 9th, 2021 (edited)
18,353
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 5.52 KB | None | 0 0
  1. #########################################################################################
  2. #                                                                                       #
  3. # UltimateAutoRestart, a free resource by Norska @ https://norska.dev                   #
  4. #                                                                                       #
  5. # Wiki: https://norska.dev/docs/welcome/                                                #
  6. # Support: https://norska.dev/discord/                                                  #
  7. #                                                                                       #
  8. # You are editing the config.yml file of UltimateAutoRestart.                           #
  9. #                                                                                       #
  10. #########################################################################################
  11.  
  12. #########################################################################################
  13. #                                                                                       #
  14. # NOTE: PLEASE READ BEFORE CONFIGURING!                                                 #
  15. #                                                                                       #
  16. # Please consult the wiki for any questions regarding the setup of this plugin, if you  #
  17. # still require help, open a ticket on my discord server!                               #
  18. #                                                                                       #
  19. #########################################################################################
  20.  
  21. # !!! IN ORDER TO RUN PROXY COMMANDS (Bungee or forks, and Velocity) YOU MUST INSTALL A SEPARATE
  22. # PLUGIN ON YOUR PROXY. PLEASE REFER TO UAR'S RESOURCE PAGE TO FIND THE CORRECT DOWNLOAD LINKS !!!
  23.  
  24. ##################################
  25. #                                #
  26. #         RESTART ENTRIES        #
  27. #                                #
  28. ##################################
  29.  
  30. settings:
  31.   # Note: Visit the wiki for more information regarding all command types.
  32.    # Note: Available command types for restartCommands -> normal, time, proxy, proxydelay
  33.    # Note: Available days for day-specific commands -> [MONDAY], [TUESDAY], [WEDNESDAY], [THURSDAY], [FRIDAY], [SATURDAY], [SUNDAY] **READ** The day tag must come after the command type (except normal)
  34.    restartCommands:
  35.   #- '[proxy:5] command to execute via your proxy 5 seconds before restart'
  36.    #- '[time:15] command to execute 15 seconds before restart'
  37.    #- '[proxydelay:30] command to be scheduled on your proxy and run in 30 seconds. PROXYDELAY COMMANDS RUN WHEN THE RESTART INTERVAL HITS 0.'
  38.    #- '[proxydelay:15] alert The server is back up, join!'
  39.    #- '[time:10] [MONDAY] command to execute 10 seconds before restart and only on mondays'
  40.    #- '[FRIDAY] command to execute on restart and only on fridays'
  41.    #- '[proxy] test'
  42.    - 'save-all'
  43.    - 'restart'
  44.    
  45.    # Note: Visit the wiki for more information regarding all command types.
  46.    # Note: Available command types for restartCommands -> time, proxy
  47.    # Note: Available days for day-specific commands -> [MONDAY], [TUESDAY], [WEDNESDAY], [THURSDAY], [FRIDAY], [SATURDAY], [SUNDAY]
  48.    commandsAfterReboot:
  49.   #- '[proxy:30] command to be executed via bungee 30 seconds after server startup'
  50.    - '[time:15] [WEDNESDAY] broadcast Its wednesday my dudes!'
  51.    
  52.    # Note: To restart twice on the same day, add another entry with the same day name but different time.
  53.    # Note: Valid ranges -> Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday and 00;00 to 24;00.
  54.    # Note: You can also use "Daily" instead of a specific day to restart daily at a set hour. Example: "Daily;05;00", will restart daily at 5 AM.
  55.    restarts:
  56.   - 'Monday;00;00'
  57.    - 'Monday;12;00'
  58.    - 'Tuesday;00;00'
  59.    - 'Tuesday;12;00'
  60.    - 'Wednesday;00;00'
  61.    - 'Wednesday;12;00'
  62.    - 'Thursday;00;00'
  63.    - 'Thursday;12;00'
  64.    - 'Friday;00;00'
  65.    - 'Friday;12;00'
  66.    - 'Saturday;00;00'
  67.    - 'Saturday;12;00'
  68.    - 'Sunday;00;00'
  69.    - 'Sunday;12;00'
  70.    #- 'Daily;00;00'
  71.    
  72.    # Note: Configure the messages in UltimateAutoRestart's messages.yml file!
  73.    messageAtIntervals:
  74.   - '1800'
  75.    - '600'
  76.    - '60'
  77.    - '30'
  78.    - '3'
  79.    - '2'
  80.    - '1'
  81.    
  82.    # Note: Configure the sounds in UltimateAutoRestart's sounds.yml file!
  83.    soundAtIntervals:
  84.   - '1800'
  85.    - '600'
  86.    - '60'
  87.    - '30'
  88.    - '3'
  89.    - '2'
  90.    - '1'
  91.    
  92.    # Note: Instead of the interval, the below will show if the restart timer is not running!
  93.    unscheduledIntervalValue: '&f&lN/A'
  94.  
  95. ##################################
  96. #                                #
  97. #         RESTART DELAY          #
  98. #                                #
  99. ##################################
  100.  
  101. # Note: Push back the restart if x players are currently on the server!
  102. delayRestart:
  103.    enabled: false
  104.    checkSecondsBeforeRestart: 30
  105.    minimumPlayers: 1
  106.    delayBySeconds: 600
  107.    
  108. ##################################
  109. #                                #
  110. #    VALUE DISPLAY SETTINGS      #
  111. #                                #
  112. ##################################    
  113.  
  114. # Note: Configure how the interval shows up!  
  115. format:
  116.    seconds: 's'
  117.    second: 's'
  118.    minutes: 'm '
  119.    minute: 'm '
  120.    hours: 'h '
  121.    hour: 'h '
  122.    days: 'D '
  123.    day: 'D '
  124.    splitter: 'and '
  125.  
  126. ##################################
  127. #                                #
  128. #    UPDATE NOTIFIER SETTINGS    #
  129. #                                #
  130. ##################################
  131.  
  132. updates:
  133.    notifications: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement