MVdW Event Triggers - Historical

Applied By Maximvdw: Nov 23, 2015 at 11:45 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.

THE EXAMPLES BELOW ARE FROM FEATHERBOARD. ON ACTIONBAR, TAB, ... THE NAME "SCOREBOARD" IS NOT USED BUT CHANGED WITH "TAB" , "ACTIONBAR", ...

==========================================================
Event Triggers list generated on Sat Nov 07 18:15:02 CET 2015
Amount of event triggers: 20
==========================================================




BukkitGames minigame plugin(top)

https://www.spigotmc.org/resources/bukkitgames-hungergames.279/

Default Config
Code (Text):

#----------------------------------------
# BukkitGames
# BukkitGames minigame plugin
# https://www.spigotmc.org/resources/bukkitgames-hungergames.279/
#----------------------------------------

# DO NOT EDIT THIS CONFIG VERSION!
config: 1


# Do you want to enable this event hook?
# Enabling this hook will trigger scoreboard
# when the game starts or stops
# for all players
enabled: false

# scoreboard to trigger
scoreboard: 'default'


 


McMMO Skills plugin player level down(top)

https://www.spigotmc.org/resources/mcmmo.2445/

Default Config
Code (Text):

#----------------------------------------
# mcMMO Level down event
# McMMO Skills plugin player level down
# https://www.spigotmc.org/resources/mcmmo.2445/
#----------------------------------------

# DO NOT EDIT THIS CONFIG VERSION!
config: 1


# Do you want to enable this event hook?
# Enabling this hook will trigger scoreboard
# when the player levels down
# for the player that levels down
enabled: false

# scoreboard to trigger
scoreboard: 'default'


# The time to display the scoreboard on the screen (in millseconds)
onscreen-time: 5000
 


McMMO Skills plugin player level up(top)

https://www.spigotmc.org/resources/mcmmo.2445/

Default Config
Code (Text):

#----------------------------------------
# mcMMO Level up event
# McMMO Skills plugin player level up
# https://www.spigotmc.org/resources/mcmmo.2445/
#----------------------------------------

# DO NOT EDIT THIS CONFIG VERSION!
config: 1


# Do you want to enable this event hook?
# Enabling this hook will trigger scoreboard
# when the player levels up
# for the player that levels up
enabled: false

# scoreboard to trigger
scoreboard: 'default'


# The time to display the scoreboard on the screen (in millseconds)
onscreen-time: 5000
 


MobArena minigame plugin(top)

http://dev.bukkit.org/bukkit-plugins/mobarena/

Default Config
Code (Text):

#----------------------------------------
# MobArena
# MobArena minigame plugin
# http://dev.bukkit.org/bukkit-plugins/mobarena/
#----------------------------------------

# DO NOT EDIT THIS CONFIG VERSION!
config: 1


# Do you want to enable this event hook?
# Enabling this hook will trigger scoreboard
# when the arena starts or stops
# for all players that are in the arena or spectating
enabled: false

# scoreboard to trigger
scoreboard: 'default'


 


SubSide's King of the Hill minigame plugin(top)

https://www.spigotmc.org/resources/koth-king-of-the-hill.7689/

Default Config
Code (Text):

#----------------------------------------
# KoTH
# SubSide's King of the Hill minigame plugin
# https://www.spigotmc.org/resources/koth-king-of-the-hill.7689/
#----------------------------------------

# DO NOT EDIT THIS CONFIG VERSION!
config: 1


# Do you want to enable this event hook?
# Enabling this hook will trigger scoreboard
# when the KoTH game starts or stops
# for all players on the server
enabled: false

# scoreboard to trigger
scoreboard: 'default'


 


Player Death hook in minecraft(top)


Default Config
Code (Text):

#----------------------------------------
# Vanilla Death hook
# Player Death hook in minecraft
#
#----------------------------------------

# DO NOT EDIT THIS CONFIG VERSION!
config: 1


# Do you want to enable this event hook?
# Enabling this hook will trigger scoreboard
# when the player dies
# for the player that dies
enabled: false

# scoreboard to trigger
scoreboard: 'default'


