MVdW Event Triggers - Historical

Applied By DPablo_EscobarR: Nov 24, 2015 at 1:10 AM

MVdW Event Triggers
Event triggers for MVdW-Software plugins
Applies to ActionBar,AnimatedNames,Tab,FeatherBoard

About

Event Triggers are a new thing added on 31/09/2015 as part of the big FeatherBoard3 update. The idea is that you can show different scoreboard, actionbars, tab header and footer ,.. when an event is triggered.

Events can be just plain vanilla events such as dieing or going into combat, but they get more advanced and useful when they hook into other plugins such as mini games or skill plugins.

Examples are for example showing a different scoreboard with different placeholders when a player joins a mini game.


Compatibility
  • FeatherBoard 3.0.0 or above
  • AnimatedNames 5.0.0 or above
  • Tab 5.0.0 or above
  • ActionBar 5.0.0 or above

Configuration
The configuration varies from event to event but it follows the same pattern

  • Create a scoreboard/actionbar/animatednamesgroup in the main config.yml section just like you would for any other scoreboard/actionbar/animatednamesgroup
  • Do not give permissions to that group like you would with a group that is constantly shown.
  • In the /events/ folder you can find the configuration for all available event triggers. All are disabled by default.
  • Select the event you want to use.
  • In the event configuration enable the event by setting "enabled: true"
  • Set the scoreboard/actionbar/animatednamesgroup you want to trigger (it will say "default" by default)
  • Some events have an on screen time that you have to configure
  • Restart the server or reload the plugin (restart preferred)
  • Test it ;) The console will shown when something is triggered

Usage
In the example below I use "scoreboard" as example. But it works on actionbars, tab, animatednames teams as well

  • First make sure it is configured correctly
  • When the event is triggered it will override the scoreboard you currently have permission to. If you do not have permission to a scoreboard it will show as well
  • If the event has event-specific placeholders they will be shown
  • When another event is triggered during the showing of another event scoreboard it will override that scoreboard as well (currently there are no priorities but it is planned)
  • When that last event is no longer active or the screen on time has passed it will show the 1st event event

Available event triggers

NOTE: The list below is generated by the plugin.