View difference between Paste ID: yc0R4Ctx and DQVaMKQ5
SHOW: | | - or go back to the newest paste.
1
command /re-start:
2
	permission: server.restart
3
	permission message: &cYou are not allowed to do that!
4
	trigger:
5
		execute console command "save-all"
6
		broadcast "&9The server is restarting in &a60 &9Seconds!"
7
		wait 30 seconds
8
		broadcast "&9The server is restarting in &a30 &9Seconds!"
9
		wait 15 seconds
10
		broadcast "&9The server is restarting in &615 &9Seconds!"
11
		wait 5 seconds
12
		broadcast "&9The server is restarting in &c10 &9Seconds!"
13
		wait 5 seconds
14
		broadcast "&9The server is restarting in &45 &9Seconds!"
15
		wait 1 seconds
16
		broadcast "&9The server is restarting in &44 &9Seconds!"
17
		wait 1 seconds
18
		broadcast "&9The server is restarting in &43 &9Seconds!"
19
		wait 1 seconds
20
		broadcast "&9The server is restarting in &42 &9Seconds!"
21
		wait 1 seconds
22
		broadcast "&9The server is restarting in &41 &9Seconds!"
23
		wait 1 seconds
24
		broadcast "&9Server is shutting down: &a-&7--- | &a25 Percent"
25
		wait 2 seconds
26
		broadcast "&9Server is shutting down: &a---&7- | &a75 Percent"
27
		wait 1 second
28
		broadcast "&9Server is shutting down: &a---- | &a100 Percent"
29
		wait 1 second
30-
		execute console command "kickall Server shutted down! See you soon!"
30+
		execute console command "kickall Server shutting down! Join Back!!"
31
		execute console command "stop"