mirror of
https://github.com/Xiao-MoMi/craft-engine.git
synced 2026-01-06 15:52:03 +00:00
0.0.49beta
This commit is contained in:
@@ -72,22 +72,17 @@ resource-pack:
|
||||
prompt: "<yellow>To fully experience our server, please accept our custom resource pack.</yellow>"
|
||||
# If you are hosting the resource pack by yourself, replace `localhost` with your server ip otherwise it would only work on your local pc
|
||||
# If using BungeeCord or Velocity, consider using a proxy-side plugin to handle resource pack delivery.
|
||||
mode: self-host # self-host/external-host/none
|
||||
self-host:
|
||||
ip: localhost
|
||||
port: 8163
|
||||
protocol: http
|
||||
deny-non-minecraft-request: true
|
||||
# If the path begins with `./` or `../`, it is treated as a relative path to the plugin folder.
|
||||
# Otherwise, it is considered an absolute path.
|
||||
local-file-path: "./generated/resource_pack.zip"
|
||||
rate-limit:
|
||||
max-requests: 3
|
||||
reset-interval: 30 # seconds
|
||||
external-host:
|
||||
url: ""
|
||||
sha1: ""
|
||||
uuid: ""
|
||||
# Read this page for more host types: https://mo-mi.gitbook.io/xiaomomi-plugins/craftengine/plugin-wiki/craftengine/resource-pack/host
|
||||
host:
|
||||
- type: "self_host"
|
||||
ip: "localhost"
|
||||
port: 8163
|
||||
protocol: "http"
|
||||
deny-non-minecraft-request: true
|
||||
local-file-path: "./generated/resource_pack.zip"
|
||||
rate-limit:
|
||||
max-requests: 3
|
||||
reset-interval: 20
|
||||
duplicated-files-handler:
|
||||
- term:
|
||||
type: any_of
|
||||
|
||||
Reference in New Issue
Block a user