
AuroraLib
Base plugin for every Aurora project. Provides common utilities and functions.
26.1.1 support
- Remove leftover warning message for number rewards
- Add CraftEngine as an item resolver
- Add CrackShot as an item resolver
- Highly improve
/aurora debug itemid <level>command - Make every type of reward a number reward (available automatically in every Aurora plugin)
- Fix some teleport error when a world is unloaded
- Fix message migrator 1.20.4 compat
- Add getLanguageProvider to AuroraAPI
- Fill placeholders in menus even if localization provider is not set
- Make slots option higher priority than default slot
Per player localization support added
https://docs.auroramc.gg/aurora/per-player-localization
messages.ymlis nowmessages_en.ymland you can create more using proper language codes likemessages_de.ymlfor german.Examples:
en-US,en-UK,en,de,sk,huIn this file, you can add a new section, namedcustom(which is already there if you do a fresh install:custom: stash-title: Item stash prev-page: '&fPrevious Page' npc: quests: <white>QuestsThese values are available in the plugin menus like item stash. You can reference them as
{{stash-title}}or{{npc.quests}}. Notice the dot (.) notation for nested structures.These are also exposed as PlaceholderAPI placeholders:
%aurora_lang_<key>%for example:%aurora_lang_npc.quests%This allows you to add per player localization to any plugin that supports PlaceholderAPI placeholders.
To enable per player localiaztion:
In your config.yml you have to:
- add the language codes you support in
supported-languages - choose your default language and set it to
localefield - set
use-per-player-localetotrue
And then you have to:
- grant the
aurora.core.user.languageto the players so they have access to the/language commandAfter all these, players will be able to use their desired language.
Notice that in
config.ymlthenumber-formatsection also have alocalevalue. That is only used when per player locale is disabled, otherwise it will use the player's selected locale.- add the language codes you support in
- Add item resolver priorities to config
- Add item resolver for KGenerators plugin using
kgenerators:generator_id - Add item interop for every supported item plugin with MythicMobs drops/equipment using
auroralib{item=namespace:item_id}, example:auroralib{item=nexo:forest_chestplate} - Expose data saving/loading latency measurements via debug command:
/aurora debug latency(should be ran after about half an hour of active player joining/leaving) - Offline players loaded through API aren't cached anymore to prevent potentional synchronization issues
- Mark blocks as player placed that are created using a builder wand from WildTools
- Extend the API of RegionExpansion to work with just locations instead of blocks
- Removed useless scheduler calls from actionbar/chat handlers
- Actionbar utility now pauses AuraSkills idle/xp actionbar just like AuraSkills does when using its ProtocolLib hook
- Add support for ItemEdit in item resolvers with syntax
itemedit:server_item_id - Add support for EvenMoreFish 2.0 in item resolvers with sytanx:
emf:rarity:fish_id - Fix very rare race condition with user data loading
- Add support for ItemEdit in item resolvers with syntax
New features
- Add
[meta] meta-key <comparator> valuecondition/requirement - Add
===for placeholder and meta requirements to check equality between actual numbers
Fixes/improvements
- Money reward (used by the other plugins) tries to fail safely if you don't actually have any economy provider
- Improve Eco item handler, to make sure it safely fails when you are using EcoArmor in ways you are not supposed to (having disabled armor pieces in your inventory)
- Fix
/stash view <player>on folia
- Add
- Hotfix CommandDisptacher Update to this if you are on 2.1.5, otherwise your close menu buttons with [close] action won't work.
Fixes
- Ignore non player entites (eg NPCs) in worldguard expansion
- Handle kelp the same way as sugar_cane, bamboo, cactus
- Fix auto save not rescheduling itself properly when there are no data to save in one cycle
- Throw on empty command in CommandDispatcher
New stuff
- Add /aurora debug blockremove to force unregister player placed block
- Builders for ItemConfig
- Add /stash view
- Skip paper plugin remapping
- Change the way permission rewards save the new permission
- Apply empty attribute map instead of iron sword default to items when HIDE_ATTRIBUTES flag is used
- Fix economy expansion not loading when Vault is not present
- Conditional lore option for items
ItemBuilder#extraLoreapi
- Ignore EntityBlockChangeEvent if the entity is not a falling block
- Backport Eco item resolver to 1.20.4
- Add tooltip-style for item config 1.21.2+
- Ignore sand fall on folia
- Remove Eco from plugin.yml since they can't fix their loading issues
- New: Items registered through
/aurora registeritem <id>now can be used both ways id -> item and item -> id - Fixes various issues with Eco plugins in item resolvers
- Compile against 1.21.4
- You can now use
item-modelon every menu/reward/etc item (required 1.21.4+)
- New: Items registered through
- Fix various item resolver issues
- Add Eco to plugin.yml as a softdepend
- Make sure eco don't hijack oraxen/itemsadder/nexo items when they are not actually eco items
- Ignore IA, Oraxen and Nexo in EcoItemsResolver
- Fix item resolver AIR with customfishing
- Improve menu Requirement APIs
- Add support for Nexo in item resolvers
- Remove placed block data 1 tick later to allow checking state in BlockItemDropEvent as well
- Add support for ExecutableBlocks in item resolvers.
Removed incomplete merchants feature that was left in by accident.
