AuraSkills

AuraSkills

Plugin

The ultra-versatile RPG skills plugin

Server AdventureGame MechanicsMagic

17.4k downloads
67 followers
Createda year ago
Updated17 days ago

Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.
Filter loader...
Filter versions...

2.1.5

by Archy-X on Jun 30, 2024
Download

New Features

  • Add Oraxen support
    • Oraxen note blocks defined in sources will now give XP properly
    • Custom blocks can now be easily defined in sources by prefixing the block option of a block source with oraxen:
      • For example, block: oraxen:mythril_ore will automatically register the block state from Oraxen without needing to manually define a state
    • Oraxen items can be directly used in any source menu_item option using a string key prefixed with oraxen:
      • For example, menu_item: oraxen:mythril will use the exact item defined in Oraxen, including any NBT
      • This is defined as a string value directly on the menu_item key rather than the map section used for normal menu items
    • Custom loot from Oraxen blocks will drop extra items correctly with Luck traits like Mining Luck
  • Add requirement.override_global option to main config
    • If true, global requirements will be ignored if item-specific requirements are defined
  • Add mana.cooldown_timer_period option to main config
    • Increasing can help reduce lag caused by TimerCountdown for mana abilities
  • Add sql.pool options to main config
    • The new options maximum_pool_size, minimum_idle, connection_timeout, max_lifetime, and keepalive_time are used to configure the Hikari connection pool
    • These should not be changed unless you have issues with connection stability and know what you are doing

Bug Fixes

  • Fix power leaderboard not adding custom skills
  • Fix leaderboard still showing for disabled skills
  • Fix global requirements and world options not being updated on skills reload
  • Fix roman placeholders with value 0 not working
  • Fix ManaAbilityRefreshEvent being called invalidly
  • Fix hp keep_full_on_increase not working sometimes
  • Fix snow golem and mooshroom not giving XP in 1.20.5+

2.1.4

by Archy-X on Jun 19, 2024
Download

New Features

  • Add jobs income batching options to reduce economy lag
    • If jobs.income.batching.enabled is true, accumulated income will be given in an interval instead of immediately
    • The interval_ms option controls the minimum delay between when money is given
    • If display_individual is true, the boss bar will display the original individual income instead of batched

Changes

  • Optimize checking for disabled sources using cache

Bug Fixes

  • Fix XP duplication exploit with land claiming plugins
  • Fix resethealth command not working on 1.21
  • Fix modifier is already applied error with stun
  • Fix NoSuchMethodError on 1.19.4
  • Fix PlaceholderAPI not working in level up message
  • Fix negative XP gain after negative multipliers

2.1.3

by Archy-X on Jun 16, 2024
Download

New Features

  • Minecraft 1.21 support
    • Add bogged and breeze to Fighting and Archery sources
  • Add new action_bar options to main config
    • format_last - If true, parsing of MiniMessage will happen after placeholders are replaced on each send. This makes MiniMessage gradients work at the cost of performance (false by default).
    • update_async - If true, the idle action bar will be updated and sent asynchronously. This is an experimental option (false by default).

Changes

  • The option modifier.auto_convert_from_legacy is now false by default

Bug Fixes

  • Fix Lightning Blade attribute modifier not being removed
  • Fix backup debug message spam
  • Fix disabled traits not being fully disabled sometimes
  • Fix hex colors not working in level up title and chat message
  • Fix hex colors not working in action bars

2.1.2

by Archy-X on Jun 7, 2024
Download

New Features

  • Add roman and int placeholders for abilities (thanks Erik)
    • %auraskills_[ability]_roman% - Gets ability level as a Roman numeral
    • %auraskills_[ability]_value_int% - Gets ability value rounded to an integer
    • %auraskills_[ability]_value_2_int% - Gets secondary ability value rounded to an integer if it exists
    • %auraskills_mability_[ability]_roman% - Gets mana ability level as a Roman numeral
    • %auraskills_mability_[ability]_value_int% - Gets mana ability value rounded to an integer
  • Add correct_over_max_level option to main config to prevent skill levels being over max level on join (false by default)
  • Add shape option to menu fill items
    • Available values are border, top_row, bottom_row, left_column, and right_column

Changes

  • Revert unnecessary AdvancedEnchantments event ignores, fixing compatibility
  • Update German and Chinese Simplified messages

Bug Fixes

  • Fix split slimes and magma cubes not applying spawner_multiplier
  • Fix double reloading on addStatModifier (thanks Erik)
    • This fixes extra health resets with plugins like MMOItems
  • Fix Charged Shot not applying damage bonus
  • Fix NoSuchFieldError on older versions when using mana abilities
  • Fix RoseStacker spawner mobs not working with spawner_multiplier
  • Fix armor add command not accepting decimal values
  • Fix level progression total page count sometimes being wrong
  • Fix food level decreasing at full health with use_custom_delay true

2.1.1

by Archy-X on May 29, 2024
Download

New Features

  • Add auraskills.jobs.block.[skill] permission to prevent skills from being selected as jobs if set to true (ex: auraskills.jobs.block.mining)
  • Add %auraskils_jobs_active_[skill]% placeholder that returns true/false whether the job is active (ex: %auraskills_jobs_active_farming%)

Changes

  • Support property placeholders in menu placeholder conditions, such as {skill} for the skill name in certain menus
  • Slightly tweaked the jobs item lore style in the level_progression menu

Bug Fixes

  • Fix grindstone experience exploit
  • Fix NoSuchMethodError on older versions

2.1.0

by Archy-X on May 27, 2024
Download

