- Added: Developers can read, send, accept and deny membership requests through the API and react to new events when a request is sent, denied or taken back.
- Added: Developers can ban players, deposit into and withdraw from land banks, leave lands and nations, remove lands from nations, set the capital and the vassal tax and declare independence wars through the API, with the same checks as the commands.
- Improved: A definitions_gui.yml in the Locale folder is used automatically, without enabling definitions-file in config.yml first. Handy for custom GUI files with item models.
- Fixed: Slots and items set in definitions_gui.yml were ignored if the language GUI files already contained them.
9.3.0
- Added: Developers can manage sub areas, invites, relations, wars and war shields through the API, with the same checks as the commands, and react to new events for areas, roles, flags, relations and war shields.
- Added: /nations admin nation all shield set and modify change the war shield of all nations. /lands admin land all shield set only changes lands now.
- Improved: For developers: everything deprecated in the API was removed. The wiki page Developers > Update lists what to use instead.
- Improved: Some messages moved to the path of their command in the language files, nations have their own relation and war messages, and admin messages can be translated. Updated locale files are available on Discord (/localdownload)
- Improved: In events.yml, LandCreateEvent, PlayerSpawnLandEvent and LevelChangedEvent are renamed on the first start. Commands under the last two didn't run before and do now. WarDeclareEvent also runs when a mutual declaration is accepted (use !war_accept to skip those).
- Improved: Each player is told about a change to a land, nation or war only once, and accepting a relation request tells you whether it worked.
- Fixed: Some messages showed "Message not found", color tags as text, [CLICK] in menus or the server's language instead of the player's.
- Fixed: Explosions of TNT and end crystals set off by players ignored the protection of lands.
- Fixed: Some smaller bugs of commands, menus and admin commands, such as /lands admin database migrate (in this case cosmetic) and the war declaration menus.
9.2.1
- Fixed: Players who may use blocks but not harvest in a land could right-click its ripe sweet berry bushes and glow berries over and over. The berries stayed, but job plugins such as Jobs Reborn paid them every time.
- Improved: Commands that need a confirmation ask in a dialog on servers and clients that support it.
- Improved: A selection started with the selection tool ends when you switch to another item.
- Fixed: /lands admin land addrole didn't show its warning about duplicate roles.
- Improved: Land expiration was reworked a lot, based on feedback from servers. For example you can now automatically list expired lands as purchasable by other players, admin commands to view about to expiring lands (/lands admin expiration). The options changed, so please review the land.expiration section in config.yml and configure it again.
It is NOT turned on automatically for servers that update. If you used expiration before, it only runs in preview after the update: it logs what would happen, but doesn't change any land until you set land.expiration.status to active. If you didn't use it, it stays off.
- Improved: Land and nation levels were reworked. Lands and nations now level up with a button in the level menu once all requirements of the next level are met, and pay the level's cost from their bank once. Nations pay from the bank of their capital. Levels are never lost anymore.
Your levels.yml is converted on the first start, and the old file is saved as levels.yml.pre-9.0. Requirements to hold money in the bank become the level's cost. Rewards of all reached levels now add up, so each level's rewards are converted to the difference from the level below. Commands for losing a level are removed and listed in the server log.
Existing lands and nations keep their level. Nobody is charged, and the level commands don't run again.
Only players trusted in the whole land count for levels. Tenants, temporary members and players trusted only in a sub area don't count.
On servers that update, the new level features start turned off, so you decide which ones to use. Your levels get none of the new requirements and rewards, the farm multipliers are off, and lands count for their nation right away. The old nation "lands" attribute, which never did anything, is removed so nations don't suddenly get more lands.
- Important: Update UpgradeableHoppers, UpgradeableSpawners and BetterFarming together with Lands, since older versions don't work with the new levels. All servers of a network must update at the same time and use the same levels.yml.
Changed:
- Unbanning a player who isn't banned now says so.
- Areas used for KotH can't be deleted.
- The land and nation create menus remember the name you typed.
- Two unused permissions were removed: lands.admin.land_delete and lands.admin.land_setowner.
- The selection tool no longer blocks dropping items, your inventory or chat. Dropping the tool sets a corner where you stand.
- Blacklisted commands are also blocked when typed with a plugin prefix, like /essentials:sethome.
Fixed:
- Nation role flags changed in the menu are saved for every land of the nation, not only the capital.
- Players aren't charged when another plugin blocks setting a spawn.
- Bank commands work from the console.
- Removing an ally always gives an answer.
- Deleting a role by name explains why it was denied.
- Signs, waxing signs and double chests are checked properly.
- Bone meal growth into the wilderness follows the wilderness rules.
- Pistons pulling back next to the wilderness aren't destroyed anymore.
- Mobs can knock players back in lands where entity griefing is off.
+ Improved: Removing a player from the whole land only cancels their invites to areas you manage.
+ Improved: Addons are told exactly which areas a player was removed from, banned or unbanned in, when a command for the whole land skipped some areas.
+ Improved: An area description can be "all" again.
+ Improved: "all" replaces "*" in admin commands (/lands admin land all ..., /lands admin chatspy all). Lands, nations, areas and roles can't be named "all" anymore, tags still can.
+ Fixed: Setting a role for the whole land could stop halfway when the player wasn't trusted in every area, and could replace the role of a tenant.
+ Fixed: The "whole land" buttons in some area member messages ran the area command again or didn't work.
+ Fixed: Areas with a space in their name, including the default area in French, Russian, Bulgarian, Ukrainian and Vietnamese, can be used in commands now. Type the name without spaces, e.g. Pardéfaut.
+ Fixed: Vassal lands kept their nation's war after it ended, which could stop the nation from starting another war.
+ Improved: Random teleport keeps a configurable distance from claims, spreads players out more evenly, checks the destination before the countdown starts, respects the world border and now also works in the nether and the end. Its settings moved to Modules/RandomTeleport/rtp.yml.