Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## Change Log
- ## Version: 18
- ## Added Update finder notification system.
- ## Enable or disable this feature.
- ## Control message popup.
- ## Control prefix for plugins when they popup.
- ## Version: 17
- ## Added mutliline support for broadcast messages.
- ## And Max-Players Alert message
- ## Control your prefix. Only in MutliLine support.
- ## Its a list of strings.
- ## Version: 16
- ## Removed "config.main.multicraft"
- ## Added "config.main.restart-script"
- ## Version: 15
- ## Added "config.main.timestamp.*" for TimeStamp restart configuration.
- ## Version: 14
- ## Fixed Type for "config.main.interval"
- ## Merged "config.popups" and "config.timings"
- ## Added "config.popups.messages.shutdown" popup configuration
- ## Changed "config.commands.commands" to "config.commands.commands-list"
- config:
- ## Main plugin configurations
- main:
- ## The time is set by hours (DECIMALS ALLOWED)
- interval: 7
- ## Now you have the ability to restart in a certain time!
- timestamp:
- ## Enables or Disables the Timestamp feature
- enabled: false
- ## Time the format for the time is 24-hour time, and hh:mm
- ## Make sure to leave the '
- time: '00:00'
- ## !!!! IMPORTANT !!!!
- ## If your server is running under MultiCraft, set this to true!
- ## This option will restart your server using the Spigot.yml restart script file.
- ## You have to have Spigot for this to work, this is perfect for MultiCraft users, because it is automaticlly setup
- ## According to my knowledge it is.
- ## With this enabled, you do not have to edit the startup script, this will allow you to stop the server,
- ## Without having it to start back up automaticlly.
- restart-script: false
- ## The shutdown message on when the server restarts.
- ## Color codes now enabled! Use regular chat colors!
- shutdown: '&cServer Restarting! We will be back up any minute!'
- ## Reminder Settings
- reminder:
- ## Enable or disable reminders
- enabled:
- minutes: true
- seconds: true
- ## Sets the reminder time for when to show reminders
- timer:
- ## Reminder is set by minutes
- ## This will show how much time before the restart to notify players when the server
- ## will restart!
- minutes:
- - 15
- - 10
- - 5
- - 1
- ## This is saying when should the plugin start counting down the seconds for a server restart?
- ## This is not like the minute reminders. If you set to 5, it'll start saying the "seconds message"
- ## every second, STARTING AT 5 seconds before restart!
- seconds: 5
- broadcast:
- ## Enable or Disable the broadcast
- enabled:
- ## Show the broadcast on the minute reminders!
- minutes: true
- ## Show the broadcast on the last seconds of a server restart!
- seconds: true
- ## Show the broadcast when type /autore time
- time: true
- ## Show the broadcast when typed /autore start or /autore pause
- status: true
- ## Show the broadcast when the server time has been changed!
- change: true
- ## The configuration for broadcast messages
- messages:
- ## Prefix for broadcast, this is applied to (minutes, seconds, time, status, and change)
- prefix: '&f[&7AutoRestart&f] &e'
- ## %m - minutes
- minutes:
- - '%p'
- - 'Server Will Restart In %m Minutes!'
- ## %s - seconds
- seconds:
- - '%p'
- - 'Server is restarting in %s Seconds!'
- ## %h - hours, %m - minutes, %s - seconds
- time:
- - '%p'
- - '&cServer restarting in &f%h&cH &f%m&cM &f%s&cS!'
- ## There are no tags for this section.
- status:
- start:
- - '%p'
- - '&cAutoRestart timer has started!'
- pause:
- - '%p'
- - '&cAutoRestart timer has been paused'
- ## %h - hours, %m - minutes, %s - seconds
- change:
- - '%p'
- - '&cServer now is restarting in &f%h&cH &f%m&cM &f%s&cS!'
- ## To understand ticks. 1 second is relevent to 20 ticks! So a second and a half (1.5s) is 30 ticks!
- ## Fadein, stay, fadeout are the 3 arguments. You can edit how long it takes to fadein, fadeout etc.
- ## You can also put the fade numbers to 0, and then the popup's will be instant!
- ## Also you can edit the delay, to make the title popup, and then the subtitle half a second later.
- ## Get creative!
- popups:
- ## Enable or Disable the 1.8 Popups!
- enabled:
- ## Show the pop ups on the minute reminders!
- minutes: true
- ## Show the pop ups on the last seconds of a server restart!
- seconds: true
- ## Show the pop ups when type /autore time
- time: true
- ## Show the pop ups when typed /autore start or /autore pause
- status: true
- ## Show the pop ups when the server time has been changed!
- change: true
- ## This section is for the customization of the popup messages!
- messages:
- minutes: ## %m - minutes
- title:
- text: '&cServer Restarting In'
- delay: 0
- fadein: 20
- stay: 40
- fadeout: 20
- subtitle:
- text: '&f%m &cMinutes!'
- delay: 0
- fadein: 20
- stay: 40
- fadeout: 20
- seconds: ## %s - seconds
- title:
- text: '&cServer Restarting In'
- delay: 0
- fadein: 20
- stay: 40
- fadeout: 20
- subtitle:
- text: '&f%s &cSeconds!'
- delay: 0
- fadein: 20
- stay: 40
- fadeout: 20
- time: ## %h - hours, %m - minutes, %s - seconds
- title:
- text: '&cServer Restarting In'
- delay: 0
- fadein: 20
- stay: 40
- fadeout: 20
- subtitle:
- text: '&f%h&cH &f%m&cM &f%s&cS!'
- delay: 0
- fadein: 20
- stay: 40
- fadeout: 20
- status: ## There are no tags for this section
- start:
- title:
- text: '&cAutoRestart has started!'
- delay: 0
- fadein: 20
- stay: 40
- fadeout: 20
- subtitle:
- text: ''
- delay: 0
- fadein: 20
- stay: 40
- fadeout: 20
- pause:
- title:
- text: '&cAutoRestart has been paused!'
- delay: 0
- fadein: 20
- stay: 40
- fadeout: 20
- subtitle:
- text: ''
- delay: 0
- fadein: 20
- stay: 40
- fadeout: 20
- change: ## %h - hours, %m - minutes, %s - seconds
- title:
- text: '&cServer Restarting In'
- delay: 0
- fadein: 20
- stay: 40
- fadeout: 20
- subtitle:
- text: '&f%h&cH &f%m&cM &f%s&cS!'
- delay: 0
- fadein: 20
- stay: 40
- fadeout: 20
- shutdown:
- title:
- text: '&cServer is now'
- delay: 0
- fadein: 20
- stay: 40
- fadeout: 20
- subtitle:
- text: '&cRestarting!'
- delay: 0
- fadein: 20
- stay: 40
- fadeout: 20
- ## This section will allow you to run Console Commands before a given amount of seconds
- commands:
- ## This will allow you to enable, or disable the last second commands.
- enabled: false
- ## This is when the commands will be executed. IN SECONDS
- time: 5
- ## List of commands to execute
- commands-list:
- - '/place your commands'
- - '/in this fasion'
- ## This section will notify your players when your plugins in your plugins folder has updated. AutoRestart will search
- ## through all your plugins, and save their version number into memory, then compare on restart.
- update-finder:
- ## This will allow you to enable, or disable the update finder notification system.
- enabled: true
- ## This is the time the server will check for updated plugins, and broadcast the changes.
- ## This is in minutes.
- time: 3
- ## This is the message that will popup when autorestart finds updated plugins.
- ## %p is the prefix - %n is the number of plugins changed - %s is the "'s" that will be added for correct grammer.
- message:
- - '%p'
- - '&cAutoRestart has found &f%n &cplugin%s that will be updated during the restart!'
- ## This is the message that will broadcast every plugin that was found.
- ## %p is the plugin name.
- plugin: '&f- &c%p'
- ## This will allow a message to popup when there is no plugins found in the update.
- nofind:
- ## Enable or Disable this feature.
- enabled: true
- ## The message that popups
- ## %p is the prefix
- message:
- - '%p'
- - '&cThere is no updates found during this restart'
- ## This will stop your server from shutting down if you have more than X amount of players configured in "amount".
- max-players:
- ## Enable or Disable this feature
- enabled: false
- ## The max amount of players allow for a restart. If you set this to 10, and your server has 11 people online
- ## your server will not shutdown until there is 10 or less amount of players.
- amount: 10
- ## The delay for the server to restart after restart cancel. In seconds!
- delay: 10
- ## Message settings
- messages:
- ## The message broadcasted when too many players are online on restart!
- ## %a - amount
- alert: '&bToo many players online for restart. Max &f%a&b amount of players allowed for a restart. Waiting for people to leave!'
- ## This message appears when the amount of players are met after restart cancel!
- ## %d - delay
- shutdown: '&aServer now restarting in &f%d&a seconds!'
- ## DO NOT CHANGE THIS!!!!
- version: 18
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement