Sueta
XP

XP_Hologram

1.2.1

Display a hologram with the experience gained and the killer when you kill a monster or a player.

·Plugin

XP_Hologram
A simple plugin that display a hologram when you kill a mob or a player. The hologram can include the killer, the victim, and the xp gained. The experience gained is given directly to the killer (can be disabled in the config file).

Screenshots:

Screenshots


Note : These screenshots have not been updated and date from the first version. The only visible change is that the default configuration no longer displays the same text, but everything is editable in the configuration file.

Commands:

  • /xphologram reload
    • Reload the configuration file
    • permission: xphologram.reload

Configuration file:

Config
# # # # # # # # # # # # CONFIG INFOS  # # # # # # # # # # # # # # #
  # If drop-xp is turned off, the xp will be given to the killer    #
  # Living time of the hologram in sec                              #
  # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
config:

  mob-hologram:
    enable: true
    drop-xp: false
    living-time: 2
    # Set the mob hologram name. You can use %killer%, %mob_type%, %mob_name% and %xp%.
    line1: '[%killer% killed %mob_type%]'
    line2: '+ %xp% xp !'

  player-hologram:
    enable: true
    drop-xp: false
    living-time: 2
    # Set the player hologram name. You can use %killer%, %victim% and %xp%
    line1: '[%killer% killed %victim%]'
    line2: '+ %xp% xp !'

  # Offset between line1 and line2
  offset: -0.2f

  # # # # # # # # # # MythicMobs | SkillAPI Patch # # # # # # # # # #
  # - Depends : ProtocolLib                                         #
  # - You must enable the SkillAPI message from MythicMobs' config  #
  # (If you use MythicMobs, the "drop-xp" parameter will be false)  #
  # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #

Soft dependencies:
- ProtocolLib (required for MyhicMobs/SkillAPI compatibility)

Changelog:

Changelog
1.1
  • Improved : The hologram position is now based on mob's eyes location
  • Added : MythicMobs/SkillAPI support
1.2
  • Improved : ProtocolLib is now a softdepency
  • Improved : No collisions with the hologram
  • Improved : More control with the new configuration file
1.2.1
  • Added : /xphologram reload
  • Added : Reload command permission

Similar projects

Plugin →