Skip to content

Commit d739fa5

Browse files
authored
Update nukkit.yml for cht
Update nukkit.yml for cht
1 parent 3cc2de7 commit d739fa5

File tree

1 file changed

+28
-20
lines changed

1 file changed

+28
-20
lines changed

cht/nukkit.yml

Lines changed: 28 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Nukkit 進階設定
2-
# 警告:此處部分設定是安全的,而一些在設定不當的情況下可能會損害您的伺服器
2+
# 警告:此處部分設定是安全的,而在一些設定不當的情況下可能會損害您的伺服器。
33
# 升級後,新的設定及預設值將不會自動顯示在這裡,它們將以預設值運行直到你手動更新設定檔
44

55
settings:
@@ -8,16 +8,17 @@ settings:
88
language: "cht"
99
#伺服器強制語言
1010
force-language: false
11+
#伺服器關閉訊息
1112
shutdown-message: "伺服器已關閉"
1213
#允許使用Query協定查詢您的插件
1314
query-plugins: true
14-
#當某插件使用不被推薦的API時,在控制台提醒
15+
#當某插件使用不推薦的API時,在後台提醒
1516
deprecated-verbose: true
1617
#非同步線程數量,如果設定為auto,則自動識別CPU核心數量(最少4線程)
1718
async-workers: auto
1819

1920
network:
20-
#數據包大小閥值(組織:位元組),這些包將被壓縮
21+
#數據包大小閥值(單位:位元組),這些包將被壓縮
2122
#設為0,壓縮全部。設為-1,停用功能
2223
batch-threshold: 256
2324
#壓縮等級,等級越高,CPU佔用越高,佔用頻寬越少
@@ -28,29 +29,29 @@ network:
2829
debug:
2930
#當調試級別 > 1 時,將在控制台顯示調試資訊
3031
level: 1
31-
#啟用命令/status /gc
32+
#啟用指令"/status"、"/gc"
3233
commands: false
3334

3435
timings:
35-
#Enable core and plugin timings by default
36+
#預設啟用核心與插件時序
3637
enabled: false
37-
#Enable monitoring at verbose level, include high-frequency timings
38+
#啟用詳細監控,包含高頻定時
3839
verbose: false
39-
#Interval between history frames in ticks
40-
#Default is 5 minutes (6000 ticks)
40+
#"歷史"幀的間隔
41+
#預設 5 分鐘 (60000 ticks)
4142
history-interval: 6000
42-
#Length of the whole timing history in ticks
43-
#Default is 1 hour (72000 ticks)
44-
#This value is capped at a maximum of history-interval * 12
43+
#整個"歷史"時間的長度
44+
#預設 1 小時 (72000 ticks)
45+
#此值最大為 history-interval * 12
4546
history-length: 72000
46-
#For special cases of servers with special permission to bypass the max
47-
#This max helps keep data file sizes reasonable for processing on Aikar's Timing parser side
48-
#Setting this will not help you bypass the max unless Aikar has added an exception on the API side
47+
#對於特殊情況將繞過最大值
48+
#這個最大值可以確保檔案大小合理,以便在Aikar的時間解析器進行處理
49+
#設置此項將不會幫你繞過最大值,除非在Aikar API中增加了特例
4950
bypass-max: false
50-
#If set to true, name of your server won't be sent
51+
#如果設定為 ture ,將不會發送您的伺服器名稱
5152
privacy: false
52-
#Settings sections to ignore. These sections won't be sent to Aikar's Timing parser
53-
#For example: [all] or [settings, timings]
53+
#設置要忽略的部分。這些部分將不會傳送到Aikar的時間解析器
54+
 #例如:[all] [settings,timing]
5455
ignore: []
5556

5657
level-settings:
@@ -93,22 +94,29 @@ chunk-generation:
9394
population-queue-size: 8
9495

9596
ticks-per:
96-
#週期設定(組織:tick)
97+
#週期設定(單位:tick)
98+
#動物生成
9799
animal-spawns: 400
100+
#怪物生成
98101
monster-spawns: 1
102+
#自動儲存
99103
autosave: 6000
104+
#緩存清理
100105
cache-cleanup: 900
101106

102107
spawn-limits:
103108
#實體生成數量設定
109+
#怪物
104110
monsters: 70
111+
#動物
105112
animals: 15
113+
#水生動物
106114
water-animals: 5
107115
ambient: 15
108116

109117
player:
110-
#If true, player data will be saved as players/playername.dat
111-
#If false, nukkit won't save player data as "dat" files, in order that plugins can do something on it.
118+
#設置為 ture,玩家資料將被儲存為 player/<玩家代號>.dat
119+
 #設置為 falsenukkit 將不會儲存玩家資料為 "dat" 檔案,以便插件可以在其上執行某些操作。
112120
save-player-data: true
113121

114122
aliases:

0 commit comments

Comments
 (0)