9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-19 15:09:15 +00:00

Merge pull request #482 from jhqwqmc/feat/enhanced-self-host-download-verification

增强自托管的验证
This commit is contained in:
XiaoMoMi
2025-11-30 16:19:16 +08:00
committed by GitHub
3 changed files with 27 additions and 13 deletions

View File

@@ -197,6 +197,8 @@ resource-pack:
deny-non-minecraft-request: true
# Generates a single-use, time-limited download link for each player.
one-time-token: true
# Enhances validation for deny-non-minecraft-request and one-time-token.
strict-validation: true
rate-limiting:
# Maximum bandwidth per second to prevent server instability for other players during resource pack downloads
max-bandwidth-per-second: 5_000_000 # 5MB/s