Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- On Skript Start:
- set {伺服器重啟時間} to now
- command /serverrestart:
- trigger:
- if player is op:
- set {伺服器重啟時間} to now
- On join:
- if difference between {伺服器重啟時間} and now is more than or equal to 50 minutes:
- if {伺服器單項重啟時間} isn't set:
- set {伺服器單項重啟時間} to 1
- broadcast "&b文靜之潭&6//&9伺服器即將在 &e10分鐘後 &9重新啟動"
- wait 6 minutes
- broadcast "&b文靜之潭&6//&9伺服器即將在 &e3分鐘後 &9重新啟動"
- wait 1.5 minutes
- broadcast "&b文靜之潭&6//&9伺服器即將在 &e1分鐘後 &9重新啟動"
- wait 20 seconds
- broadcast "&b文靜之潭&6//&9伺服器即將在 &e30秒後 &9重新啟動"
- execute console command "whitelist on"
- wait 15 seconds
- broadcast "&b文靜之潭&6//&9伺服器即將在 &e10秒後 &9重新啟動"
- wait 6 seconds
- execute console command "stop 伺服器重新啟動,請稍候再進入,感謝您的遊玩。"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement