Skip to content

Commit fa47ab8

Browse files
committed
zAPI 2.0.1
1 parent 47a850a commit fa47ab8

2 files changed

Lines changed: 6 additions & 49 deletions

File tree

changelog.md

Lines changed: 5 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,8 @@
1-
## Dependency Changes
2-
- [FoliaLib](https://github.com/TechnicallyCoded/FoliaLib) is now shaded into the API jar
3-
- [bStats](https://github.com/Bastian/bStats) is now shaded into the API jar
4-
51
## General Changes
6-
- Full codebase rework
7-
- Performance and stability improvements
8-
- Migrated legacy Minecraft formatting to MiniMessage
9-
- Java 17+ is now required
10-
- New YAML builder system for easier configuration management
11-
- Removed command cooldown system
12-
- New logger system with multiple log levels and MiniMessage support
13-
- Improved Folia support and compatibility
14-
- Improved version detection system
15-
- New command registration system (parameters, subcommands, tab completion, and more)
16-
- Improved PlaceholderAPI hook system
17-
- New hook registration system for easier hook management
18-
- Dropped support for Minecraft 1.18.2 and below
19-
- New external dependency management system with automatic downloads and shaded dependency handling
20-
- zAPI can now be preloaded (recommended for hooks and early-init systems)
21-
- New MathExpressionEvaluator for evaluating mathematical expressions from strings
22-
- Reworked InventoryBuilder to support advanced slot parsing (ranges, lists, math, placeholders)
23-
- Improved item loading with display conditions and per-slot placeholder resolution
24-
- Added inventory-level placeholders (%rows%, %title%, %command%) available to all items
25-
- Improved PluginYAML command instance tracking and cooldown bypass logic
26-
- Added and improved Javadoc comments across multiple classes for clarity
27-
28-
## Class Changes
29-
- `me.yleoft.zAPI.folia.FoliaRunnable` -> Replaced by FoliaLib
30-
- `me.yleoft.zAPI.utils.SchedulerUtils` -> Replaced by FoliaLib
31-
- `me.yleoft.zAPI.inventory.CustomInventory` -> `me.yleoft.zAPI.inventory.InventoryBuilder`
32-
- `me.yleoft.zAPI.managers.LanguageManager` -> `me.yleoft.zAPI.configuration.LanguageManager`
33-
- `me.yleoft.zAPI.managers.LogManager` -> `me.yleoft.zAPI.logging.LogManager`
34-
- `me.yleoft.zAPI.managers.PluginYAMLManager` -> `me.yleoft.zAPI.utility.PluginYAML`
35-
- `me.yleoft.zAPI.managers.UpdateManager` -> `me.yleoft.zAPI.update.UpdateManager`
36-
- `me.yleoft.zAPI.mutable.MutableBlockLocation` -> `me.yleoft.zAPI.location.LocationHandler.MutableBlockLocation`
37-
- `me.yleoft.zAPI.utils.ConfigUtils` -> `me.yleoft.zAPI.configuration.Path`
38-
- `me.yleoft.zAPI.utils.HeadUtils` -> `me.yleoft.zAPI.skull.HeadProvider`
39-
- `me.yleoft.zAPI.utils.InventoryUtils#cleanInventory` -> `me.yleoft.zAPI.item.NbtHandler#cleanInventory`
40-
- `me.yleoft.zAPI.utils.ItemStackUtils` -> `me.yleoft.zAPI.item.ItemBuilder`
41-
- `me.yleoft.zAPI.utils.LocationUtils` -> `me.yleoft.zAPI.location.LocationHandler`
42-
- `me.yleoft.zAPI.utils.LogUtils` -> `me.yleoft.zAPI.logging.FileLogger`
43-
- `me.yleoft.zAPI.utils.ModrinthDownloader` -> `me.yleoft.zAPI.update.ModrinthDownloader`
44-
- `me.yleoft.zAPI.utils.NbtUtils` -> `me.yleoft.zAPI.item.NbtHandler`
45-
- `me.yleoft.zAPI.utils.PlayerUtils` -> `me.yleoft.zAPI.player.PlayerHandler`
46-
- `me.yleoft.zAPI.utils.ProtocolUtils` -> `me.yleoft.zAPI.utility.Version`
47-
- `me.yleoft.zAPI.utils.SkullUtils` -> `me.yleoft.zAPI.skull.SkullBuilder`
48-
- `me.yleoft.zAPI.utils.StringUtils` -> `me.yleoft.zAPI.utility.TextFormatter`
2+
- Added [MiniPlaceholders](https://modrinth.com/plugin/miniplaceholders) support
3+
- PlaceholdersHandler now works for both MiniPlaceholders and PlaceholderAPI at the same time, allowing you to use placeholders from both plugins without any issues.
4+
- Changed the way placeholders are registered, in order to support both MiniPlaceholders and PlaceholderAPI, the placeholders are now registered in a more flexible way, allowing for better compatibility with both plugins.
5+
- Fixes for offline player getter from PlayerHandler, you can now implement a custom offline player resolver to handle offline players.
496

507

51-
**Full Changelog**: https://github.com/yL3oft/zAPI/compare/1.5.2...2.0.0
8+
**Full Changelog**: https://github.com/yL3oft/zAPI/compare/2.0.0...2.0.1

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>me.yleoft</groupId>
88
<artifactId>zAPI</artifactId>
9-
<version>2.0.1-SNAPSHOT</version>
9+
<version>2.0.1</version>
1010
<description>A library for creating Paper-based plugins.</description>
1111
<url>https://github.com/yL3oft/zAPI</url>
1212

0 commit comments

Comments
 (0)