# The time to display the scoreboard on the screen (in millseconds)
onscreen-time: 5000
 


Player block breaking minecraft(top)


Default Config
Code (Text):

#----------------------------------------
# Vanilla Block break hook
# Player block breaking minecraft
#
#----------------------------------------

# DO NOT EDIT THIS CONFIG VERSION!
config: 1


# Do you want to enable this event hook?
# Enabling this hook will trigger scoreboard
# when the player breaks a block
# for the player that broke a block
enabled: false

# scoreboard to trigger
scoreboard: 'default'


# The time to display the scoreboard on the screen (in millseconds)
onscreen-time: 5000
 


Player block place in minecraft(top)


Default Config
Code (Text):

#----------------------------------------
# Vanilla Block place hook
# Player block place in minecraft
#
#----------------------------------------

# DO NOT EDIT THIS CONFIG VERSION!
config: 1


# Do you want to enable this event hook?
# Enabling this hook will trigger scoreboard
# when the player places a block
# for the player that placed a block
enabled: false

# scoreboard to trigger
scoreboard: 'default'


# The time to display the board on the screen (in millseconds)
onscreen-time: 5000
 


Player Create portal hook in minecraft(top)


Default Config
Code (Text):

#----------------------------------------
# Vanilla Create portal hook
# Player Create portal hook in minecraft
#
#----------------------------------------

# DO NOT EDIT THIS CONFIG VERSION!
config: 1


# Do you want to enable this event hook?
# Enabling this hook will trigger scoreboard
# when the player creates a portal
# for the player that created a portal
enabled: false

# scoreboard to trigger
scoreboard: 'default'


# The time to display the scoreboard on the screen (in millseconds)
onscreen-time: 5000
 


SellAll plugin(top)

https://www.spigotmc.org/resources/sellall-sell-everything-in-one-go.1221/

Default Config
Code (Text):

#----------------------------------------
# SellAll
# SellAll plugin
# https://www.spigotmc.org/resources/sellall-sell-everything-in-one-go.1221/
#----------------------------------------

# DO NOT EDIT THIS CONFIG VERSION!
config: 1


# Do you want to enable this event hook?
# Enabling this hook will trigger scoreboard
# when the player clicks a sellall sign
# for the player that clicked the sellall sign
enabled: false

# scoreboard to trigger
scoreboard: 'default'


# The time to display the scoreboard on the screen (in millseconds)
onscreen-time: 5000
 


BedwarsReloaded minigame plugin(top)

https://www.spigotmc.org/resources/bedwars-rel.6799/

Default Config
Code (Text):

#----------------------------------------
# BedwarsRel
# BedwarsReloaded minigame plugin
# https://www.spigotmc.org/resources/bedwars-rel.6799/
#----------------------------------------

# DO NOT EDIT THIS CONFIG VERSION!
config: 1


# Do you want to enable this event hook?
# Enabling this hook will trigger scoreboard
# when the Bedwars game starts or stops
# for all players in the game
enabled: false

# scoreboard to trigger
scoreboard: 'default'


 


McMMO Skills plugin party player level up(top)

https://www.spigotmc.org/resources/mcmmo.2445/

Default Config
Code (Text):

#----------------------------------------
# mcMMO Party Level up
# McMMO Skills plugin party player level up
# https://www.spigotmc.org/resources/mcmmo.2445/
#----------------------------------------

# DO NOT EDIT THIS CONFIG VERSION!
config: 1


# Do you want to enable this event hook?
# Enabling this hook will trigger scoreboard
# when the party levels up
# for all the players in the party that levels up
enabled: false

# scoreboard to trigger
scoreboard: 'default'


# The time to display the scoreboard on the screen (in millseconds)
onscreen-time: 5000
 


Towny Advanced(top)

http://towny.palmergames.com/

Default Config
Code (Text):

#----------------------------------------
# Towny Town
# Towny Advanced
# http://towny.palmergames.com/
#----------------------------------------

# DO NOT EDIT THIS CONFIG VERSION!
config: 1


# Do you want to enable this event hook?
# Enabling this hook will trigger scoreboard
# when the player enters/leaves a town
# for the player that enters the arena
enabled: false

