Advertisement
norskaaa

UltimateAutoRestart / Default Messages

Aug 9th, 2021 (edited)
8,044
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 13.97 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 messages.yml file of UltimateAutoRestart.                         #
  9. #                                                                                       #
  10. #########################################################################################
  11.  
  12. #########################################################################################
  13. #                                                                                       #
  14. # NOTE: PLEASE READ BEFORE CONFIGURING!                                                 #
  15. #                                                                                       #
  16. # If PlaceholderAPI is installed you can use any placeholder inside UAR's messages,     #
  17. # make sure to properly install any extension using /papi ecloud                        #
  18. #                                                                                       #
  19. # Placeholders that are inside {} (e.g {0}, {1}) are inner placeholders from UAR.       #
  20. # To use PAPI's placeholders, use them normally, like %player_gamemode%, etc.           #
  21. #                                                                                       #
  22. # Scopes:                                                                               #
  23. # 1) Global -> All online players will get the message.                                 #
  24. # 2) User -> User that executed commands/triggered event will get the message.          #
  25. # 3) Limited -> Only users/systems with specific perms will get the message.            #
  26. #                                                                                       #
  27. # Note: Scopes are per message and cannot be manually altered.                          #
  28. #                                                                                       #
  29. #########################################################################################  
  30.  
  31. messages:
  32.    # Note: Use {PREFIX} &f» in any message to add the below prefix!
  33.    prefix: "<GRADIENT:9483FF>&lUltimateAutoRestart</GRADIENT:FB9AF2>&r"
  34.  
  35.    EVENT_INTERVAL_GLOBAL:
  36.   # Placeholders: {0} = interval
  37.    # Scope: Global
  38.       chatMessage:
  39.          enabled: false
  40.          centered: false
  41.          content:
  42.          - ''
  43.          - '{PREFIX} &f» &fRestarting in &d{0}&f!'
  44.          - ''
  45.       actionbar:
  46.          enabled: true
  47.          content: '{PREFIX} &f» &fRestarting in &d{0}&f!'
  48.       titles:
  49.          enabled: false
  50.          titleContent: '{PREFIX}'
  51.          subtitleContent: '&fRestarting in &d{0}&f!'
  52.          
  53.    EVENT_INTERVAL_CONSOLE:
  54.   # Placeholders: {0} = interval
  55.    # Scope: Limited -> Console only
  56.       chatMessage:
  57.          enabled: true
  58.          centered: false
  59.          content:
  60.          - '{PREFIX} &f» &fRestarting in &d{0}&f!'
  61.          
  62.    EVENT_RESTART_GLOBAL:
  63.   # Placeholders: None
  64.    # Scope: Global
  65.       chatMessage:
  66.          enabled: false
  67.          centered: false
  68.          content:
  69.          - ''
  70.          - '{PREFIX} &f» &fRestarting... join back soon!'
  71.          - ''
  72.       actionbar:
  73.          enabled: true
  74.          content: '{PREFIX} &f» &fRestarting... join back soon!'
  75.       titles:
  76.          enabled: false
  77.          titleContent: '{PREFIX}'
  78.          subtitleContent: '&fRestarting... join back soon!'
  79.          
  80.    EVENT_RESTART_DELAY_GLOBAL:
  81.   # Placeholders: {0} = interval
  82.    # Scope: Global
  83.       chatMessage:
  84.          enabled: false
  85.          centered: false
  86.          content:
  87.          - ''
  88.          - '{PREFIX} &f» &fThe restart has been delayed by &d{0}&f!'
  89.          - ''
  90.       actionbar:
  91.          enabled: true
  92.          content: '{PREFIX} &f» &fThe restart has been delayed by &d{0}&f!'
  93.       titles:
  94.          enabled: false
  95.          titleContent: '{PREFIX}'
  96.          subtitleContent: '&fRestart has been delayed by &d{0}&f!'
  97.          
  98.    EVENT_RESTART_DELAY_STAFF:
  99.   # Placeholders: {0} = interval
  100.    # Scope: Limited -> uar.notifydelay
  101.       chatMessage:
  102.          enabled: false
  103.          centered: false
  104.          content:
  105.          - ''
  106.          - '{PREFIX} &f» &fThe restart has been delayed by &d{0}&f!'
  107.          - ''
  108.       actionbar:
  109.          enabled: true
  110.          content: '&c(Staff) {PREFIX} &f» &fThe restart has been delayed by &d{0}&f!'  
  111.       titles:
  112.          enabled: false
  113.          titleContent: '{PREFIX}'
  114.          subtitleContent: '&fRestart has been delayed by &d{0}&f!'
  115.  
  116.    ###############################
  117.      
  118.    COMMAND_USER_VIEWINTERVAL:
  119.   # Placeholders: {0} = interval, {1} = time since last restart
  120.    # Scope: User
  121.       chatMessage:
  122.          enabled: true
  123.          centered: true
  124.          content:
  125.          - ''
  126.          - '{PREFIX} &f» &fRestarting in &d{0}&f!'
  127.          - '&7&o(Last restart happened {1} ago)'
  128.          - ''
  129.       actionbar:
  130.          enabled: false
  131.          content: '{PREFIX} &f» &fRestarting in &d{0}&f!'    
  132.       titles:
  133.          enabled: false
  134.          titleContent: '{PREFIX}'
  135.          subtitleContent: '&fRestarting in &d{0}&f!'
  136.          
  137.    ###############################  
  138.      
  139.    COMMAND_FORCE_RESTART:
  140.   # Placeholders: {0} = interval
  141.    # Scope: User
  142.       chatMessage:
  143.          enabled: true
  144.          centered: false
  145.          content:
  146.          - ''
  147.          - '{PREFIX} &f» &fForced the restart. Restarting in &d{0}&f!'
  148.          - ''
  149.       actionbar:
  150.          enabled: false
  151.          content: '{PREFIX} &f» &fForced the restart. &fRestarting in &d{0}&f!'
  152.       titles:
  153.          enabled: false
  154.          titleContent: '{PREFIX}'
  155.          subtitleContent: '&fForced the restart. Restarting in &d{0}&f!'
  156.          
  157.    COMMAND_FORCE_RESTART_GLOBAL:
  158.   # Placeholders: {0} = interval
  159.    # Scope: Global
  160.       chatMessage:
  161.          enabled: false
  162.          centered: false
  163.          content:
  164.          - ''
  165.          - '{PREFIX} &f» &cAn admin forced the restart. &fRestarting in &d{0}&f!'
  166.          - ''
  167.       actionbar:
  168.          enabled: true
  169.          content: '{PREFIX} &f» &cAn admin forced a restart. &fRestarting in &d{0}&f!'
  170.       titles:
  171.          enabled: false
  172.          titleContent: '{PREFIX}'
  173.          subtitleContent: '&fRestarting in &d{0}&f!'
  174.          
  175.    COMMAND_FORCE_RESTART_INVALID:
  176.   # Placeholders: {0} = input
  177.    # Scope: User
  178.       chatMessage:
  179.          enabled: true
  180.          centered: false
  181.          content:
  182.          - ''
  183.          - ' {PREFIX} &f» &fCould not force restart because your interval argument is faulty!'
  184.          - ''
  185.          - '  &dDetails:'
  186.          - '  &7• &dYour argument: &f{0}'
  187.          - '  &7• &dExpected argument: &fPositive Integer (e.g 60)'
  188.          - ''
  189.       actionbar:
  190.          enabled: false
  191.          content: '{PREFIX} &f» &fCould not force restart because your interval argument is faulty!'
  192.       titles:
  193.          enabled: false
  194.          titleContent: '{PREFIX}'
  195.          subtitleContent: '&fYour command is faulty!'
  196.          
  197.    ###############################  
  198.      
  199.    COMMAND_DELAY_RESTART:
  200.   # Placeholders: {0} = interval
  201.    # Scope: User
  202.       chatMessage:
  203.          enabled: true
  204.          centered: false
  205.          content:
  206.          - ''
  207.          - '{PREFIX} &f» &fDelayed the restart. Restarting in &d{0}&f!'
  208.          - ''
  209.       actionbar:
  210.          enabled: false
  211.          content: '{PREFIX} &f» &fDelayed the restart. &fRestarting in &d{0}&f!'
  212.       titles:
  213.          enabled: false
  214.          titleContent: '{PREFIX}'
  215.          subtitleContent: '&fDelayed a restart. Restarting in &d{0}&f!'
  216.          
  217.    COMMAND_DELAY_RESTART_GLOBAL:
  218.   # Placeholders: {0} = interval
  219.    # Scope: Global
  220.       chatMessage:
  221.          enabled: false
  222.          centered: false
  223.          content:
  224.          - ''
  225.          - '{PREFIX} &f» &cAn admin delayed the restart. &fRestarting in &d{0}&f!'
  226.          - ''
  227.       actionbar:
  228.          enabled: true
  229.          content: '{PREFIX} &f» &cAn admin delayed the restart. &fRestarting in &d{0}&f!'
  230.       titles:
  231.          enabled: false
  232.          titleContent: '{PREFIX}'
  233.          subtitleContent: '&fRestarting in &d{0}&f!'
  234.          
  235.    COMMAND_DELAY_RESTART_INVALID:
  236.   # Placeholders: {0} = input
  237.    # Scope: User
  238.       chatMessage:
  239.          enabled: true
  240.          centered: false
  241.          content:
  242.          - ''
  243.          - ' {PREFIX} &f» &fCould not delay restart because your interval argument is faulty!'
  244.          - ''
  245.          - '  &dDetails:'
  246.          - '  &7• &dYour argument: &f{0}'
  247.          - '  &7• &dExpected argument: &fPositive Integer (e.g 60)'
  248.          - ''
  249.       actionbar:
  250.          enabled: false
  251.          content: '{PREFIX} &f» &fCould not delay restart because your interval argument is faulty!'
  252.       titles:
  253.          enabled: false
  254.          titleContent: '{PREFIX}'
  255.          subtitleContent: '&fYour command is faulty!'
  256.          
  257.    COMMAND_DELAY_RESTART_NOT_POSSIBLE:
  258.   # Placeholders: None
  259.    # Scope: User
  260.       chatMessage:
  261.          enabled: true
  262.          centered: false
  263.          content:
  264.          - ''
  265.          - ' {PREFIX} &f» &fCould not delay restart because the restart is stopped!'
  266.          - ''
  267.       actionbar:
  268.          enabled: false
  269.          content: '{PREFIX} &f» &fCould not delay restart because the restart is stopped!'
  270.       titles:
  271.          enabled: false
  272.          titleContent: '{PREFIX}'
  273.          subtitleContent: '&fCould not delay restart!'        
  274.          
  275.    ###############################          
  276.          
  277.    COMMAND_STOP_RESTART:
  278.   # Placeholders: None
  279.    # Scope: User
  280.       chatMessage:
  281.          enabled: true
  282.          centered: false
  283.          content:
  284.          - ''
  285.          - '{PREFIX} &f» &fYou have cancelled the autorestart!'
  286.          - ''
  287.       actionbar:
  288.          enabled: false
  289.          content: '{PREFIX} &f» &fYou have cancelled the autorestart!'
  290.       titles:
  291.          enabled: false
  292.          titleContent: '{PREFIX}'
  293.          subtitleContent: '&fCancelled the autorestart!'
  294.          
  295.    COMMAND_STOP_RESTART_GLOBAL:
  296.   # Placeholders: None
  297.    # Scope: Global
  298.       chatMessage:
  299.          enabled: true
  300.          centered: false
  301.          content:
  302.          - ''
  303.          - '{PREFIX} &f» &cAn admin cancelled the autorestart!'
  304.          - ''
  305.       actionbar:
  306.          enabled: false
  307.          content: '{PREFIX} &f» &cAn admin cancelled the autorestart!'
  308.       titles:
  309.          enabled: false
  310.          titleContent: '{PREFIX}'
  311.          subtitleContent: '&fAn admin cancelled the restart!'
  312.          
  313.    COMMAND_STOP_RESTART_FAIL:
  314.   # Placeholders: None
  315.    # Scope: User
  316.       chatMessage:
  317.          enabled: true
  318.          centered: false
  319.          content:
  320.          - ''
  321.          - '{PREFIX} &f» &fCould not cancel autorestart, it was not running!'
  322.          - ''
  323.       actionbar:
  324.          enabled: false
  325.          content: '{PREFIX} &f» &fCould not cancel autorestart, it was not running!'
  326.       titles:
  327.          enabled: false
  328.          titleContent: '{PREFIX}'
  329.          subtitleContent: '&fNo scheduled restart running!'
  330.          
  331.    ###############################  
  332.    
  333.    COMMAND_DEBUG_SUCCESS:
  334.   # Placeholders: {0} = Debug Feature
  335.    # Scope: User
  336.       chatMessage:
  337.          enabled: true
  338.          centered: false
  339.          content:
  340.          - ''
  341.          - ' {PREFIX} &f» &fRunning debug for: &d&l{0}'
  342.          - ' &7(Make sure the feature is enabled when doing this!)'
  343.          - ''
  344.       actionbar:
  345.          enabled: false
  346.          content: '{PREFIX} &f» &fRunning debug for: &d&l{0}'
  347.       titles:
  348.          enabled: false
  349.          titleContent: '{PREFIX}'
  350.          subtitleContent: '&fRunning debug for: &d&l{0}'
  351.    
  352.    COMMAND_DEBUG_INVALID:
  353.   # Placeholders: {0} = Argument
  354.    # Scope: User
  355.       chatMessage:
  356.          enabled: true
  357.          centered: false
  358.          content:
  359.          - ''
  360.          - ' {PREFIX} &f» &fCould not use debug command! Missing/Invalid argument!'
  361.          - ''
  362.          - '  &dDetails:'
  363.          - '  &7• &dYour argument: &f{0}'
  364.          - '  &7• &dExpected argument: &fWebhook'
  365.          - ''
  366.       actionbar:
  367.          enabled: false
  368.          content: '{PREFIX} &f» &fCould not use debug command! Missing/Invalid argument!'
  369.       titles:
  370.          enabled: false
  371.          titleContent: '{PREFIX}'
  372.          subtitleContent: '&fCould not use debug command! Missing/Invalid argument!'  
  373.          
  374.    ###############################
  375.            
  376.    COMMAND_RELOAD:
  377.   # Placeholders: {0} = ms
  378.    # Scope: User
  379.       chatMessage:
  380.          enabled: true
  381.          centered: false
  382.          content:
  383.          - ""
  384.          - "{PREFIX} &f» &fReloaded configuration files. &7(&f{0}ms&7)"
  385.          - ""
  386.       actionbar:
  387.          enabled: false
  388.          content: "{PREFIX} &f» &fReloaded configuration files. &7(&f{0}ms&7)"
  389.       titles:
  390.          enabled: false
  391.          titleContent: '{PREFIX}'
  392.          subtitleContent: '&fReloaded configuration!'
  393.          
  394.    COMMAND_NOPERMISSION:
  395.   # Placeholders: None
  396.    # Scope: User
  397.       chatMessage:
  398.          enabled: true
  399.          centered: false
  400.          content:
  401.          - ''
  402.          - '{PREFIX} &f» &fYou do not have permission to run this command!'
  403.          - ''
  404.       actionbar:
  405.          enabled: false
  406.          content: "{PREFIX} &f» &fYou do not have permission to run this command!"      
  407.       titles:
  408.          enabled: false
  409.          titleContent: '{PREFIX}'
  410.          subtitleContent: '&fYou do not have permission!'  
  411.          
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement