Advertisement
Charflow

AutoRestart config

Apr 12th, 2015
243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 4.70 KB | None | 0 0
  1. config:
  2.    ## The time is set by hours
  3.     time: 48
  4.     ## !!!! IMPORTANT !!!!
  5.     ## If your server is running under MultiCraft, set this to true!
  6.     ## Go into "Scheduled Tasks", and configure MultiCraft to restart the server, the same time your server will restart.
  7.     ## /autore pause, /autore start, /autore now, /autore reload, /autore in, and max-players feature will be disabled with MutliCraft.
  8.     ## Since these commands, and features alters the timer in AutoRestart as the MultiCraft timer is still running.
  9.     mutlicraft: false
  10.     ## Reminder is set by minutes
  11.     ## This will show how much time before the restart to notify players when the server
  12.     ## will restart!
  13.     reminder:
  14.    - 15
  15.     - 10
  16.     - 5
  17.     - 1
  18.     ## This is saying when should the plugin start counting down the seconds of a server restart?
  19.     ## This is not like the minute reminders, if you set to 5, start saying the second message
  20.     ## every second, STARTING AT 5 seconds before restart!
  21.     seconds-countdown: 5
  22.     ## Enable of Disable the reminders on the last seconds you have set!
  23.     remind-seconds: true
  24.     ## The configuration for chat messages
  25.     messages:
  26.        ## Prefix for broadcast, this is applied to (minutes, seconds, time, status, and change)
  27.         prefix: '&f[&7AutoRestart&f] &e'
  28.         ## %m - minutes
  29.         minutes: 'Server Will Restart In %m Minutes!'
  30.         ## %s - seconds
  31.         seconds: 'Server is restarting in %s Seconds!'
  32.         ## %h - hours, %m - minutes, %s - seconds
  33.         time: '&cServer restarting in &f%h&cH &f%m&cM &f%s&cS!'
  34.         change: '&cServer now is restarting in &f%h&cH &f%m&cM &f%s&cS!'
  35.         ## There are no tages for this section.
  36.         status:
  37.             start: '&cAutoRestart timer has been started!'
  38.             pause: '&cAutoRestart timer has been paused'
  39.         ## The shutdown message on when the server restarts.
  40.         ## Color codes now enabled! Use regular chat colors!
  41.         shutdown: '&cThis server is restarting! We will be back up any minute!'
  42.     ## Enable or Disable the 1.8 versions Popups!
  43.     popup-enabled:
  44.        ## Show the pop ups on the minute reminders!
  45.         minutes: true
  46.         ## Show the pop ups on the last seconds of a server restart!
  47.         seconds: true
  48.         ## Show the pop ups when type /autore time
  49.         time: true
  50.         ## Show the pop ups when typed /autore start or /autore pause
  51.         status: true
  52.         ## Show the pop ups when the server time has been changed!
  53.         change: true
  54.     ## This section is for the customization of the popup messages! Enjoy!
  55.     popup-messages:
  56.         minutes: ## %m - minutes
  57.             title: '&cServer Restarting In'
  58.             subtitle: '&f%m &cMinutes!'
  59.         seconds: ## %s - seconds
  60.             title: '&cServer Restarting In'
  61.             subtitle: '&f%s &cSeconds!'
  62.         time: ## %h - hours, %m - minutes, %s - seconds
  63.             title: '&cServer Restarting In'
  64.             subtitle: '&f%h&cH &f%m&cM &f%s&cS!'
  65.         status: ## There are no tags for this section
  66.             start:
  67.                 title: '&cAutoRestart has been started!'
  68.                 subtitle: ''
  69.             pause:
  70.                 title: '&cAutoRestart has been paused!'
  71.                 subtitle: ''
  72.         change: ## %h - hours, %m - minutes, %s - seconds
  73.             title: '&cServer Restarting In'
  74.             subtitle: '&f%h&cH &f%m&cM &f%s&cS!'
  75.     ## This section will allow you to run Console Commands before a given amount of seconds
  76.     commands:
  77.        - '/place your commands'
  78.         - '/in this fasion'
  79.     ## This will allow you to enabled, or disable the last second commands.
  80.     commands-enabled: false
  81.     ## The amount of seconds your want the server to initiate the commands.
  82.     commands-time: 10
  83.     max-players:
  84.        ## This will stop your server from shutting down if you have more than X amount of players configured in "amount".
  85.         enabled: false
  86.         ## The max amount of players allow for a restart. If you set this to 10, and your server has 11 people online
  87.         ## your server will not shutdown until there is 10 or less amount of players.
  88.         amount: 10
  89.         ## The message broadcasted when too many players are online on restart!
  90.         ## %a - amount
  91.         message: '&bToo many players online for restart. Max &f%a&b amount of players allowed for a restart. Waiting till someone quits!'
  92.         ## This message appears when the amount of players are met after restart cancel!
  93.         ## %d - delay
  94.         shutdown: '&aServer now restarting in &f%d&a seconds!'
  95.         ## The delay for the server to restart after restart cancel. In seconds!
  96.         delay: 10
  97. ## DO NOT CHANGE THIS!!!!
  98. version: 10
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement