# Level Caps EX Plugin - v2.0 Update
## Update Announcement
Excited to announce the release of
Level Caps EX v2.0, addressing several important issues and improving overall functionality. This update focuses on stability and ensuring the level cap system works as intended in all gameplay scenarios.
### What's Fixed
-
PBS Compilation Error Fixed: The plugin no longer interferes with wild encounter data compilation, allowing you to set encounters with levels higher than the current level cap.
-
Battle System Improvements:
- Fixed an issue where enemy trainers would attempt to send out already defeated Pokémon, causing infinite battle loops
- Resolved inappropriate switch prompts when the player only has one Pokémon
- Improved AI decision-making for more natural trainer battles
-
Experience Item Restrictions:
- Closed a loophole that allowed players to bypass level caps using EXP Candies
- Added intelligent checking that prevents EXP Candies from pushing Pokémon over the level cap
- Improved feedback messages when attempting to use items that would exceed the level cap
### Technical Details
The update includes enhanced validation of Pokémon selection during battles and a more robust implementation of the level cap check for experience items. The PBS compilation fix uses a clever stack trace detection method to ensure maximum compatibility with various Essentials versions without modifying core compiler code.
### Installation Instructions
1.
For New Users: Download the complete package and place it in your Plugins folder.
2.
For Existing Users: Replace your current Level Caps EX files with the updated versions. No save file changes are required.
### Configuration Reminder
Remember that level caps are controlled by:
- Game Variable #40 (or your custom setting): Controls the actual level cap value
- Game Variable #41 (or your custom setting): Controls the cap behavior mode (Hard/EXP/Obedience)
### Acknowledgments
Thank you to everyone who reported issues and provided feedback. Your input has been invaluable in improving this plugin.
---
As always, if you encounter any issues or have suggestions for future improvements, please let us know!