2019年10月27日 星期日

AutoRestart 自動重啟


英文名稱: AutoRestart
中文名稱:  自動重啟
伺服器核心:  Spigot
適用版本:  1.8~1.13
前置插件:  無
官網  
測試伺服器核心: 1.12.2 Spigot
測試插件版本: 3.3.3
繁體中文配置 Google 載點
介紹
自動重啟服務器,並釋放記憶體,以獲得更快,更流暢的Minecraft體驗,可與Spigot一起使用請按照說明進行操作,以確保正確設置



這裡需要修改伺服器啟動的.bat檔案
文件原本只有
java -Xms512M -Xmx1024M -jar  spigot-1.12.2.jar 請看左圖新增
需要空一行輸入
@echo off
:start
java -jar spigot-1.12.2.jar
goto start  當管理員輸入/autore now
立即重啟  才可以自動重啟
Linx系統請自行去官網看配置

上面的圖是windows系統的教學

指令介紹

/autore help 查看所有指令幫助
/autore time 查詢離重啟時間還有多久
/autore now  立即重啟
/autore reload 重載配置
/autore in 設置一個重啟時間
例如/autore in 6:h 1:m 1:s
意思是說每六小時一分一秒的時候 啟動重啟
/autore pause 關閉計時

/autore start 開啟計時

權限

/autore help    autorestart.help
/autore time    autorestart.time
/autore now     autorestart.now
/autore reload  autorestart.reload
/autore in      autorestart.in
/autore pause   autorestart.pause
/autore start   autorestart.start

默認op才能使用 無須更改

沒有留言:

張貼留言