Configuratie
Plugin config.yml-sleutels, featuretoggles, actietoggles, behaviourtoggles en herlaadgedrag.
ItemsAdderAdditions gebruikt config.yml voor pluginbrede featuretoggles. ItemsAdder content-YAML definieert nog steeds de daadwerkelijke acties, behaviours, recepten, advancements, paintings, tags en world generation entries.
Standaardconfiguratie
features:
creative_inventory_integration: true
custom_paintings: true
item_model_definitions: true
behaviours:
bed: true
connectable: true
contact_effect: true
stackable: true
storage: true
text_display: true
worldguard:
enabled: true
flags:
storage_open: true
contact_damage: true
stackable_place: true
bed_use: true
custom_painting_place: true
actions: true
actions:
actionbar: true
clear_item: true
ignite: true
message: true
mythic_mobs_skill: true
open_inventory: true
open_trade_machine: true
play_animation: true
play_emote: true
replace_biome: true
replace_item: true
shoot_fireball: true
swing_hand: true
teleport: true
title: true
toast: true
veinminer: true
update-checker:
enabled: true
on-join: trueToggle-gedrag
Ontbrekende toggle keys zijn standaard ingeschakeld. Dit geldt ook voor optionele secties die niet in de standaardconfiguratie staan.
WorldGuard-regiocontroles kunnen worden geconfigureerd onder worldguard; zie WorldGuard-compatibiliteit.
Components kunnen op dezelfde manier worden uitgeschakeld:
components:
rarity: falseHerlaadgedrag
Voer uit:
/itemsadderadditions reloadof:
/iaa reloadDit commando herlaadt config.yml en past pluginbrede feature-, actie-, behaviour- en componenttoggles opnieuw toe. Het herlaadt geen ItemsAdder content-YAML-bestanden.
Gebruik /iareload na wijzigingen aan ItemsAdderAdditions content-YAML-secties zoals acties, behaviours, custom tags, recepten, advancements, custom paintings, Valhalla-metadata of world generation entries.
Gebruik /iazip na wijzigingen aan components secties of resourcepack-assets. /iareload herlaadt ItemsAdderAdditions-content behalve components.
Veelgemaakte fouten
- Een toggle op
falsezetten en verwachten dat bestaande content na herladen blijft werken. - Een typefout toevoegen onder
actions,behaviours,featuresofcomponents; onbekende toggle keys schakelen de bedoelde functie niet uit. - Verwachten dat
/itemsadderadditions reloadItemsAdder content-YAML herlaadt of het resourcepack opnieuw bouwt. Gebruik/iareloadvoor content-YAML en/iazipvoor components of assets.