Skip to main content
The input_tracker_config manifest entry defines all keybind definitions and inventory buttons.

Configuration Properties

Global Settings

keybinds
List\<InputDefinition\>
Collection of keybind definitions for triggering actions on player input (F, Q, Shift, Ctrl, T, /, Hotbar).
inventoryButtons
List\<InventoryButton\>
Collection of persistent buttons to place in the inventory or crafting grid.

InputDefinition Object

Used for each keybind entry.
FieldTypeDefaultDescription
typeInputTypeSWAP_HANDThe input type to listen for
enabledBooleanfalseEnable or disable this handler
cancelActionBooleanfalseCancel the original game action
actionsList<Ref<ActionEntry>>[]Actions to execute when triggered
delayLong0Delay in ticks before execution
cooldownLong0Cooldown in ticks between triggers
dropCountInt1For DROP: 1=single, -1=stack, >1=N items
hotbarSlotInt0For HOTBAR_SLOT: slot index (0-8)
criteriaList<Criteria>[]Conditions for the trigger to fire

InputType Enum

ValueKeyEvent
SWAP_HANDFPlayerSwapHandItemsEvent
DROPQPlayerDropItemEvent
SNEAKShiftPlayerToggleSneakEvent
SPRINTCtrlPlayerToggleSprintEvent
CHATTAsyncChatEvent
COMMAND/PlayerCommandPreprocessEvent
HOTBAR_SLOT1-9PlayerItemHeldEvent

InventoryButton Object

Defines a persistent button in the inventory or crafting grid.
FieldTypeDefaultDescription
slotInt0Inventory slot ID (0-40) or crafting grid (0-4)
itemVar<Item>EmptyThe item stack to display as the button
clickActionsList<ClickActionBinding>[]Actions grouped by click type
delayLong0Execution delay in server ticks
isCraftingGridBooleanfalseIf true, the slot refers to crafting grid IDs (0-4)
criteriaList<Criteria>[]Global conditions for the button to appear

ClickActionBinding Object

Binds a set of actions to a specific click type.
FieldTypeDefaultDescription
clickTypeClickTypeLEFTThe click type that triggers these actions
actionsList<Ref<ActionEntry>>[]Actions to execute
criteriaList<Criteria>[]Conditions for this binding to fire

ClickType Enum

ValueDescription
ALLMatches any click (fallback)
LEFTLeft click (inventory + world)
RIGHTRight click (inventory + world)
SHIFT_LEFTShift + left click
SHIFT_RIGHTShift + right click
DROPQ key when hovering the button
DOUBLE_CLICKDouble click

Criteria Object

Standard Typewriter criteria — condition groups that must be met. Each condition checks a ReadableFactEntry against an operator and value.
FieldTypeDescription
factRef<ReadableFactEntry>The fact to check
operatorCriteriaOperatorComparison operator (EQUAL, NOT_EQUAL, GREATER, etc.)
valueStringExpected value

Example Usage

input_tracker_config:
  id: "default"
  keybinds:
    - type: SWAP_HAND
      enabled: true
      cancelAction: true
      actions:
        - "open_menu_action"
      cooldown: 10
    - type: DROP
      enabled: true
      cancelAction: true
      dropCount: -1
      actions:
        - "drop_all_action"
  inventoryButtons:
    - slot: 0
      isCraftingGrid: true
      item:
        type: "COMPASS"
        name: "<green>Quest Tracker"
      clickActions:
        - clickType: LEFT
          actions:
            - "open_quest_log_action"
        - clickType: RIGHT
          actions:
            - "track_objective_action"
    - slot: 8
      item:
        type: "CLOCK"
        name: "<gold>Menu"
      clickActions:
        - clickType: LEFT
          actions:
            - "open_server_menu_action"