Polymart is now Voxel Shop! We're upgrading many features of the site, and during this open beta you will experience occasional bugs. Learn more
Apartment, Mechanic, Fun, Plugin, Spigot
Added:
- Tax Calculation Method feature: Admins can now choose between "price-based" or "income-based" taxation.
- `tax-calculation-method` option in config.yml to determine the tax calculation basis.
- `lastGeneratedIncome` tracking system per apartment to keep tax proportional to the latest earnings.
- Automatic fallback to price-based taxation if an apartment has not generated any income yet.
- Automated Update Checker mechanism integrated with Cloudflare Workers & Supabase.
- Join notifications for administrators when a new plugin version is detected.
- Latest update status and download links displayed in the `/ac version` command output.
- Automatic pruning mechanism for old paid tax invoices (`paidAt > 0`) after 30 days.
Changed:
- Updated config-version from 4 to 5.
- Updated plugin version from 1.3.8 to 1.3.9.
- Optimized tax calculation logic in Apartment.java to prevent imbalances (tax > income).
- Cloudflare Worker now supports the `/api/version` endpoint for plugin metadata.
- Improved "Net Income" display accuracy in Statistics GUIs according to the active tax method.
- Adjusted Tax Overview information in Tax Management GUI to reflect the active calculation basis (income-based / price-based).
- Set Display Name input mechanism in ApartmentDetailsGUI now uses an interactive chat prompt instead of raw chat instructions.
- Solar Panel shop buff effects (tax reduction) are now visible directly in the TaxManagementGUI (Overview, Apartment Tax Info, and Invoice Details).
Click here to view the change log for all plugin versions
Added:
- license and plugin edition information on "/ac version"
- license status and edition check report on "/ac admin reload" (English)
- Introduced dual-edition build system using Maven profiles: Free (default) and Pro.
- Build Free: `mvn clean package`
- Build Pro: `mvn clean package -Pedition-pro`
- Output: `ApartmentCore-Free-1.3.8.jar` / `ApartmentCore-Pro-1.3.8.jar`
- Added Edition enum, EditionManager, and LicenseManager classes under `com.aithor.apartmentcore.edition` package.
- Added `edition` field to plugin.yml, injected at build time via Maven resource filtering.
- Added license validation system for Pro edition using Cloudflare Workers + Supabase (free infrastructure).
- Async validation on startup, 7-day offline grace period, SHA-256 hashed local cache.
- Added Cloudflare Worker license API code (`infrastructure/cloudflare-worker/`).
- Added Supabase database schema for license management (`infrastructure/supabase/schema.sql`).
- Added `license.key` configuration field in config.yml for Pro edition.
- Added Indonesian documentation for edition comparison, license installation, and testing guides (`docs/`).
Free Edition Limits:
- Maximum 20 apartments can be registered on the server.
- Maximum apartment level capped at 5.
- Research system available with hardcoded values (cost, duration, effect).
- Research configuration file (research.yml) is not loaded or generated in Free edition.
- Shop, achievement, and custom GUI config files not exported to disk (bundled defaults used).
- Logging and backup features disabled.
Pro Edition Features:
- Unlimited apartment creation.
- Unlimited apartment levels (configurable in config.yml).
- Customizable research system via research.yml.
- Customizable shop system via shop.yml.
- Customizable achievement system via achievements.yml.
- Customizable GUI via custom_gui/main_menu.yml.
- Full logging features (transaction and admin action logs).
- Full backup features (auto-backup and manual backup commands).
Changed:
- Updated splash banner (SplashArt) to display edition info and module availability per edition.
- Updated plugin version from 1.3.7 to 1.3.8.
- Updated config-version from 3 to 4.
- Config files (shop.yml, achievements.yml, custom_gui/main_menu.yml, research.yml) now load from bundled resources (or hardcoded defaults for research.yml) in Free edition instead of being exported to the plugin data folder.
- Updated research system to be visible and functional in Free edition but configuration is restricted to Pro.
- Moved apartment levels configuration from "config.yml" to a new dedicated "levels.yml" file for better organization.
- Core features (Income Generation, Tax System, Teleportation) are now always enabled and non-toggleable. Corresponding configuration toggles have been removed from config.yml.
- adjust config.yml with the latest update, make it cleaner and easier to configure
Features:
- Added ability for admins to customize min/max income per level for each individual apartment.
- Custom incomes are now natively saved and loaded from `data/apartments.yml`, overriding default `config.yml` values.
- Creating an apartment now automatically initializes these custom income fields with default values from config for easy editing.
- Updated all GUI menus (Browser, Details, Statistics, Auction House, Upgrades) to read from and display the specific custom min/max income for each apartment.
- Admin reload command (`/apartmentcore admin reload`) now automatically reloads and applies edited custom income configurations directly from `apartments.yml` into memory.
- Added new `floor` and `height` properties to Apartment data model.
- Updated `/apartmentcore admin create` command to optionally accept `floor` and `height` properties.
- Extended My Apartments, Details, Statistics, Browser, and Auction House GUIs to display `floor` and `height` properties.
- Added `/apartmentcore admin set teleport <apartment_id>` command to change the teleport coordinates of an apartment.
- Fixed an issue where the `%player%` placeholder was not readable in console commands within custom GUI menus.
- Added comprehensive support for placeholders in custom GUI commands, including internal placeholders (`%player%`, `%player_name%`, `{player}`, `{player_name}`) and full PlaceholderAPI integration.
- Improved command parsing in `main_menu.yml` to resolve all placeholders before execution.
- Added `[op]` command prefix to execute commands with temporary administrative privileges.
- Added custom icon feature: owners can change their apartment's material icon in GUIs by clicking "Change Icon" button in Apartment Details menu and entering a material name in chat.