alias rc='rcon -c /mnt/rcon/rconrc -s MMS '
rc 'tellraw @a ["",{"text":"!WARNING!","bold":true,"color":"red"}," The server will ",{"text":"shut down or restart","hoverEvent":{"action":"show_text","contents":"The state is unknown (like quantum physics)"}}," in",{"text":" 10","color":"dark_red"}," seconds..."]'
sleep 5
rc 'tellraw @a ["Stopping in"]'
rc 'tellraw @a {"text":"5","color":"red"}'
sleep 1
rc 'tellraw @a {"text":"4","color":"red"}'
sleep 1
rc 'tellraw @a {"text":"3","color":"red"}'
sleep 1
rc 'tellraw @a {"text":"2","color":"dark_red"}'
sleep 1
rc 'tellraw @a ["",{"text":"!","obfuscated":true,"color":"dark_red"},{"text":" 1 ","color":"dark_red"},{"text":"!","obfuscated":true,"color":"dark_red"}]'
sleep 1
rc stop
