Interactions

Using "Interactions" you can modify what is gonna happen when a player interacts with the key. For example you can make it so when a player right clicks the key, it opens the crate without having to interact with the Spawned Crate visual, or left click can open a preview & so on...

interaction:
  RIGHT: # Interaction Type
    type: "open-crate" # Action type
  SHIFT_RIGHT:
    type: "open-crate-instant"
  LEFT:
    type: "preview-crate"

Interaction Types

  • LEFT

  • SHIFT_LEFT

  • RIGHT

  • SHIFT_RIGHT

  • SWAP (F Key)

  • SHIFT_SWAP

  • INVENTORY_SWAP (F Key while in opened inventory including player's inventory)

  • DROP (Q Key)

  • INVENTORY_DROP (Q Key while in opened inventory including player's inventory)

Action Types

  • open-crate

  • open-crate-instant

  • preview-crate

  • destroy-crate

  • execute-actions

    Arguments:

Last updated