Advertisement
Hsuwan

Untitled

Nov 24th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. On Skript Start:
  2. set {伺服器重啟時間} to now
  3. command /serverrestart:
  4. trigger:
  5. if player is op:
  6. set {伺服器重啟時間} to now
  7. On join:
  8. if difference between {伺服器重啟時間} and now is more than or equal to 50 minutes:
  9. if {伺服器單項重啟時間} isn't set:
  10. set {伺服器單項重啟時間} to 1
  11. broadcast "&b文靜之潭&6//&9伺服器即將在 &e10分鐘後 &9重新啟動"
  12. wait 6 minutes
  13. broadcast "&b文靜之潭&6//&9伺服器即將在 &e3分鐘後 &9重新啟動"
  14. wait 1.5 minutes
  15. broadcast "&b文靜之潭&6//&9伺服器即將在 &e1分鐘後 &9重新啟動"
  16. wait 20 seconds
  17. broadcast "&b文靜之潭&6//&9伺服器即將在 &e30秒後 &9重新啟動"
  18. execute console command "whitelist on"
  19. wait 15 seconds
  20. broadcast "&b文靜之潭&6//&9伺服器即將在 &e10秒後 &9重新啟動"
  21. wait 6 seconds
  22. execute console command "stop 伺服器重新啟動,請稍候再進入,感謝您的遊玩。"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement