Actions System

What is the Actions System?

All our plugins use the Nexus Action API, a powerful, config-driven system for executing actions. You can define unlimited actions in any supported configuration section across our plugin suite wherever actions are supported or required. These actions also can have requirements.

Here’s an example configuration that includes actions.

drop-items:
  - item: iron_ingot
    amount: 1-3
    chance: 100
    # Our Nexus Condition API
    conditions: { }
    # Our Nexus Actions API
    actions: { }

Here we add 2 actions. First one sends a message to the player. Second one the player receives 50 Coins

actions:
  - id: send-message
    message: <red>This is a red example message
  - id: vault-add
    amount: 50

Last updated