X-Prison v2025.2 – Dynamic Currency System Update
Core Changes
Removed: use_tokens_currency from prestiges.yml and ranks.yml.
Replaced with a new flexible currency setting that supports any registered currency.
Added: currency-name field in tokens.yml and gems.yml.
Allows renaming currencies to match your server theme (e.g., "Credits", "Crystals", etc.).
Added: currency configuration option to:
- autosell.yml
- ranks.yml
- prestiges.yml
This defines which currency is used per feature, giving you full control over economy design.
Adapted all core systems to support the new dynamic currency API.
API Changes
Introduced XPrisonCurrencyAPI
Allows developers to register, retrieve, and manage custom currencies via code.
Removed CurrencyType enum
Cleaned up in favor of the new XPrisonCurrency interface-based system.
Removed XPrisonGemsAPI and XPrisonTokensAPI
Deprecated and replaced by the unified XPrisonCurrencyAPI.
Benefits
Fully customizable currency names and logic
Developers can easily hook in their own currency systems
Cleaner configuration files with per-feature currency control
Stronger, more scalable core economy architecture
What's New in This Release
Supported Minecraft Versions: 1.12 → 1.21.7
Java Requirement: Java 17 or higher is required to run the plugin.
Version: 2025.1.11
Release Date: 07/17/2025
What's New:
- Small bug fixes to improve stability and consistency
- Internal code cleanup and optimization for better performance
- Updated dependency versions to ensure better compatibility between minecraft versions
Thank you for supporting X-PRISON — more exciting features coming soon!
Release Notes – 2025.1.11
For detailed information, the updated enchants.yml and all enchant configurations are available on the wiki.
- Updated all default enchant configurations to improve balance and functionality.
- Redesigned the Enchant / Disenchant GUI, now featuring separate sections for TOKENS and GEMS enchants for easier navigation.
- Added new messages and item configurations to enchants.yml to enhance customization options.
![]()
![]()
![]()
New Features
- Addon System Implementation
A modular addon system has been introduced! You can now:
- Drop .jar addons into plugins/X-Prison/addons
- Register custom enchants, features, or modules without modifying the core
- Use X-Prison-Addon-Class in MANIFEST.MF to define entry points
- Manage addon metadata like name, author, description, and version
- Easily enable/disable addons via GUI or command (GUI support in progress)
![]()
![]()
API Updates
️ Developer Notes
- Updated to Support Latest X-Prison API
- Full compatibility with the latest Spigot 1.21.7 API
- Updated internal APIs for enchants, events, and hooks
- Ensures stability with modern plugin environments
- Addons must implement XPrisonAddon interface with onEnable() and onDisable() methods.
- Include a MANIFEST.MF with X-Prison-Addon-Class and optional metadata:
propertiesCode:X-Prison-Addon-Class: dev.yourplugin.MyAddon X-Prison-Addon-Name: My Addon X-Prison-Addon-Version: 1.0 X-Prison-Addon-Author: YourName X-Prison-Addon-Description: Adds cool features
What's New in This Release
Supported Minecraft Versions: 1.12 → 1.21.7
Java Requirement: Java 17 or higher is required to run the plugin.
Version: 2025.1.9
Release Date: 07/15/2025
- Support of latest X-PrisonAPIsnapshot
- Balanced all default enchantment JSON configurations
What's New in This Release
Supported Minecraft Versions: 1.12 → 1.21.7
Java Requirement: Java 17 or higher is required to run the plugin.
Version: 2025.1.9
Release Date: 07/15/2025
- Support of latest X-PrisonAPI snapshot
- Default explosionType for explosive.json enchant is now SPHERE
What's New in This Release
Supported Minecraft Versions: 1.12 → 1.21.7
Java Requirement: Java 17 or higher is required to run the plugin.
Version: 2025.1.8
Release Date: 07/13/2025
Laser Beam Enchantment
Description:
Fires a high-powered laser in the direction you're mining, instantly breaking a line of blocks ahead.
As the enchantment level increases, the laser activates more frequently and penetrates deeper into the mine.
Perfect for clearing long tunnels and speeding up mining efficiency.
Mechanics:
Scaling:
- Triggers based on chance when breaking a block.
- Breaks multiple blocks in a straight line (based on beam length).
- Direction depends on where you're looking — horizontal or vertical.
- Benefits from fortune and auto-sell when applicable.
- Higher levels = more frequent activation.
- Beam length can scale or remain fixed depending on config.
Code:{ "class": "dev.drawethree.xprison.enchants.model.impl.LaserBeamEnchant", "id": 26, "rawName": "laser", "name": "&cLaser", "enabled": true, "increaseCostBy": 300, "maxLevel": 300, "chance": 0.0035, "initialCost": 10000, "pickaxeLevelRequired": 10, "currency": "TOKENS", "beamLength": 3, "countBlocksBroken": true, "useEvents": false, "refund": { "enabled": true, "guiSlot": 50, "percentage": 40.0 }, "gui": { "name": "&cLaser", "material": "REDSTONE", "customModelData": 0, "slot": 50, "description": [ "&7&o(( Fires a laser in your mining direction ))", "&7Becomes stronger and more frequent with levels." ] } }
![]()
