Skip to main content

Action Types

The Onyxian Core provides several action types that you can use to define actions inside actions.yml, this is the full list:

Action types
Name
Description
Parameters
send console messageSends a message to the console.String message: none
run commandRuns a command from the consoleString command: none
set healthSets the ammount of hearts of an entity
Damageable damageable: none
Double health: none
probably runRuns an action *probability*/*total* of the times. probability:1 total: 100 means the action will run 1% of the times.
Actionable action: none
Integer chances: none, Integer total: 100
conditionally runRuns an action if a condition is met
'Boolean condition: none
Action if true: none, Action if false: none