Repository navigation
Functional changes:
- Added German, Spanish, French and Brazilian Portuguese messages, alongside English and Polish. Choose the server language in
config.yml. - Updated
/plotwithout arguments. It opens the panel for the plot under the player when they have access. Outside a plot or on a plot they cannot access, it shows the plots they own or belong to, if any. - Other plugins can now show a player's owned plots together with their saved teleport destinations.
- Expanded the Polish and English wiki with public API guides, rank/world-limit references and updated command and configuration documentation.
- Other plugins can now add or remove plot members, change ranks and update protection settings in the background, helping prevent pauses in gameplay while changes are saved. Existing integrations remain supported.
- Improved the responsiveness of plot management permission checks used by other plugins.
Configuration and language safety:
- Added safer configuration updates with backups. Migration to configuration version 105 preserves custom settings, including nested values, empty lists,
falseand0, while adding missing defaults. It accepts both previous version 104 variants and preserves any configured flag defaults and editing permissions. Each migration attempt creates a separate backup and preserves existing backups. - Added server-wide defaults for built-in plot flags under
plots.flag-defaults. New plots save the configured defaults. Existing plots use them for flags without a saved value, and omitted keys use the built-in defaults. - Added server-wide flag editing permissions under
flags.permissions, enforced in the GUI and API. An explicitplotsx.flag.<identifier>permission takes precedence overplotsx.flag.*, with a configurable fallback. Plot role grants still apply. Administrators can configure bypass and choose whether restricted flags appear as read-only or are hidden. - Invalid configuration or language YAML is rejected before the affected file can be rewritten with defaults. A rejected configuration reload keeps the existing protection cache available.
- Preserved existing database settings, SQLite file paths, claim modes and permissions when changing the database layer. Changing the database type does not convert or transfer existing data.
- Removed H2 support. Servers using H2 must export and transfer their data to SQLite, MySQL/MariaDB or PostgreSQL before upgrading. H2 is no longer accepted by the database configuration or backup commands.
- Existing custom translations are preserved when missing entries are added.
- Existing payment journals receive query indexes automatically during schema initialization; financial records and operation identifiers are preserved.
Technical changes:
- Consolidated public documentation into the Polish and English wiki and refreshed navigation between player, administrator and developer guides.
- Added a Purpur support badge to the README.
- Moved runtime database access to SyntaxDB, which manages pooled connections, JDBC drivers and database startup/shutdown. Plot transactions, expansion purchases and teleport-point writes now use its scoped connection lifecycle. Supported runtime backends are SQLite, MySQL/MariaDB and PostgreSQL; MariaDB uses the MySQL-compatible runtime path.
- Reworked the Paper library loader with a Java bootstrap, explicit repository routing and validation of library definitions. Kotlin is loaded alongside SyntaxDB through Paper's library classloader and excluded from the plugin JAR. Build checks verify runtime packaging.
- Extended owner profile snapshots with the configured teleport block, read from cache without loading worlds or chunks. The saved coordinates do not guarantee a safe landing; normal teleportation still checks the destination.
- Routed configuration loading and reloads through SyntaxCore's versioned configuration manager, with strict YAML parsing and expanded tests for custom settings, backups and failed migrations. Logging is initialized before configuration loading.
- Updated the Gradle wrapper to 9.9.2, Kotlin to 2.5.0-RC, and shared runtime and database test dependencies. The main plugin builds against Paper API 1.20.6, while the optional native dialog adapter builds separately against Paper API 1.21.11. Adventure comes from the server.
- Configured Maven publication of the
pl.syntaxdevteam:plotsx-apiartifact and its sources for Java and Kotlin consumers. The artifact contains public contracts, and the historicalapiVersionremains2. Documented the local API boundary for external adapters in the bilingual wiki. - Updated the MariaDB, MySQL and PostgreSQL CI test services. Gradle reruns tests when configured database URLs change, and CI uploads test reports on failure.
- Added
addMemberAsync,removeMemberAsync,setMemberRoleAsync,setRolePermissionAsyncandsetFlagAsyncto the public API. Calls capture Bukkit permissions on the actor thread, validate current plot ownership/membership/grants on a worker and complete after cache publication. Existing synchronous methods remain available.getRolePermissionsis now cache-backed and callable asynchronously;canManagestill requires the actor thread but no longer reads the database. - Replaced full cache reloads after single-plot mutations with targeted publication, including successful claims, renaming, membership/role updates, ownership transfer, relocation, deletion and chunk expansion/removal. Full reloads remain available for maintenance, identity migration and recovery after an uncertain claim failure.
- Reused the spatial index when plot geometry is unchanged. The index resolves plot IDs through the current snapshot, so renamed plots, owners and teleport metadata remain current without rebuilding all geometries. Targeted updates retain unrelated immutable models and policy lists.
- Replaced full payment-history reads during purchases with queries by operation ID and indexed pending-operation checks. Added owner/state, plot/state and state/time indexes, and moved legacy-column detection outside the per-row decoder. Full history validation remains part of migration and backup workflows.
- Added flag-name and member-UUID lookup maps to immutable cache snapshots. Protection and role checks now use direct lookups while existing list-returning contracts and first-match/default-value behavior remain available.
- Routed animal protection through the existing spatial index and boundary-exit notifications through direct plot-ID lookup.
- Removed duplicate API cache reloads after membership writes and filtered owned/accessible plot models before creating public snapshots. Added worker-based API writes with current-state authorization checks, shutdown completion and actor-scheduled flag notifications.
- Limited chunk-removal reads to the affected plot, including its geometry, instead of loading every plot. Payment land validation also limits its initial plot lookup to the operation's plot.
- Added regression coverage for targeted publication, immutable policy indexes, current-state authorization, async shutdown/failure behavior, journal lookups with a long terminal history and isolated chunk removal. Added an opt-in cache-publication benchmark without timing thresholds in CI.
Bug fixes:
- Fixed item frame protection. Changes to an item frame on a plot now respect the
decorationsflag and notify players when their action is blocked. - Fixed plugin startup failures caused by conflicting Kotlin libraries when loading the database layer. PlotsX and SyntaxDB now share the same Kotlin runtime.
Other changes
- Use SyntaxCore ConfigManager for PlotsX startup and reload by @WieszczY85 in #29
- API: zapisany punkt TP w profilu działki MoonVale by @WieszczY85 in #30
- Fix Kotlin classloader conflict with SyntaxDB on Paper by @WieszczY85 in #31
- Define portal-independent domain API boundaries by @WieszczY85 in #32
- Update mysql Docker tag to v26 by @renovate[bot] in #35
- Update mariadb Docker tag to v13 by @renovate[bot] in #34
- Update dependency org.mariadb.jdbc:mariadb-java-client to v4 by @renovate[bot] in #33
- chore(deps): update postgres docker tag to v19 by @renovate[bot] in #38
Full Changelog: v1.0.0...v1.1.0