AureliumSkils/rewards
folder, and the name of the file corresponds to the skill it configures (eg. farming.yml controls Farming rewards only). There is also the global.yml
file which configures rewards for all skills, so rewards added in it will be applied to all skills. You will already see files for each skill containing the default rewards. Each file is split into two main sections, patterns
and levels
.pattern
section that can define a start
, interval
, and stop
. Patterns can be used for every type of reward.start
value is the skill level the reward should first appear at; this should be at least 2 since the first level up possible is from level 1 to 2. If start
isn't specified, it will default to 2.interval
is the difference between consecutive rewards; an interval of 2 means the reward appears every other level (2, 4, 6,...). The default interval
is 1.stop
number is the maximum level the should appear at, which may or may not be a level the reward would actually be at calculated by the start
and interval
. It simply means that there will only be that reward below or at the specified stop
level. This defaults to the max skill level defined by the max-level
option of that skill in config.yml.type
value of the reward type it is. Each type of reward has different keys you can define that configure the reward, both required and optional.stat
)stat
- The name of the stat the reward should level, use the default English names like strength
(Required)value
- The amount of the stat to level, defaults to 1 (Optional)patterns: []
. However, you may need to adjust menu message newlines in the messages file to remove extra spaces when there are no stat rewards.command
)command
- The command to execute; do not include the beginning slash. (Required)executor
- Defines who executes the command, either console
or player
. Using a player executor may still take into account permissions. Defaults to console. (Optional)revert_command
- Revert commands allow you to execute a command when a player loses the skill level due to admin commands. Placeholders work the same as the normal command value. (Optional)revert_executor
- Defines who executes the revert command, console
or player
(Optional)permission
)permission
- The permission node to give (Required)value
- The value of the permission, either true
or false
, but defaults to true
(Optional)item
)/skills item register [key]
and holding the item you want to register in your main hand. Items can be unregistered using /skills item unregister [key]
. When a player's inventory is full, they will be notified and the item will be added to the player's unclaimed items. They can then claim the items using /skills claimitems
. Unclaimed items are saved between restarts.key
- The key of the item that was registered using /skills item register [key]
(Required)amount
- The amount of that item to give, can exceed max stack size. If the amount exceeds the maximum stack size of an item, the given items will still follow the item's max stack size but will just be divided into multiple stacks. If items can't fit into the player's inventory they will be added to unclaimed items like normal. The amount defaults to the original amount of the item registered. (Optional)money
)amount
- The amount of money to givemenu_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. The chat_message
key is for the message that will show on the list of rewards in chat when the player levels up. If the menu_message
and chat_message
you want are the same, you can simply use message
instead as a shorthand.rewards.item
section's message keys in the messages file. If the item does not have a display name, it will not have any messages by default.menus.level_progression_menu.rewards_entry
message key for menu messages and the leveler.stat_level
message key for chat messages. You should edit those values in the messages file to change what stat reward messages look like.menus.level_progression_menu.money_reward
message key for menu messages and the leveler.money_reward
message key for chat messages. All money rewards amounts for a particular level are added together into a single message, including money rewards from the legacy skill-money-rewards section of config.yml