+ Added: Database backup and restore feature: /lands admin database backup/restore
+ Added: Database backup schedule in database.backup section in config.yml (by default once per day)
- Fixed: Foreign key enforcement on SQLite
- Fixed: A land or nation's inbox messages (and, more rarely, its title, area names, or role names) could grow in the database across repeated server restarts when they contained certain color formatting and slowing down the "Performing initial data load" step on startup. Affected data is cleaned up automatically on next boot. The load time will be faster once this update ran one time.
- Fixed: CMI holograms for rentable/purchasable land areas (hologram-provider: CMI, rent.holograms: true) didn't react to clicks at all - CMI only fires a hologram's click callback for lines written in its own tag syntax, and Lands holograms used plain text lines.
- Fixed: Selecting a sign for a rental/sell setup reopened the previous menu with the error shown there when the selected block was invalid, instead of sending the message to chat like a successful selection already did.
- Fixed: The hologram above a rental/sell sign spawned a full block higher than it needed to instead of starting at the sign's own height.
- Change: Make /lands or /land open the land menu again if player has land
- Improved: The permanent area actionbar message now also shows the area name.
- Fixed: The main block reposition success message is now sent to chat instead of the actionbar.
- Fixed: /trust and /untrust shortcut being routed to the nations command
- Added: /lands claim expand <amount> (also /claim expand) - expands your land's border by <amount> chunks in the direction you're currently facing, including diagonals, instead of all sides like radius does.
- Improved: Repositioning a land's main block now prompts you to click a new spot instead of just removing the block with no way back; it also now actually charges land.creation.mainblock.reposition-costs if configured.
- Fixed: A monster's harmful splash/lingering potion (e.g. a witch's) could still inflict negative effects on a player in an area where that player has the Attack Monsters flag disabled, even though the flag already promises monsters won't be able to attack them back.
- Fixed: /lands untrust <player> could throw an error (and leave the land in a partially-updated state) instead of a proper message if the target player had an area rented or bought within the land; it now blocks with a message pointing to the command to remove the tenant, same as area-scoped untrust already did.
- Fixed: /lands area <area> rental remove tenant - confirmation argument missing
- Fixed: Clicking a deposit entry in /lands eco upkeep could deposit into the wrong land (your edit land instead of the land the entry was actually for) if you own more than one land.
- Improved: Optional anonymous stats the plugin can submit for me to understand which features of the plugin are used, what i should prioritize and what isn't used that much. Can be disabled in config: anonymous-stats
It only shares information such as: database type, redis enabled?, feature x enabled etc.
- Improved: Selling a land now clears any pending rent/sale offers, and their sign, on its sub areas instead of leaving stale listings from the previous owner behind.
- Improved: Selling an area now removes its sign completely instead of turning it into a "sold" sign.
- Improved: Moved the "land owners can be trusted to other lands" option from land.invite.invite-owner to general.trust-owner (default now disabled for new installs; existing servers with it enabled are migrated automatically).
- Fixed: Land or nation inbox menu could error if the inbox message is longer than Minecrafts limit
- Added Traditional Chinese (zh-Hant) and European Portuguese (pt) locales in our Discord (/localedownload)
- Added: /lands menu [menu] and /nations menu [menu] shortcuts are back (my-lands, all-lands, land, areas, claims, level, inbox, relations, options, my-nations, all-nations, nation, lands, effects, taxes), plus an admin-only [player] [message] argument to open a menu on another player's behalf.
- Improved: PlaceholderAPI placeholders now support a general %lands_<placeholder>_args{key=value,...}% argument syntax (e.g. allowempty=true to return an empty string instead of "None" for a missing value); the older _here/_any suffixes still work but are deprecated in favor of _args{here=...}/_args{any=...}.
More info: https://wiki.incredibleplugins.com/lands/economy-and-progression/placeholderapi-placeholders
Reverted most of the command changes. Thanks for your feedback!![]()
Seems like the old command format and /lands edit command was liked more than I thought.
NOTE: Command permissions may have changed with the /lands and /nations flatten below - if you manage permissions by hand, check the wiki's updated permissions list: https://wiki.incredibleplugins.com/lands/players/getting-started/commands
- Reverted: Land and nation commands were flattened - /lands and /nations subcommands now act directly on your edit land/nation instead of requiring an explicit <land>/<nation> argument through a separate command tree; /land and /nation still work as aliases of /lands and /nations.
- Added: /trust, /untrust, and /assign top-level shortcuts, plus /lands area <area> assign (renamed from resize, auto-creates the area if it doesn't exist) and /lands area <name> create for making an empty area.
- Improved: /lands edit now also accepts lands allied with one of your own, not just lands you're a member of; bare /nations opens your nation's menu if your edit land is in one, otherwise shows help.
- Fixed: /lands trust no longer skips the "already trusted in the whole land" check when run by an admin with the edit bypass permission, and /assign no longer shows two error messages when given a nonexistent area name with no active selection.