Skip to main content

Open Swap Menu (Entity Action Type)

Opens the swap picker, the Origins window with a grid of the player's swappable pool and their main origin in the first slot.

Type ID: origins:open_swap_menu

note

This action comes from the Origins mod. It only works on players, and only on the server.

Fields

FieldTypeDefaultDescription
layerIdentifieroptionalThe layer to show the pool for, either the target layer or the swappable layer itself. Defaults to the first layer that has a swappable pool.

Example

{
  "type": "apoli:action_on_key_press",
  "key": {
    "key": "key.origins.primary_active"
  },
  "entity_action": {
    "type": "origins:open_swap_menu"
  }
}

This power opens the picker on a key press, instead of cycling through the pool with the swap key.