Filled ActionExpMsg

Discussion in 'Plugin Requests' started by madtomic, May 22, 2019.

  1. Plugin category: Mechnical

    Minecraft version: 1.12.2

    Suggested name: ActionExpMsg

    What I want: I would like to a simple plugin that would send an actionbar message whenever a player picked up experience orbs. You may use BountifulAPI to send the actionbar message.

    Depend: BountifulAPI
    https://www.spigotmc.org/resources/bountifulapi-1-8-1-13.1394/

    config.yml

    expmessage: '&a - You gain {exp} experiences.'
    duration: 2

    Commands: none

    Permissions:
    aem.receive - Allow the player to receive the actionbar message

    ***If a player don't have permission. They would not receive expmessage.

    Thank you for reading.
     
  2. @DJSkepter

    Looks good, anyway to add a fade out delay for the action message?

    Edit: I think the fade out for actionbar message is a client thing.

    Can you add toggle options for the message to be send as chat message or actionbar message.

    action: true
    chat: true
     
    Last edited: May 25, 2019
  3. Works great! Thank you again!

    @DJSkepter

    Sorry, one last request. I forgot sometimes the player would only get 1 experience. Can we add a string to show if more than one exp is picked up.

    expmessage: '&e You have gained {exp} experience{plural}.'

    example:
    You have gained 1 experience.
    or
    You have gained 5 experiences.

    Thanks!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 25, 2019
  4. @DJSkepter
    {plural} is not working, it don't work when more than 1 exp is picked up as well.

    [​IMG]
     
    Last edited: May 25, 2019

Share This Page