mirror of
https://github.com/Xiao-MoMi/craft-engine.git
synced 2025-12-27 19:09:08 +00:00
313 lines
10 KiB
YAML
313 lines
10 KiB
YAML
# Do not modify this value
|
|
config-version: '${config_version}'
|
|
# Enables or disables debug mode
|
|
debug: false
|
|
# Enables or disables metrics collection via BStats
|
|
metrics: true
|
|
# Enables automatic update checks
|
|
update-checker: true
|
|
# Forces a specific locale (e.g., zh_cn)
|
|
forced-locale: ''
|
|
# Filter configuration phase player disconnection logs
|
|
filter-configuration-phase-disconnect: false
|
|
|
|
resource-pack:
|
|
# 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
|
|
# Obfuscate your resource pack
|
|
obfuscation:
|
|
enable: false
|
|
seed: 0 # 0 = random seed
|
|
fake-directory: false
|
|
escape-unicode: false
|
|
break-json: false
|
|
resource-location:
|
|
enable: true
|
|
random-namespace:
|
|
amount: 32 # 0 = disable
|
|
length: 9
|
|
random-path:
|
|
source: obf
|
|
depth: 16
|
|
anti-unzip: false
|
|
random-atlas:
|
|
amount: 5 # 0 = disable
|
|
use-double: true
|
|
# 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_font_textures"
|
|
- "@vanilla_item_textures"
|
|
- "@vanilla_block_textures"
|
|
bypass-models: []
|
|
bypass-sounds: []
|
|
bypass-equipments: []
|
|
supported-version:
|
|
min: "1.20"
|
|
max: LATEST
|
|
# Remove 1.21.5+ tinted_leaves particles
|
|
remove-tinted-leaves-particle: true
|
|
merge-external-folders:
|
|
- ModelEngine/resource pack
|
|
- CustomNameplates/ResourcePack
|
|
- BetterModel/build
|
|
- BetterHud/build
|
|
send:
|
|
send-on-join: true
|
|
send-on-reload: true
|
|
kick-if-declined: true
|
|
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: ""
|
|
duplicated-files-handler:
|
|
- term:
|
|
type: any_of
|
|
terms:
|
|
- type: parent_path_suffix
|
|
suffix: "minecraft/items"
|
|
- type: parent_path_suffix
|
|
suffix: "minecraft/models/item"
|
|
resolution:
|
|
type: merge_json
|
|
deeply: true
|
|
- term:
|
|
type: exact
|
|
path: "pack.mcmeta"
|
|
resolution:
|
|
type: merge_pack_mcmeta
|
|
description: "<gray>CraftEngine ResourcePack</gray>"
|
|
- term:
|
|
type: exact
|
|
path: "pack.png"
|
|
resolution:
|
|
type: retain_matching
|
|
term:
|
|
type: contains
|
|
path: "resources/default/resourcepack"
|
|
- term:
|
|
type: filename
|
|
name: "sounds.json"
|
|
resolution:
|
|
type: merge_json
|
|
deeply: false
|
|
- term:
|
|
type: parent_path_suffix
|
|
suffix: "minecraft/atlases"
|
|
resolution:
|
|
type: merge_atlas
|
|
|
|
item:
|
|
# Add a <!i> tag on item name and lore
|
|
non-italic-tag: false
|
|
|
|
block:
|
|
sound-system:
|
|
enable: true
|
|
|
|
furniture:
|
|
# Should the plugin remove invalid furniture on chunk load
|
|
remove-invalid-furniture-on-chunk-load:
|
|
enable: false
|
|
# If you want to remove all invalid furniture, please set this list to empty, otherwise only furniture in the list will be removed.
|
|
list:
|
|
- "xxx:invalid_furniture"
|
|
# Whether to hide the entity containing metadata
|
|
hide-base-entity: true
|
|
|
|
image:
|
|
# Prevent players from using images set in minecraft:default font
|
|
# Players with `craftengine.filter.bypass.xxx` would ignore the limitation
|
|
illegal-characters-filter:
|
|
anvil: true
|
|
book: true
|
|
chat: true
|
|
command: true
|
|
sign: true
|
|
# By intercepting packets, you are allowed to use <image:...> <shift:...> in other plugins
|
|
# Turning off some unused options would help reduce CPU usage on async threads
|
|
intercept-packets:
|
|
system-chat: true
|
|
tab-list: true # Tab list header and footer
|
|
player-info: true # User list in tab
|
|
set-score: true
|
|
actionbar: true
|
|
title: true
|
|
bossbar: true
|
|
container: true # GUI
|
|
team: true # Team prefix, suffix and display name
|
|
scoreboard: true
|
|
entity-name: false
|
|
armor-stand: true # Legacy Holograms
|
|
text-display: true # Modern Holograms
|
|
|
|
emoji: {}
|
|
|
|
recipe:
|
|
# Enable the plugin's recipe system
|
|
enable: true
|
|
# Disable vanilla recipes
|
|
disable-vanilla-recipes:
|
|
# Disable all vanilla recipes
|
|
all: false
|
|
# Disable the recipes in list
|
|
list: []
|
|
|
|
gui:
|
|
browser:
|
|
sounds:
|
|
change-page: "minecraft:ui.loom.take_result"
|
|
return-page: "minecraft:ui.button.click"
|
|
pick-item: "minecraft:entity.item.pickup"
|
|
click-button: "minecraft:ui.hud.bubble_pop"
|
|
main:
|
|
title: "<white><shift:-11><image:internal:item_browser>"
|
|
page-navigation:
|
|
next:
|
|
available: "internal:next_page_0"
|
|
not-available: "internal:next_page_1"
|
|
previous:
|
|
available: "internal:previous_page_0"
|
|
not-available: "internal:previous_page_1"
|
|
category:
|
|
title: "<white><shift:-11><image:internal:category>"
|
|
page-navigation:
|
|
next:
|
|
available: "internal:next_page_0"
|
|
not-available: "internal:next_page_1"
|
|
previous:
|
|
available: "internal:previous_page_0"
|
|
not-available: "internal:previous_page_1"
|
|
return: "internal:return"
|
|
exit: "internal:exit"
|
|
recipe:
|
|
get-item-icon: internal:get_item
|
|
cooking-information-icon: internal:cooking_info
|
|
page-navigation:
|
|
next:
|
|
available: "internal:next_recipe_0"
|
|
not-available: "internal:next_recipe_1"
|
|
previous:
|
|
available: "internal:previous_recipe_0"
|
|
not-available: "internal:previous_recipe_1"
|
|
return: "internal:return"
|
|
exit: "internal:exit"
|
|
none:
|
|
title: "<white><shift:-11><image:internal:no_recipe>"
|
|
blasting:
|
|
title: "<white><shift:-11><image:internal:cooking_recipe><shift:-136><image:internal:blasting>"
|
|
smelting:
|
|
title: "<white><shift:-11><image:internal:cooking_recipe><shift:-136><image:internal:smelting>"
|
|
smoking:
|
|
title: "<white><shift:-11><image:internal:cooking_recipe><shift:-136><image:internal:smoking>"
|
|
campfire-cooking:
|
|
title: "<white><shift:-11><image:internal:cooking_recipe><shift:-136><image:internal:campfire>"
|
|
crafting:
|
|
title: "<white><shift:-11><image:internal:crafting_recipe>"
|
|
stonecutting:
|
|
title: "<white><shift:-11><image:internal:stonecutting_recipe>"
|
|
smithing-transform:
|
|
title: "<white><shift:-11><image:internal:smithing_transform_recipe>"
|
|
|
|
performance:
|
|
# Maximum chain update depth when fixing client visuals
|
|
max-block-chain-update-limit: 64
|
|
# Maximum number of emojis to parse per operation
|
|
max-emojis-per-parse: 16
|
|
|
|
light-system:
|
|
enable: true
|
|
# Turning this option on will reduce lighting system issues to some extent, but will increase server bandwidth consumption
|
|
force-update-light: false
|
|
|
|
chunk-system:
|
|
# 1 = NONE | Compression Speed | Decompress Speed | Compression Ratio | Memory Usage |
|
|
# 2 = DEFLATE | Medium-Slow Medium Moderate Low |
|
|
# 3 = GZIP | Medium-Slow Medium Moderate Low |
|
|
# 4 = LZ4 | Blazing-Fast Blazing-Fast Low Low |
|
|
# 5 = ZSTD | Medium-Fast Fast High Medium |
|
|
compression-method: 4
|
|
# Disabling this option prevents the plugin from converting custom blocks to vanilla states when chunks are unloaded.
|
|
# While this can improve performance, custom blocks will turn into air if the plugin is uninstalled.
|
|
restore-vanilla-blocks-on-chunk-unload: true
|
|
# When you edit a map locally using CraftEngine fabric mod, the custom block data is not immediately synchronized with the
|
|
# server's CraftEngine internal data. Enabling this option will synchronize the data when the chunk is loaded.
|
|
# (This option only slightly impacts performance, which has been fully optimized, so you don't need to worry too much.)
|
|
sync-custom-blocks-on-chunk-load: false
|
|
# If you disable this, it's a must to disable the above option.
|
|
restore-custom-blocks-on-chunk-load: true
|
|
|
|
offset-characters:
|
|
font: minecraft:offset_chars
|
|
-1: '\uf800'
|
|
-2: '\uf801'
|
|
-3: '\uf802'
|
|
-4: '\uf803'
|
|
-5: '\uf804'
|
|
-6: '\uf805'
|
|
-7: '\uf806'
|
|
-8: '\uf807'
|
|
-9: '\uf808'
|
|
-10: '\uf809'
|
|
-11: '\uf80a'
|
|
-12: '\uf80b'
|
|
-13: '\uf80c'
|
|
-14: '\uf80d'
|
|
-15: '\uf80e'
|
|
-16: '\uf80f'
|
|
-24: '\uf810'
|
|
-32: '\uf811'
|
|
-48: '\uf812'
|
|
-64: '\uf813'
|
|
-128: '\uf814'
|
|
-256: '\uf815'
|
|
1: '\uf830'
|
|
2: '\uf831'
|
|
3: '\uf832'
|
|
4: '\uf833'
|
|
5: '\uf834'
|
|
6: '\uf835'
|
|
7: '\uf836'
|
|
8: '\uf837'
|
|
9: '\uf838'
|
|
10: '\uf839'
|
|
11: '\uf83a'
|
|
12: '\uf83b'
|
|
13: '\uf83c'
|
|
14: '\uf83d'
|
|
15: '\uf83e'
|
|
16: '\uf83f'
|
|
24: '\uf840'
|
|
32: '\uf841'
|
|
48: '\uf842'
|
|
64: '\uf843'
|
|
128: '\uf844'
|
|
256: '\uf845' |