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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user