# scoreboard to trigger
scoreboard: 'default'


 


Player joining(top)


Default Config
Code (Text):

#----------------------------------------
# Vanilla player join
# Player joining
#
#----------------------------------------

# DO NOT EDIT THIS CONFIG VERSION!
config: 1


# Do you want to enable this event hook?
# Enabling this hook will trigger scoreboard
# when the player joins the server
# for the player that joined
enabled: false

# scoreboard to trigger
scoreboard: 'default'


# The time to display the scoreboard on the screen (in millseconds)
onscreen-time: 5000
 


Player rejoining(top)


Default Config
Code (Text):

#----------------------------------------
# Vanilla player rejoin
# Player rejoining
#
#----------------------------------------

# DO NOT EDIT THIS CONFIG VERSION!
config: 1


# Do you want to enable this event hook?
# Enabling this hook will trigger scoreboard
# when the player rejoins the server
# for the player that rejoined
enabled: false

# scoreboard to trigger
scoreboard: 'default'


# The time to display the scoreboard on the screen (in millseconds)
onscreen-time: 5000
 


Player first joining(top)


Default Config
Code (Text):

#----------------------------------------
# Vanilla player first join
# Player first joining
#
#----------------------------------------

# DO NOT EDIT THIS CONFIG VERSION!
config: 1


# Do you want to enable this event hook?
# Enabling this hook will trigger scoreboard
# when the player first joins the server
# for the player that first joined
enabled: false

# scoreboard to trigger
scoreboard: 'default'


# The time to display the scoreboard on the screen (in millseconds)
onscreen-time: 5000
 


Auctions plugin(top)

https://www.spigotmc.org/resources/auctions.571/

Default Config
Code (Text):

#----------------------------------------
# Auctions
# Auctions plugin
# https://www.spigotmc.org/resources/auctions.571/
#----------------------------------------

# DO NOT EDIT THIS CONFIG VERSION!
config: 1


# Do you want to enable this event hook?
# Enabling this hook will trigger scoreboard
# when the auction starts until it ends
# for all players on the server
enabled: false

# scoreboard to trigger
scoreboard: 'default'


 


Player Combat hook in minecraft(top)


Default Config
Code (Text):

#----------------------------------------
# Vanilla Combat hook
# Player Combat hook in minecraft
#
#----------------------------------------

# DO NOT EDIT THIS CONFIG VERSION!
config: 1


# Do you want to enable this event hook?
# Enabling this hook will trigger scoreboard
# when the player is in combat
# for the players that are in combat
enabled: false

# scoreboard to trigger
scoreboard: 'default'


# The time to display the scoreboard on the screen (in millseconds) after the last combat hit was made
onscreen-time: 5000

# Do you only want to trigger it on PVP (no mob attacks)
only-pvp: false
 


EZRanksPro player rankup event(top)

https://www.spigotmc.org/resources/ezrankspro.10731/

Default Config
Code (Text):

#----------------------------------------
# EZRanksUp Rankup event
# EZRanksPro player rankup event
# https://www.spigotmc.org/resources/ezrankspro.10731/
#----------------------------------------

# DO NOT EDIT THIS CONFIG VERSION!
config: 1


# Do you want to enable this event hook?
# Enabling this hook will trigger scoreboard
# when the player ranks up
# for the player that ranks up
enabled: false

# scoreboard to trigger
scoreboard: 'default'


# The time to display the scoreboard on the screen (in millseconds)
onscreen-time: 5000
 


BattleLevels plugin player level up(top)

https://www.spigotmc.org/resources/battlelevels.2218/

Default Config
Code (Text):

#----------------------------------------
# BattleLevels Level up event
# BattleLevels plugin player level up
# https://www.spigotmc.org/resources/battlelevels.2218/
#----------------------------------------

# DO NOT EDIT THIS CONFIG VERSION!
config: 1


# Do you want to enable this event hook?
# Enabling this hook will trigger scoreboard
# when the player levels up
# for the player that levels up
enabled: false

# scoreboard to trigger
scoreboard: 'default'


# The time to display the scoreboard on the screen (in millseconds)
onscreen-time: 5000