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.
Here you go: https://www.dropbox.com/s/4o6wglq685cxphz/ActionExpMsg-0.0.1-SNAPSHOT.jar?dl=0 Let me know if you need anything!
@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
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.
@madtomic Sorry (Misplaced a bracket somewhere)! My bad, here's the fixed version: https://www.dropbox.com/s/9pg85l3n3g57ouc/ActionExpMsg-0.0.1-SNAPSHOT.jar?dl=0