rookielh Posted February 3, 2022 Share Posted February 3, 2022 (edited) command /annrestart: permission: <Enter Permission Here> trigger: loop all players: broadcast "&4&lWARNING: &c&lSERVER RESTARTING FOR CHANGES IN ONE MINUTE. SERVER IP:&4&ldupeinabox.minehut.gg" broadcast " " wait 1 minute broadcast "&4&lWARNING: &c&lSERVER RESTARTING FOR CHANGES IN 10 SECONDS. SERVER IP:&4&ldupeinabox.minehut.gg" broadcast " " wait 5 seconds send loop-player title "&4&lSERVER RESTARTING" with subtitle "&cServer IP: &4&ldupeinabox.minehut.gg" for 10 seconds broadcast "&4&lWARNING: &c&lSERVER RESTARTING FOR CHANGES IN 5 SECONDS. SERVER IP:&4&ldupeinabox.minehut.gg" broadcast " " wait 2 seconds broadcast "&4&lWARNING: &c&lSERVER RESTARTING FOR CHANGES IN 3 SECONDS. SERVER IP:&4&ldupeinabox.minehut.gg" broadcast " " wait 2 seconds broadcast "&4&lWARNING: &c&lSERVER RESTARTING FOR CHANGES IN 1 SECONDS. SERVER IP:&4&ldupeinabox.minehut.gg" execute console command "/restart" You can of course replace my server IP with yours. Edited February 3, 2022 by rookielh Link to comment Share on other sites More sharing options...
ApexSplat Posted February 3, 2022 Share Posted February 3, 2022 (edited) How about adding a: options: ip: enter ip here with colours broadcast "&4&lWARNING: &c&lSERVER RESTARTING FOR CHANGES. SERVER IP:{@ip}" When broadcasting the ip instead of having to change it each time. Edited February 3, 2022 by ApexSplat Discord: Dead#6905 Love anime! Link to comment Share on other sites More sharing options...
rookielh Posted February 3, 2022 Author Share Posted February 3, 2022 7 hours ago, ApexSplat said: How about adding a: options: ip: enter ip here with colours broadcast "&4&lWARNING: &c&lSERVER RESTARTING FOR CHANGES. SERVER IP:{@ip}" When broadcasting the ip instead of having to change it each time. Smart, totally forgot I had my server IP in the script, as I am using it for my own server haha Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now