Archy-X / AuraSkills

The ultra-versatile RPG skills plugin
https://aurelium.dev/auraskills
GNU General Public License v3.0
239 stars 92 forks source link

Key "menu_message" does not show under the rewards in level_progression menu #281

Open VinceSMC opened 4 months ago

VinceSMC commented 4 months ago

Server software and version

Paper 1.20.6 (paper-1.20.6-86)

Expected behavior

"The menu_message key is for the message that will show on the level item in the level progression menu (accessible by clicking any skill in the /skills menu). This will appear under the "Rewards:" section right after stat rewards and before ability unlock/level ups."

Actual behavior

Menu message does not appear on the level progression menu.

How to reproduce

Add:

  - type: command
    executor: console
    commmand: 'say this executes every level up'
    menu_message: 'Some message in the menu'
    pattern:
      interval: 1

Additional information

I want to add extra rewards for leveling up (like level exp and coins). However, when I add the "menu_message" key to the rewards menu (e.g., /plugins/AuraSkills/rewards/farming.yml), it doesn't show up in the level progression menu.

Agreements

Archy-X commented 4 months ago

I'm not able to reproduce this issue, the menu_message is showing up for me. Note that you need to add a newline using \n at the beginning to get it to show on its own line.