Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command reboot:
- permission: reboot.use
- trigger:
- make console execute command "/save-all"
- make console execute command "/title @a title ["",{"text":"{@prefix} Reboot: 60 seconds","color":"aqua","bold":false}]"
- send ""
- send "{@prefix} &bRebooting in 60 Seconds"
- send ""
- wait 30 second
- make console execute command "/title @a title ["",{"text":"{@prefix} Reboot: 30 seconds","color":"aqua","bold":false}]"
- send ""
- send "{@prefix} &bRebooting in 30 Seconds"
- send ""
- wait 15 second
- make console execute command "/title @a title ["",{"text":"{@prefix} Reboot: 15 seconds","color":"aqua","bold":false}]"
- send ""
- send "{@prefix} &bRebooting in 15 Seconds"
- send ""
- wait 7 second
- make console execute command "/title @a title ["",{"text":"{@prefix} Reboot: 3 seconds","color":"aqua","bold":false}]"
- send ""
- send "{@prefix} &bRebooting in 3 Seconds"
- send ""
- wait 2 second
- make console execute command "/title @a title ["",{"text":"{@prefix} Reboot: 2 seconds","color":"aqua","bold":false}]"
- send ""
- send "{@prefix} &bRebooting in 2 Seconds"
- send ""
- wait 1 seconds
- make console execue command "/title @a title ["",{"text":"{@prefix} Reboot: 1 seconds","color":"aqua","bold":false}]"
- send ""
- send "{@prefix} &bRebooting in 1 Seconds"
- send ""
- wait 10 tick
- make console execute command "/title @a title ["",{"text":"{@prefix} Reboot: 1 seconds","color":"aqua","bold":false}]"
- send ""
- send "{@prefix} &bRebooting..."
- send ""
- make console execute command "/stop"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement