mirror of
https://github.com/Xiao-MoMi/craft-engine.git
synced 2025-12-29 20:09:13 +00:00
重新安排配置文件顺序
This commit is contained in:
@@ -13,57 +13,6 @@ resource-pack:
|
||||
# This option determines the location of the generated resource pack
|
||||
# You can use either an absolute path or a relative path here
|
||||
path: "./generated/resource_pack.zip"
|
||||
# Should those images in minecraft:default font also work in minecraft:uniform
|
||||
override-uniform-font: true
|
||||
# Generate assets for CraftEngine fabric mod
|
||||
# Note: fabric mod is used for clientside Axiom/WorldEdit mod
|
||||
generate-mod-assets: false
|
||||
# Resource pack protection
|
||||
protection:
|
||||
# Warning: Do not attempt to unzip the resource pack with crash tools enabled.
|
||||
# You can enable all the methods at the same time.
|
||||
crash-tools:
|
||||
method-1: false
|
||||
method-2: false
|
||||
method-3: false # Enable this would increase the resource pack size by 0.67MB
|
||||
# [Premium Exclusive]
|
||||
# Obfuscate your resource pack
|
||||
obfuscation:
|
||||
enable: false
|
||||
seed: 0 # 0 = random seed
|
||||
fake-directory: false
|
||||
escape-unicode: false
|
||||
resource-location:
|
||||
enable: true
|
||||
random-namespace:
|
||||
amount: 16 # 0 = disable
|
||||
length: 9
|
||||
random-path:
|
||||
source: obf
|
||||
depth: 16
|
||||
anti-unzip: false
|
||||
random-atlas:
|
||||
images-per-canvas: 32 # 0 = disable
|
||||
# Sometimes, some vanilla files that have been overwritten might be mistakenly obfuscated.
|
||||
# Please add the ignored textures/models/sounds here.
|
||||
bypass-textures:
|
||||
# - minecraft:block/farmland
|
||||
- "@legacy_unicode"
|
||||
- "@vanilla_textures"
|
||||
bypass-models:
|
||||
- "@vanilla_models"
|
||||
bypass-sounds: []
|
||||
bypass-equipments: []
|
||||
# Validate if there is any error in the resource pack, such as missing textures or models
|
||||
# If your resource pack is compliant with the standard, you can disable validation to improve the resource pack generation speed.
|
||||
validation:
|
||||
enable: true
|
||||
# [Premium Exclusive]
|
||||
# Fix images that are not within the texture atlas. It is unreasonable to always rely on plugins to fix your mistakes.
|
||||
# You should strive to make your resource pack more standardized after gaining some experience with resource packs.
|
||||
fix-atlas: true
|
||||
# Define the name of the overlay folders
|
||||
overlay-format: "ce_overlay_{version}"
|
||||
# Allowed values:
|
||||
# - 1.20.1, 1.21, 1.21.8, etc.
|
||||
# - LATEST: the latest client version
|
||||
@@ -73,42 +22,24 @@ resource-pack:
|
||||
max: LATEST
|
||||
# Remove 1.21.5+ tinted_leaves particles
|
||||
remove-tinted-leaves-particle: true
|
||||
# Define the name of the overlay folders
|
||||
overlay-format: "ce_overlay_{version}"
|
||||
# Should those images in minecraft:default font also work in minecraft:uniform
|
||||
override-uniform-font: true
|
||||
# Generate assets for CraftEngine fabric mod
|
||||
# Note: fabric mod is used for clientside Axiom/WorldEdit mod
|
||||
generate-mod-assets: false
|
||||
# Exclude the shaders when generating the resource pack
|
||||
exclude-core-shaders: false
|
||||
# Merge other packs
|
||||
merge-external-folders:
|
||||
- "ModelEngine/resource pack"
|
||||
merge-external-zip-files:
|
||||
- "CustomNameplates/resourcepack.zip"
|
||||
- "BetterModel/build.zip"
|
||||
exclude-file-extensions: ["md", "psd", "bbmodel", "db", "ini", "DS_Store"]
|
||||
# Exclude the shaders when generating the resource pack
|
||||
exclude-core-shaders: false
|
||||
delivery:
|
||||
# Send the resource pack on joining the server
|
||||
send-on-join: true
|
||||
kick-if-declined: true
|
||||
kick-if-failed-to-apply: false
|
||||
prompt: "<yellow>To fully experience our server,<newline>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.
|
||||
# Read this page for more host types: https://xiao-momi.github.io/craft-engine-wiki/getting_start/set_up_host
|
||||
hosting:
|
||||
- type: "self"
|
||||
ip: "localhost"
|
||||
port: 8163
|
||||
protocol: "http"
|
||||
deny-non-minecraft-request: true
|
||||
one-time-token: true
|
||||
rate-limit:
|
||||
max-requests: 10
|
||||
reset-interval: 30
|
||||
# Upload the resource pack automatically on generation
|
||||
# When disabled, you must manually trigger uploads using the /ce upload command
|
||||
auto-upload: true
|
||||
# The file to upload
|
||||
file-to-upload: "./generated/resource_pack.zip"
|
||||
# Resend the resource pack to players upon successful upload
|
||||
resend-on-upload: true
|
||||
# Whether a verified player UUID is required to get the resource pack
|
||||
strict-player-uuid-validation: true
|
||||
# Provide the solution for when a file conflict is encountered
|
||||
# https://xiao-momi.github.io/craft-engine-wiki/reference/file_conflict
|
||||
duplicated-files-handler:
|
||||
- term:
|
||||
type: any_of
|
||||
@@ -150,6 +81,88 @@ resource-pack:
|
||||
suffix: "minecraft/atlases"
|
||||
resolution:
|
||||
type: merge_atlas
|
||||
# Validate if there is any error in the resource pack, such as missing textures or models
|
||||
# If your resource pack is compliant with the standard, you can disable validation to improve the resource pack generation speed.
|
||||
validation:
|
||||
enable: true
|
||||
# [Premium Exclusive]
|
||||
# Fix images that are not within the texture atlas. It is unreasonable to always rely on plugins to fix your mistakes.
|
||||
# You should strive to make your resource pack more standardized after gaining some experience with resource packs.
|
||||
fix-atlas: true
|
||||
# Optimize your resource pack by reducing its size
|
||||
optimization:
|
||||
enable: true
|
||||
png:
|
||||
color-quantization: true
|
||||
lossless-bit-depth: true
|
||||
remove-metadata: true
|
||||
model:
|
||||
minimize: true
|
||||
bypass-textures: []
|
||||
# Protect your resource pack from being cracked by others
|
||||
protection:
|
||||
# Prevent thieves from extracting your resource pack. These options will crash their software.
|
||||
crash-tools:
|
||||
method-1: false
|
||||
method-2: false
|
||||
method-3: false # Enable this would increase the resource pack size by 0.67MB
|
||||
# [Premium Exclusive]
|
||||
# Obfuscate your resource pack to prevent thieves from restoring its original structure
|
||||
obfuscation:
|
||||
enable: false
|
||||
seed: 0 # 0 = random seed
|
||||
fake-directory: false # Create fake folders to deceive thieves
|
||||
escape-unicode: false # Escape the JSON to make it human-unreadable
|
||||
resource-location:
|
||||
enable: true
|
||||
random-namespace:
|
||||
amount: 8 # 0 = disable
|
||||
length: 9
|
||||
random-path:
|
||||
source: obf
|
||||
depth: 8
|
||||
anti-unzip: false
|
||||
random-atlas:
|
||||
images-per-canvas: 256 # 0 = disable
|
||||
# Sometimes, some vanilla files that have been overwritten might be mistakenly obfuscated
|
||||
# Please add the ignored textures/models/sounds here if that happens
|
||||
bypass-textures:
|
||||
# - minecraft:block/farmland
|
||||
- "@legacy_unicode"
|
||||
- "@vanilla_textures"
|
||||
bypass-models:
|
||||
- "@vanilla_models"
|
||||
bypass-sounds: []
|
||||
bypass-equipments: []
|
||||
# This section controls how to send the resource pack to players
|
||||
delivery:
|
||||
# Send the resource pack on joining the server
|
||||
send-on-join: true
|
||||
kick-if-declined: true
|
||||
kick-if-failed-to-apply: false
|
||||
prompt: "<yellow>To fully experience our server,<newline>please accept our custom resource pack.</yellow>"
|
||||
# Whether a verified player UUID is required to download the resource pack
|
||||
strict-player-uuid-validation: true
|
||||
# Upload the resource pack automatically on generation
|
||||
# When disabled, you must manually trigger uploads using the /ce upload command
|
||||
auto-upload: true
|
||||
# Resend the resource pack to players upon successful upload
|
||||
resend-on-upload: true
|
||||
# The file to upload
|
||||
file-to-upload: "./generated/resource_pack.zip"
|
||||
# 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.
|
||||
# Read this page for more host types: https://xiao-momi.github.io/craft-engine-wiki/getting_start/set_up_host
|
||||
hosting:
|
||||
- type: "self"
|
||||
ip: "localhost"
|
||||
port: 8163
|
||||
protocol: "http"
|
||||
deny-non-minecraft-request: true
|
||||
one-time-token: true
|
||||
rate-limit:
|
||||
max-requests: 10
|
||||
reset-interval: 30
|
||||
|
||||
item:
|
||||
# [Premium Exclusive]
|
||||
|
||||
Reference in New Issue
Block a user