New Features

  • Add jobs system
    • Jobs is an optional feature that allows players to select skills as jobs to earn money while gaining XP.
    • To use jobs, the jobs.enabled option must be set to true in config.yml
    • Income for all XP sources is configured under jobs.income
      • If use_xp is true, sources will give a multiple of the XP gained based on default.income_per_xp
      • If use_expression is true, sources will give XP based on the result of default.expression
        • The available variables include xp, base_xp (value without multipliers), level (skill level), power, and skill_average
      • If use_final_xp is set to false, the calculation for income_per_xp will exclude all XP multipliers
    • Job selection is configured under jobs.selection
      • Players select a skill as a job using a new item in the level progression menu of a skill (gold_ingot by default)
      • If require_selection is set to false, players will gain income for all skills and selection will be hidden
      • The default_job_limit is the maximum number of skills that can be selected as jobs at the same time
      • The limit can be changed per-player using the auraskills.jobs.limit.[number] permission node (ex: auraskills.jobs.limit.4)
      • The disable_unselected_xp option will block gaining XP in all skills that are not active jobs if set to true
    • Income can also be configured per-source inside the sources files
      • Keys can be added to both the default section or an individual source
      • The following keys can be added to a source:
        • income_per_xp - The income to give per XP gained, works the same as the value in config.yml
        • income - A fixed decimal value for the money to give
        • income_expression - An expression to calculate the income, works the same as the expression in config.yml
    • Menu files will automatically update to add the new items and components to show job selection
      • However, you must manually add a new line - component: skill_job_active to the lore of the skill template in menus/skills.yml under - component: max_level
      • Everything will still work if this line isn't manually added, players just won't see the "Active Job" displayed in the skills menu
    • New jobs commands:
      • /skills jobs add <job> [user] - Joins a specific job for yourself or a different player
      • /skills jobs remove <job> [user] - Quits a specific job for yourself or a different player
      • /skills jobs removeall [user] - Quits all jobs for yourself or a different player
      • When user is not specified, these commands use the auraskills.command.jobs permission (op by default)
      • To specify a different user, the sender must also have the auraskills.command.jobs.other permission (op by default)
    • New jobs PlaceholderAPI placeholders:
      • %auraskills_jobs_list% - Lists active jobs in a comma separated list of default skill names in all lowercase
      • %auraskills_jobs_list_formatted% - Lists active jobs in a comma separated list with the skill display name of the config default_language
      • %auraskills_jobs_count% - Gets the number of jobs the player currently has active
      • %auraskills_jobs_limit% - Gets the maximum number of jobs the player is allowed to have active at the same time
  • Add trait commands for adding trait modifiers directly to players
    • /skills trait add <player> <trait> <name> <value> [silent] [stack] - Adds a trait modifier to a player with the given name
    • /skills trait remove <player> <name> [silent] - Removes a trait modifier from a player with the given name
    • /skills trait list [player] [trait] - Lists trait modifiers of a player
    • /skills trait removeall [player] [trait] [silent] - Removes all trait modifiers from a player
    • The functionality of these commands is almost identical to the modifier commands for stat modifiers
    • These commands use the existing auraskills.command.modifier permission
  • Add item and armor trait commands for adding trait modifiers to items
    • /skills item|armor trait add <trait> <value> [lore] - Adds a trait modifier to the held item, with lore by default
    • /skills item|armor trait remove <trait> - Removes a trait modifier from the item held
    • /skills item|armor trait list - Lists all trait modifiers on the item held
    • /skills item|armor trait removeall - Removes all trait modifiers from the item held
    • Where item|armor is shown above, only item or armor should be specified, not both
    • These commands use the existing auraskills.command.item.modifier or auraskills.command.armor.modifier permissions
    • Like stat modifiers, trait modifiers use PDC and do not depend on lore to function
  • Add item ignore commands to ignore interactions on specific items
    • This allows you to disable mana abilities on custom items to allow separate right-click functionality
    • /skills item ignore add - Adds the tag that ignores the held item from mana ability interactions
    • /skills item ignore remove - Removes the tag that ignores the held item from mana ability interactions
  • Add format_title option to menus to allow disabling color and MiniMessage parsing of menu titles
    • To use, manually add it to the options section of a menu file (create it if it doesn't exist)
  • Add PlaceholderAPI support to level up chat message
  • Add %auraskills_xp_bar_[skill]% placeholder that gets the XP progress bar shown in the menus

Changes

  • Optimize menus to significantly improve performance for idle open menus
  • Change the default skills and level_progression menu files to fully use block style YAML syntax
  • The default contexts materials of the skill template in the level_progression menu now match the materials in the skills menu
  • Add symbol placeholder support to item modifier lore message
  • Automatic backups will now be skipped if the server has too many users (uses new max_users config option)
  • Add ensure_scaling_disabled option to hp trait in stats.yml to disable health scaling if the trait is disabled (true by default)
  • Update Japanese, Polish, and Chinese Simplified messages

Bug Fixes

  • Fix Bleed and Absorption particle errors on 1.20.5+
  • Fix mana add command always setting mana to max
  • Fix hex colors in ability messages not working
  • Fix added contexts sections breaking some level_progression templates
  • Fix hp action_bar_scaling not applying to menus and chat
  • Fix multiplier permissions set to false not being ignored
  • Fix Disenchanter not working when shift clicking to remove an item with a different item on the cursor
  • Fix hide_attributes flag not working in 1.20.5+
  • Fix Alchemist duration lore stacking on the same potion

API Changes

  • Add job methods to SkillsUser
  • Add Trait#getMenuDisplay to get the trait value formatted as shown in the stats menu
  • Fix MenuManager#buildMenu not working when called multiple times to extend the same menu

2.0.9

by Archy-X on May 3, 2024
Download

Note: If you are using the 15 skill legacy preset and previously updated to 2.0.8, your sources files for alchemy, agility, and enchanting may have been forcefully updated to include duplicate sources due to a bug in source updating. While this update fixes the bug going forward, you may have to manually remove sources that are duplicated with healing, endurance, and forging, respectively.

New Features

  • Add menu conditions system
    • Conditions on items are used to add requirements for viewing or clicking an item
    • View conditions will hide the item if not all conditions are met
    • View conditions are added with a view_conditions key under an item
    • Click conditions will prevent click actions or built-in click behavior from running if not all conditions are met
    • Click conditions are added using the on_click_conditions key, or for a specific button trigger like on_right_click_conditions
    • The syntax for any condition key is a map list of conditions that all must be met. This is similar to the click actions syntax.
    • Permission condition type:
      • Permission conditions check if the player has a permission
      • Uses type: permission (optional due to auto type detection)
      • Must specify a permission key for the permission node to check
      • An optional boolean value can be specified (defaults to true)
    • Placeholder condition type:
      • Placeholder conditions compare two values that can contain PlaceholderAPI placeholders
      • Uses type: placeholder (optional due to auto type detection)
      • Must specify a placeholder string key as the left side value to be compared
      • Must specify a value string key as the right side value to be compared
      • An optional compare string can be specified for the type of comparison operation to perform (defaults to equals)
        • equals checks for numerical or string equality
        • greater_than checks if placeholder is strictly greater than value
        • greater_than_or_equals checks if placeholder is greater than or equal to value
        • less_than checks if placeholder is strictly less than value
        • less_than_or_equals checks if placeholder is less than or equal to value
      • Any compare other than equals requires both placeholder and value to be evaluated to doubles
  • Add menu on_open and on_close actions for running actions when a menu is opened or closed
    • These are map lists of actions defined directly in the top-level of the menu file
    • on_close will run even if the player switches to a different menu immediately
  • Add sound menu action
    • Plays a sound for a player
    • Uses type: sound (optional due to auto type detection)
    • Must specify a sound string key as the sound type to player. This uses the vanilla names matching the /playsound command.
    • An optional category string can be specified (defaults to master)
    • An optional volume number can be specified (defaults to 1)
    • An optional pitch number can be specified (defaults to 1)
  • Add syntax to duplicate default menu items with placeholders
    • Creating a new item with a name in the format item_name(1) will replace all the display_name and lore placeholders exactly like the default item_name.
    • Any number can be used within the parenthesis
    • This is useful for duplicating default items across multiple slots with different materials and custom_model_data for resource packs
  • Add syntax for duplicating the exact same menu item easily across multiple slots
    • Specify a list of slot values with the pos key instead of a single value

Changes

  • Click action types will now be automatically detected, so specifying a type is no longer required

Bug Fixes

  • Fix duplicate source updating for legacy preset
  • Fix command actions not working without PlaceholderAPI

2.0.8

by Archy-X on May 1, 2024
Download

New Features

  • Minecraft 1.20.5 and 1.20.6 support
  • Add hide_tooltip option to items in menus/loot to completely hide the tooltip
    • Tooltips are hidden automatically for menu fill items
    • Only works on 1.20.5+

Changes

  • Various optimizations for servers with high player counts
    • Optimize BlockLeveler with cache for sources
    • Optimize multiplier permission lookup with cache using LuckPerms events
    • Optimize Treecapitator
  • Treecapitator now gives XP for all blocks broken by default
    • This can be disabled in mana_abilities.yml by setting give_xp to false
  • Update Korean messages

Bug Fixes

  • Fix hex colors in skill names not working fully in menus
  • Fix mana ability is not loaded error
  • Fix Grappler ignoring region protection

API Changes

  • Slate is now relocated in the AuraSkills jar, so if you use dev.aurelium.slate packages with the api, you should relocate them to dev.aurelium.auraskills.slate using the Gradle Shadow or Maven Shade plugin
  • Add MainConfig#getStartLevel and getHighestMaxLevel
  • Add MenuManager#registerGlobalReplacer

2.0.7

by Archy-X on Apr 20, 2024
Download

New Features

  • Add trait placeholders
    • %auraskills_trait_[trait]% gets the effective level of a trait
    • %auraskills_trait_[trait]_bonus% gets the bonus level of a trait (level excluding the base value)
    • %auraskills_trait_[trait]_menu% gets the trait in the same format displayed in the stats menu
  • Add mana ability placeholders (thanks Erik)
    • %auraskills_mability_[ability]% gets the player's mana ability level
    • %auraskills_mability_[ability]_value% gets the mana ability value
    • %auraskills_mability_[ability]_active% returns true if mana ability is active, false otherwise
  • Add MythicMobs hook to fix issues with damage (thanks Erik)
    • Add takeMana mechanic
      • Syntax: takeMana{m=number}
    • Add giveSkillXP mechanic
      • Syntax: giveSkillXP{xp=number,s=skill}
    • Add hasMana condition for MythicCrucible
      • Syntax: hasMana{m=number}
  • Add cause and excluded_cause options to entity source
    • These options can be optionally added to filter DamageCause
  • Add directly_to_inventory option to config.yml to make all bonus item drops from luck traits and loot always add directly to the player's inventory instead of being dropped in the world
    • This option does not affect vanilla item drops

Changes

  • Bleed no longer creates invulnerable damage frames
  • Add Turkish, Finnish, and Thai messages

Bug Fixes

  • Fix disabled abilities showing in level progression menu items
  • Fix hex colors in stat names not working in menus
  • Fix the WorldGuard hook not loading blocked_check_replace_regions option
  • Fix user data being reset in some cases
  • Fix block luck not applying to players in Adventure mode
  • Fix CustomSkill not showing defined messages in menus

API Changes

  • Add openMenu methods and registerContext to MenuManager
  • Add parseItem and parseMultipleItems to ItemManager, allowing parsing of ItemStack from a ConfigurationNode
  • Add passesFilter to ItemManager
  • Add loot API for accessing existing loot tables and registering new loot types
    • New loot tables can be loaded by using NamespacedRegistry#setLootDirectory
  • Add SourceManager API for getting sources of a type
  • Remove the extra repositories that were required to load the dependency in 2.0.6

2.0.6

by Archy-X on Apr 10, 2024
Download

New Features

  • Add support for custom menus
    • Create a new file in the menus folder to create a custom menu
    • Follows the same format as existing menus, though templates and components will not work
    • Supports PlaceholderAPI and click actions like existing menus
  • Add openmenu command
    • Syntax: /skills openmenu <menuName> [player] [properties] [page]
    • If player is not specified, the menu opens for the sender
    • The properties argument is a JSON string required to open some menus
      • For example, {"skill":"Skill:mining"} should be passed when opening the level_progression, abilities, sources, and leaderboard menu
    • The page argument starts at 0 for the first page
    • Requires the auraskills.command.openmenu permission (defaults to op)
  • Add ability placeholders
    • %auraskills_[ability]% gets the ability level
    • %auraskills_[ability]_value% gets the ability value
    • %auraskills_[ability]_value_2% gets the secondary value of the ability if there is one
    • Replace [ability] with the default English name of an ability in lowercase
    • AuraSkills placeholders will now show in the tab completion of /papi parse

Bug Fixes

  • Disable level up chat message for empty string
  • Fix Minecraft version parsing error on initial releases like 1.20
  • Placed saplings that grow into logs will now give XP
  • Fix track option not working in level_progression menu
  • Fix LootDropEvent Cause being unknown for some loot tables
  • Fix ProtocolLib error with Geyser players
  • Fix Terraform crash with AdvancedEnchantments

API Changes

  • Add MenuManager API to extend existing and create custom menus
    • Accessible with AuraSkillsBukkit#getMenuManager
    • Can be used to define behavior for custom items and templates in default or custom menus
    • Add NamespacedRegistry#setMenuDirectory for loading external menu files, which are automatically merged with default menu files before being loaded
  • Make TerraformBlockBreakEvent accessible in the API

2.0.5

by Archy-X on Apr 6, 2024
Download

New Features

  • Add track and use_track options to sources menu
    • Used to rearrange the source items in any way rather than just a rectangle
  • Add custom_model_data option to source item filter meta
    • To use, add it to a custom XP source item filter section for filtering a specific model data

Changes

  • Update messages and move identical messages across languages to global.yml

Bug Fixes

  • Fix Regions API errors
  • Fix hex colors not working in titles and boss bar
  • Fix trailing color codes not working in stat symbols
  • Fix user skill levels being below start_level when increased
  • Fix multiplier command displaying incorrect values
  • Fix newlines not working in reward chat messages
  • Fix Retrieval detecting tridents as arrows
  • Fix skill reset command not using config start_level
  • Fix Lightning Blade being activated by thorns
  • Fix Alchemist replacing lore and not working for custom effects
  • Fix hex colors not working in skill messages
  • Fix errors with WorldGuard 7.1

2.0.4

by Archy-X on Mar 27, 2024
Download

New Features:

  • Add xp_format and percent_format boss bar options
  • Add options to sources menu to change source template area

Changes:

  • Reduce jar size by removing unnecessary libraries
  • Update it and ru messages (regen required to get changes)

Bug Fixes:

  • Fix mana ability cooldowns not being saved when re-logging
  • Fix placeholders not working after PlaceholderAPI reload
  • Fix NoSuchMethodError on older versions
  • Fix long delay in leaderboard updating on startup
  • Fix acf section of messages file not applying
  • Fix abilities showing in menus and messages above max_level
  • Fix trait max_mana is not loaded error
  • Fix mana ability is not loaded error
  • Fix formatting not working in menu titles
  • Fix stack overflow when opening skills menu with too much XP
  • Fix mana command help not showing parameter names

2.0.3

by Archy-X on Mar 23, 2024
Download

New Features:

  • Add formula option to damage_reduction trait
  • Add scale_xp_with_health entity source option
    • This is true by default for entity sources with damage trigger
  • Add mana.enabled option to more easily disable mana

Bug Fixes:

  • Fix skills menu migration breaking
    • If you have already migrated and your skills menu is broken, delete your menus/skills.yml to let it regenerate
  • Fix permission-blocked skills increasing stat levels
  • Fix entity sources with damage trigger not scaling XP with damage
  • Fix Bleed not giving XP on entity death/damage
  • Fix disabled traits still showing in stats menu
  • Fix skill name commands not working

API Changes:

  • Add DamageXpGainEvent

2.0.2

by Archy-X on Mar 21, 2024
Download

New Features:

  • Add excluded_enchantments option for Enchanted Strength in abilities.yml
  • Add lore_wrapping_width option in config.yml

Bug Fixes:

  • Fix NPCs being unable to attack mobs
  • Fix Fleeting not being removed after heal commands
  • Fix console error when using Vault without an economy plugin

2.0.1

by Archy-X on Mar 19, 2024
Download

New Features:

  • Add formula support in money rewards

Bug Fixes:

  • Fix item modifier NBT conversion breaking items
  • Fix action_bar.enabled option not fully working
  • Fix message file headers
  • Fix rank command error

2.0.0

by Archy-X on Mar 18, 2024
Download

The 2.0 update is a complete recode of the plugin codebase, overhauling existing systems to make everything more modular and customizable. The most visible change is that the plugin has been renamed to AuraSkills.

There are too many changes to list here, so read the full release notes.

If you are migrating from Beta, you must read the migration guide, not everything will migrate automatically!

As always, please report any issues to the Discord server.

Beta 1.3.24

by Archy-X on Dec 27, 2023
Download

New Features:

  • Add support for Minecraft 1.20.4

Bug Fixes:

  • Fix revert_command executing normal command instead
  • Fix level progression menu items_per_page above 24 not working
  • Fix pierce level out of range error
  • Fix ManaAbilityActiveEvent cancellation not working

Beta 1.3.23

by Archy-X on Sep 26, 2023
Download

New Features:

  • Add support for Minecraft 1.20.2

Bug Fixes:

  • Fix bug with mana and stat modifiers

Beta 1.3.22

by Archy-X on Sep 9, 2023
Download

Bug Fixes:

  • Ensure all String case calls use ROOT locale to fix config bugs
  • Fix level progression menu bugs with non-default items_per_page
  • Fix multiplier permissions set to false being functional
  • Fix excessive health stat error
  • Fix disabled XP multiplier abilities applying in sources menu
  • Fix Archery spawner-multiplier option not working
  • Fix split slimes and magma cubes not applying spawner-multiplier
  • Fix Bleed applying when not unlocked
  • Fix XP multiplier abilities apply sometimes when not unlocked
  • Fix combined skill leaderboard placeholder not working
  • Fix empty sources menu pages with many disabled sources
  • Make source item base XP and multiplied XP rounding consistent
  • Fix Sorcery giving XP when blocked or disabled
  • Fix resethealth command not working with RCON
  • Fix MiniMessage hex color support in menus
  • Remove automatic loot file updating
  • Fix Wise Effect overflow mana when allow-over-max-mana is false

Beta 1.3.21

by Archy-X on Jun 19, 2023
Download

New Features:

  • Add reset-xp-on-death option to reset skill xp when a player dies

Bug Fixes:

  • Fix nbt in menus not working in 1.20
  • Fix Piercing ability arrows bouncing on non-lethal arrow damage

Project members

Archy-X

Owner


Technical information

License
GPL-3.0-only
Project ID