設定檔Configuration
設定檔在 plugins/Vault/config.yml。升級時會自動補上缺少的鍵,
並保留你現有的值,不會覆寫。
常用項目
language: zh_TW # 見 messages/ 目錄
pay_limits:
min: 10 # 設 <=0 為停用限制
max: 100000
pay_menu:
size: 27 # 必須是 9 的倍數
show_self: false
pay_pending:
max_on_join: 5 # 登入時最多送出幾筆待處理請款
offline-uuid-fallback: true
update_check: false
更新檢查
update_check 控制啟動時與定期的版本檢查,同時也控制
/vault update 與選單裡的更新按鈕。設為 false 後不會有任何對外連線。
貸款
不需要貸款系統就設 loans.enabled: false。這會連排程一起停用,
不會有多餘的背景任務。詳見貸款。
重載
/vault reload 會重讀 config.yml 與訊息檔,並重新套用貨幣格式與
自動存檔排程。不會重新連線資料庫 —— 改了 MySQL 連線設定必須重啟伺服器。
The config lives at plugins/Vault/config.yml. On upgrade, missing keys are added
automatically and your existing values are preserved — nothing is overwritten.
Common settings
language: en # see the messages/ directory
pay_limits:
min: 10 # <=0 disables the limit
max: 100000
pay_menu:
size: 27 # must be a multiple of 9
show_self: false
pay_pending:
max_on_join: 5 # pending charge requests delivered per login
offline-uuid-fallback: true
update_check: false
Update checks
update_check governs the startup and periodic version check, and also
/vault update and the update button in the menu. With it set to false
the plugin makes no outbound connections at all.
Loans
Set loans.enabled: false if you do not need loans. This disables the scheduler
too, so no background task runs. See Loans.
Reloading
/vault reload re-reads config.yml and the message files, and reapplies
the currency format and autosave schedule. It does not reconnect the database — changing
MySQL connection settings requires a server restart.