Configuration
Main Configuration
Every feature in the Origins-Reborn configuration is labelled with a comment, to help you understand what it does.
The plugin also has an advanced internal system for updating the configuration system, meaning when new configuration options are added to the plugin they will automatically appear in your config.yml
file upon updating.
Ability Configuration
There's also the ability-config.yml
file, which has a LOT of different settings for abilities, which are also all labelled.
If you see files such as the cooldown-config.yml
or the attribute-modifier-ability-config.yml
you are likely on an outdated version or fork of the plugin, as the configuration settings for these files have been moved to the ability-config.yml
, and proper documentation has been added to the file to explain how to use them.
Triggerable Ability Configuration
One configuration option in the ability-config.yml
is the ability trigger.
This applies to many abilities that require an in-game action, such as throwing an ender pearl as the Enderian (left click with an empty hand), or launching into the sky as an Elytrian (tap crouch when gliding)
For triggerable abilities you can configure two things: the trigger type and the trigger conditions.
The trigger type is the general action used to trigger the ability. These are the current trigger types:
LEFT_CLICK
RIGHT_CLICK
OFFHAND_SWAP
JUMP
SPRINT_ON
SPRINT_OFF
SPRINT_TOGGLE
SNEAK_ON
SNEAK_OFF
SNEAK_TOGGLE
RIGHT_CLICK_CHESTPLATE
The trigger conditions are used to ensure certain conditions are met when triggering an ability, such as ensuring the player has not clicked a block. These are the current conditions that can be set:
EMPTY_HAND (Player's hand is empty)
NO_BLOCK (Player did not interact with a block)
GLIDING (Player is gliding)
HOLDING_SWORD (Player is holding a sword)
DUMMY (Used for placeholders where no conditions are required)
For example, if you wanted to make the "throw ender pearl" ability trigger when right clicking under any circumstance, you would set the configuration to this:
Note: Right clicking the air with an empty hand is not a trigger detected by the server, due to limitations of the game.
Further Support
Last updated
Was this helpful?