Releases: alpine-network/alpine-core
v0.4.9
Changes to Existing API Components:
- Added player placeholder context to
ConfigItemElement
- Added
XEnchantment
translation method toLocaleHelper
- Added optional empty page item to
ElementPaginator
- Changed the ordering of teleportation framework callbacks (
TeleportHandler
now has priority) - Fixed
ConfigItem
not using transformed item in build method - Updated dependencies
- JetBrains annotations: 25.0.0 -> 26.0.1
- LocaleLib: 4.0.0 -> 4.1.0
- LiteCommands: 3.6.1 -> 3.9.1
This release contains no breaking changes to existing API components and should work with old configurations.
If you're not sure which one you need, chances are you need the shaded JAR.
Full Changelog: 0.4.8...0.4.9
v0.4.8: ConfigItem Enchantment & Potion Support
This release focused on improving ConfigItems.
Changes to Existing API Components:
- Added new
ConfigItem
attributes:potion_<potion type>: <duration> <amplifier>
enchant_<enchantment>: <level>
potion_color: <hex string>
primary_effect: <potion type>
hide_effects: <true/false>
potion_item:
type: POTION
name: '<info>Custom Potion'
lore: []
attributes:
potion_speed: 120 2
potion_strength: 60 2
primary_effect: regeneration
potion_color: f2a66d
This release contains no breaking changes to existing API components and should work with old configurations.
If you're not sure which one you need, chances are you need the shaded JAR.
Full Changelog: 0.4.7...0.4.8
v0.4.7: Cooldown Framework Updates
This release focused on improving the cooldown/warmup framework.
Changes to Existing API Components:
- Added
Cooldown#getEntity
This release contains no breaking changes to existing API components and should work with old configurations.
If you're not sure which one you need, chances are you need the shaded JAR.
Full Changelog: 0.4.6...0.4.7
v0.4.6: Cooldown Framework Updates
This release focused on improving the cooldown/warmup framework.
Changes to Existing API Components:
- JavaDocs were added to methods in
CooldownHandler
- Logic was refined for warmups
TeleportTask
callbacks are now called after being passed intoTeleportHandler
This release contains no breaking changes to existing API components and should work with old configurations.
If you're not sure which one you need, chances are you need the shaded JAR.
Full Changelog: 0.4.5...0.4.6
v0.4.5: Cooldown Framework
The main subject of this release is the addition of a cooldown/warmup framework.
New API Components:
- Cooldown Framework:
- Easily check cooldowns for entities (players, blocks, items, factions, etc)
- Warmups with variable movement threshold
- Create with
CooldownHandler
- Miscellaneous:
TeleportContext#setTicksUntilTeleport
TeleportContext#setTimeUntilTeleport
TeleportContext#setInstant
This release contains no breaking changes to existing API components and should work with old configurations.
If you're not sure which one you need, chances are you need the shaded JAR.
Full Changelog: 0.4.4...0.4.5
v0.4.4: Teleportation Updates
This release focused on improving AlpineCore's teleportation framework.
New API Components:
TeleportContext#destination(Location)
This release contains no breaking changes to existing API components and should work with old configurations.
If you're not sure which one you need, chances are you need the shaded JAR.
Full Changelog: 0.4.3...0.4.4
v0.4.3: ConfigManager Refactor
This release focused on improving the ConfigManager
.
New API Components:
ConfigManager#editConfig(AlpineConfig, Consumer)
Changes to Existing API Components:
- JavaDocs were added to methods in
ConfigManager
This release contains no breaking changes to existing API components and should work with old configurations.
If you're not sure which one you need, chances are you need the shaded JAR.
Full Changelog: 0.4.2...0.4.3
v0.4.2: PlaceholderAPI Wrapper
The main subject of this release is the addition of a PlaceholderAPI wrapper.
New API Components:
AlpinePlugin#getActivatable
Changes to Existing API Components:
PlaceholderIntegration
- Integrates with PlaceholderAPI
- Support added to
ConfigItem
&ConfigMessage
- Miscellaneous:
- Fixed
VaultIntegration
&PlaceholderIntegration
not getting registered - ConfigLib has been updated to version 4.5.0
- Fixed
This release contains no breaking changes to existing API components and should work with old configurations.
If you're not sure which one you need, chances are you need the shaded JAR.
Full Changelog: 0.4.1...0.4.2
v0.4.1
Changes to Existing API Components:
- The method
CollectionUtils#map(T[])
has been renamed toCollectionUtils#mapFromArray
. MaterialHelper.getType(id, data)
now accurately returns the correct XMaterial for legacy types.
This release contains breaking changes to existing API components.
If you're not sure which one you need, chances are you need the shaded JAR.
Full Changelog: 0.4.0...0.4.1
v0.4.0: User Interfaces
The focus of this release is on enhancing user interfaces and refining the library. Breaking changes were made to existing API components.
New API Components:
-
ItemStacks:
- ConfigItem:
- Build items with specified or variable material types.
- Utilize ConfigMessage (Adventure MiniMessage) for names and lores.
- ItemHelper:
- A collection of methods for interacting with item names and lores using Adventure Components.
createHoverComponent
method to generate a Component from an ItemStack's name and lore.
- ConfigItem:
-
User Interface:
- Advanced, configurable user-interface system.
- Powerful input handling capabilities.
- Easy element positioning in menus.
- Support for element pagination and redraw.
- Child menu support.
-
ConfigLoader:
- Manages configurations of the same type from a specified directory.
- Maintains a list of all configuration keys for easy access.
- Includes a builder for effortless creation of ConfigLoaders.
-
Locale:
- Bundled with the LocaleLib library.
LocaleHelper
for error handling and Adventure Component support.
-
Miscellaneous:
Components#wrap
method to wrap long Adventure Components.- Added
MessageType
enum with a helper method inMessaging
. - Support for Minecraft 1.20.5+.
Changes to Existing API Components:
-
AlpinePlugin:
setupDefaultVariables
method renamed tosetupVariables
.setupDefaultStyles
method renamed tosetupStyles
.setupDefaultConfiguration
method renamed tosetupAlpineConfig
.- The AlpinePlugin instance is now registered with the Bukkit event bus.
-
AlpinePluginConfig:
- Renamed from
AlpineCoreConfig
. - No longer registered with the
ConfigManager
. - Accessible via
AlpinePlugin#getAlpineConfig
.
- Renamed from
-
Miscellaneous:
Formatting#placeholders
now accepts a Supplier function type.AlpineArgumentResolver
instances are now shared between all AlpinePlugins.- Replaced Apache commons-dbcp with HikariCP.
If you're unsure which JAR to use, you likely need the shaded
JAR.
Full Changelog: GitHub Compare 0.3.6...0.4.0