Skip to main content

On Craftengine Furniture Attempt Place Event

Triggers when a player attempts to place CraftEngine furniture

Fires before CraftEngine validates the placement, so it still sees attempts that end up refused.

Fields

FieldTypeDefaultDescription
furnitureIdString—The furniture ID that triggers this event (e.g., 'namespace:furniture_id'). Leave empty for any furniture.
locationOptional<Var<Position>>—The location where the furniture would be placed (optional)
permissionString—A permission the player must hold to be allowed to place. Leave empty to skip the check.
allowWhenList<Criteria>emptyFacts the player must satisfy to be allowed to place. When unmet, the placement is refused.
cancelBooleantrueWhether to stop the placement when the requirements are unmet. Turn off to only fire the triggers.
Common TypeWriter fields (triggers)
FieldTypeDefaultDescription
triggersList<Ref<TriggerableEntry>>empty—