From c770444eba0d770d4c3879686d3958937f59b19f Mon Sep 17 00:00:00 2001 From: NotMyFault Date: Tue, 27 Apr 2021 21:09:17 +0200 Subject: [PATCH] Created Changelog (markdown) --- Changelog.md | 402 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 402 insertions(+) create mode 100644 Changelog.md diff --git a/Changelog.md b/Changelog.md new file mode 100644 index 0000000..166470c --- /dev/null +++ b/Changelog.md @@ -0,0 +1,402 @@ +# v5.0.0 to 5.9.0 + +Flags: +- Completely rewritten flag system +- Improved flag database handling +- Add support for material tags/categories in flags +- Improve /plot flag info and /plot flag list +- Add flag command completion +- Rewritten wiki flag pages +- Make golems be included in animal-attack +- Fix block-ignition in merged plots +- Fix liquid-flow +- Fix untrusted-visit +- Fix fly not restoring player flight correctly +- Add a coral-dry flag +- Add a chat flag handling plot chat + +Performance: +- Prevent synchronous chunk loads throughout the plugin. This greatly reduces the impact /plot auto has on performance + +Generator: +- Make sure clearing augmented plots with full vanilla terrain does not generate walls +- Use WorldEdit to regenerate chunks in augmented plots (Warning: This is very slow!) +- Support schematics v2 (biomes, entities, etc!) +Other: +- Fix retrieval of offline player profiles in 1.15 +- Add option to have road regeneration persistent across restarts +- Add option to have /plot purge also clear the purged plots +- Make PlotSqaured events platform agnostic +- Make the PlotSquared events tidier +- Fix issue where /plot swap didn't correctly update owners +- Fix issue where /plot move didn't clear the plots +- Fix issue where /plot swap didn't correctly update the plot signs +- Improve the swapping/moving API +- Fix /plot comment (from V4) +- Fix pattern generation (from V4) +- Fix the legacy converter (from V4) +- Allow restone to be used in server plots with redstone.disable-offline enabled +- Fix biome setting (it now works in 1.13-1.15+) +- Fix issue where liquids could flow from borders/walls into plots +- Improve plot owner API +- Improve the code base internally by removing a bunch of magic values, and increasing code encapsulation +- Allow trusted users to use /plot set +- Add PAPI placeholders to PlotSquared (moved from the expansion) +- Fix issue where Bukkit world API was interacted with asynchronously, which caused PlotSquared augmented generation to fail when using recent Paper builds +- Better organisation of the code base +- Completely restructed package names +- Added option to force plot chat +- Lots of other minor changes.. + +# v5.10.0 + +* Fixed issues with update notifications +* Fixed issue with extremely slow plot clearing + +# v5.10.1 + +* Fixed updater issue caused by the Spigot API returning 5.1 not 5.10 for the version. +* Updated default config value for plot biome to match the format WorldEdit accepts, and fix incorrectly formatted existing config values. + +# v5.10.2 + +* Update notifications are now polled every 30 minutes, and only congratulates for running the latest version once. No longer polls every time a player with permissions joins when update checking is enabled either. +* Fix getting plot comments. +* Fix null errors with PlaceholderAPI. Also sure up some of the logic so that even if the player is not in a plot, relevant placeholders can still be used. + +# v5.10.4 + +* Added Paper-specific listeners (configurable) to: + - Prevent mobs from leaving the plot by wandering out + - Improve mob spawn prevention performance +* Reduce default update poll rate even more (default 6 hrs, with config option) +* LiquidFlow flag enabled will override block physics denied +* Flag names must be 64 characters or less (should allow for older Database schemas to not error) +* Plotworlds with plot + road size less than 16 will no longer cause generation issues. + +**This version also contains the following changes:** +* Add config option to disable polling after an update is found (will also no longer print updates to console). Players in-game will still receive the prompt. +* Correctly detect when a newer version is available to counter Spigot's API lag +* LiquidFlow flag is now an enum with three values: default, enabled and disabled +* Bring SpawnReasons up-to-date with what's in Spigot +* Plot expiry messages are now clickable to run commands +* Plot setup will correctly display the world type options + +# v5.10.5 + +# PlotSquared v5.10.5 + +* Fix errors during plot analysis +* Correctly display grants used and grants remaining +* Fix grants when using /plot auto +* Fix block tags (#buttons) when used in flags after restarting server +* Fix /plot merge all +* Don't send chat spy to message sender + +# v5.11.0 + +This is a larger update. It is highly recommend that you read through the linked material. Please note that the backup system is enabled by default, and will delay `/plot clear` and `/plot set ` until a snapshot has been taken of the plot. This can be disabled in the settings file. + +If you have extremely big plots (>200 blocks in width) you should probably disable automatic backups. + +**If you're going to use the backup system together with FAWE, please update to the latest FAWE build!** + +**New Features**: +* Added plot backups +* Added a `keep-inventory` flag +* Added a way to disable certain blocks from being used in `/plot set` (in settings.yml) (). By default this includes: +* Added a new wiki page for `/plot set`: +* Added command completions for `/plot set`: +* Added updated French translations + +**Fixes**: +* Fixed slime navigation bug +* Fixed potential issue with our entity combat listener +* Fixed `/plot merge auto` + +# v5.11.1 + +# PlotSquared v5.11.1 + +This update focuses a lot on the chunk processor and I have therefore updated its wiki page: . This system is quite handy if your server suffers from large tile entity counts, and now it now works properly again. + +**Additions**: +- Added the flag `prevent-creative-copy` to prevent people from copying NBT data in the plot +- Added the option to enable the tile entity check on block placement when using Paper +- Added a new bStats chart for tracking FAWE usage + +**Changes**: +- (Currently WE only - Not FAWE compatible) Updated the WE listener to correctly limit tile entitites, and make the limit apply per chunk rather than per edit +- Made `/plot set ` respect the tile entity limit +- Updated the chunk manager code +- Allow `/plot auto` from non-plot areas if the server only has one plot area +- Copy NBT data on plot move, swap, etc + +**Fixes**: +- Fixed the update notifier for the 950th time +- Fixed an issue where `/plot set ##*category` would bypass the blacklist +- Fixed an issue where the tile entity and entity limit would delete all entities in the chunk +- Fixed an issue where style.yml wouldn't update the default values +- Made `/plot setbiome` properly load chunks before updating the biome +- Made `/plot clear` empty tile entities before removing them + +**If you are using FastAsyncWorldEdit, please update to the latest FAWE build, as PlotSquared's chunk manager has changed** + +# v5.12.0 + +> Due to changes to plot components in this version, it is highly recommended to use the latest version of FastAsyncWorldEdit (If you want to use FAWE). + +## Major Changes + +### Single Plot Area + +This version makes it a lot easier to create single plots in a non-plot world, making use of the WorldEdit selection want. You can now create plots anywhere you like and leverage the power of PlotSquared in all your worlds. Read more [here](/plotsquared/installation/single-plot-area). + +--- + +### Plot Component GUI + +PlotSquared now allows you create component presets that can be used through a GUI. Read more [here](/plotsquared/installation/plot-components). + +--- + +### UUID System Remake +We have rewritten our UUID handling from scratch, and UUID to username mapping should be a lot more reliable going roward. This should be able to resolve all issues with "Unknown" plot members, owners, etc. + +When you run the usernames automatically from different sources (in the given order): +- In memory cache +- New user_data.db (SQLite cache) +- Legacy userdata.db (SQLite cache) +- Bukkit offline players / Paper profiles +- (Optional) Essentials user files +- (Optional) LuckPerms user data +- (Optional) BungeePerms user data +- Mojang API + +The first time you run PlotSquared v5.12.0 it might have to run for an extended amount of time, depending on the amount of missing UUIDs on your server. The reason it's particularly slow in this case is because Mojang enforces a very restrictive rate limit on the amount of requests we can make. When this entire process has been completed once, PlotSquared will be able to index thousands of UUIDs in a matter of seconds. + +> If you run an offline-mode server without BungeeCord, your old UUID cache may no longer be functional, which means that everyone will be listed as "Unknown" until they join the server for the first time. If this happens, please contact us on Discord so we can evaulate your particular setup and hopefully remedy the issue. + +This also means that you can add people to plots, make them owners etc, even if they have never been on the server before. + +## Other Changes + +### Features +- Added a new internal world management system. +- Added tab completion for `/plot visit`. +- Added tab completion for `/plot list`. +- Added tab completion for `/plot `. +- Added support for asynchronous tab completion (Paper only). +- Added `/plot toggle debug` which will inform plot owners and administrators when flags are changing the outcome of events + +### Changes +- Switched issue tracker. We now use [YouTrack](https://issues.intellectualsites.com/projects/ps). +- PlotSquared will now register itself in `bukkit.yml`, which should resolve issue where worlds were not recognized as plot worlds. +- Make large operations less prone to crash the server. +- Moved the cuboid operation method, this now means that FAWE can take control of operations like `/plot set`. +- Switch out the internal plot area mappings and use an [R-tree](https://en.wikipedia.org/wiki/R-tree). This will perform better when a world has a large amount of plot areas. +- Greatly improve the plot area API. +- Add a plot query API and use it internally. +- Overhauled the internals of the `/plot setup` command. It also got some tab completion e.g. for blocks. +- Made the list of command aliases that the paper command completer will act on. + +### Fixes +- Fixed issues with schematic saving ([#2836](https://github.com/IntellectualSites/PlotSquared/commit/d5d18a60fb68e95115a1f8678043e6f01a76d328)). +- Fixed an issue where plot chat was not send to actor when plot chat spy activated ([#PS-7](https://issues.intellectualsites.com/issue/PS-7)). +- As a consequence of the new UUID system, "unknown" should not be an issue anymore :smile:. +- Fixed issues where visit would bring you to the wrong player's plot. +- Fixed an issue where merging plots would generate the plot blocks on road height instead of plot height ([#PS-46](https://issues.intellectualsites.com/issue/PS-46)) +- Correct the the keep-commands sent during expiration. + +# v5.12.1 + +This version is a minor hotfix in regards to v5.12.0 + +**Changes:** +- This version fixes an issue where old player objects were not cleaned up properly. This is caused by an issue with the event order in Spigot (and Spigot derivatives). +- Issues relating commands not working have been resolved as well. + +# v5.12.2 + +This update focuses a lot on 1.16 with all its new features and enhancements. + +https://www.spigotmc.org/resources/plotsquared-v5.77506/update?update=346686 + +> **Warn:** If `/plots home` does not function, please delete your `plugins/PlotSquared/config/commands.yml` file. + +**Additions**: +- Added the placeholder `%plotsquared_currentplot_localflag_%` and `%plotsquared_currentplot_flag_%` to return flag values of plot flags. +- Added 1.16.1 support +- Added a config option to make cache expiration configurable. +- Added config option to disable background caching of uuids. +- Added a method to hook into plot clearing and modify the behavior, which allows plugins like FAWE to boost clearing speed. +- Added the ability to set flags for the plot road. You can do so in the worlds.yml. + +**Changes**: +- Lowered tab completion cache time to 15 seconds rather than 1 minute. +- Only initialise EconHandler when economy is enabled and stop accessing the static instance directly. +- Separate the Vault Permission Handling from the Economy Handling. +- Added `plots.admin.alias.remove` and `plots.admin.alias.set` permission nodes. +- `/plot visit` and `/plot home` where split up in two different commands. (You can now teleport to your 12384th plot without any issues) +- `/plot visit` and `/plot home` now have separate permission nodes: `plots.visit` and `plots.home`. + +> **Tip:** Check the new syntax: [/p home](https://wiki.intellectualsites.com/en/plotsquared/commands-and-permissions#home) and [/p visit](https://wiki.intellectualsites.com/en/plotsquared/commands-and-permissions#visit). The new placeholders are descriped at [here](https://wiki.intellectualsites.com/en/plotsquared/placeholders). + +**Fixes**: +- Fixed an issue with the OfflinePlayerUUIDService breaking when no worlds have been loaded +- Fixed an issue where numbers were sometimes parsed as usernames when they shouldn't be. +- Fixed "Not a valid plot ID" being sent twice +- Fixed "invalid player" message on /plot kick +- Fixed world border update on Plot#claim [[PS-13](https://issues.intellectualsites.com/issue/PS-13)] +- Fixed an issue with plot backups +- Fixed incorrect biome data for road intersections [[PS-50](https://issues.intellectualsites.com/issue/PS-50)] +- Fixed incorrect /plot alias tab completion + +**If you are experiencing constant rain on 1.16.1 in your plot worlds, update your SpigotMC build (or derivatives). This refers to an issue on Spigot's end [[SPIGOT-5849](https://hub.spigotmc.org/jira/browse/SPIGOT-5849)] which has been fixed by now.** + +# v5.12.3 + +**Changes:** +- Remove `commands.yml`. This will be reimplemented in version 6 + +**Fixes:** +- Fixed issue where players couldn't interact with their own plots +- Fixed issue where players couldn't teleport to merged plots +- Fixed issue where the plot expiration task wouldn't start + +# v5.12.4 + +**Fixes**: +- Fixes a bunch of issues related to dispensers and plot roads ([#2874](https://github.com/IntellectualSites/PlotSquared/pull/2874)) +- Fix the `%plotsquared_currentplot_owner%` placeholder throwing exceptions (PS-62) +- Fix kill-road-mobs (PS-73) +- Fixes issues related to pistons and plot roads ([#2875](https://github.com/IntellectualSites/PlotSquared/pull/2875) / PS-39) + +**Changes**: +- Send teleportation cancellation message immediately on movement (PS-33) +- Split failed UUID batches into individual requests rather than just throwing an IllegalArgumentException +- Made PlotPlayer#getLocation return a copy of the location + +# v5.13.0 + +**Fixes**: +- Fixed paste on top of road schematics +- Fixed `/plot target nearest` [[PS-74](https://issues.intellectualsites.com/issue/PS-74)] + +**Changes**: +- Cleaned up bukkit listeners by splitting them up into own classes. +- Removed a few old debugs. +- Fixed a few typos on the javadocs. + +**Additions**: +- Added config option `PASTE_ROAD_ON_TOP` to declare whether road schematics should be pasted differently from plot schematics. +- Added config options to enable or disable each UUID service +- Added chunk coordinator, a utility that allows for the loading and coordination of chunk actions. + The coordinator takes in collection of chunk coordinates, loads them and allows the caller to specify a sink for the loaded chunks. The coordinator will prevent the chunks from being unloaded until the sink has fully consumed the chunk. +- Added support for other placeholder API's like MVdWPlaceholderAPI. Version 3.1.1 is recommended. + +# v5.13.1 + +**Fixes**: +- Fixed the redstone flag on roads +- Fixed `misc_spawn_unowned` in the worlds.yml [[PS-81](https://issues.intellectualsites.com/issue/PS-81)] +- Fixed `use` flag when applied to the road [[PS-95](https://issues.intellectualsites.com/issue/PS-95)] +- Fixed dupe on death when using the `keep-inventory` flag. +- Fixed pve against animals on other plots and roads + +**Changes**: +- Separated `misc-spawning` from `mob-spawning` in the worlds.yml +- Removed a few old debugs. +- Fixed a few typos on the javadocs. + +**Additions**: +- Added weeping and twisted vines to the `vine-grow` flag [[#133](https://github.com/IntellectualSites/PlotSquaredSuggestions/issues/133)] +- Added german translation strings for flag descriptions +- Added Skyblock template + +# v5.13.2 + +**Fixes**: +- Fixed an issue where PlotSquared would try to convert databases created in v5 from v4 to v5, which obviously fails, because they never used v4. +- Fixed an OfflinePlayerUtil breakaged caused by NMS Changes +- Fixed an issue where visiting merged plots with multiple owners didn't work properly. +- Fixed `/plot trust` and `/plot add` not displaying a message when trying to add or trust the plot owner. +- Fixed block ignition not being denied by default [[PS-114](https://issues.intellectualsites.com/issue/PS-114)] +- Fixed signs not being generated by default + +**Additions**: +- Added 1.16.2 support. +If you want to use 1.16.2, use a WorldEdit build from here: https://builds.enginehub.org/job/worldedit?branch=master +If you are using FAWE, update your FAWE build from here: https://ci.athion.net/job/FastAsyncWorldEdit-1.16/ +- Allow teleporting to merged plots with multiple owners using `/plot home` + +# v5.13.3 + +**Fixes**: +- Fixed validations of plot aliases with offline players [[PS-126]](https://issues.intellectualsites.com/issue/PS-126) +- Fixed TileState checks on 1.13.2 [[PS-122]](https://issues.intellectualsites.com/issue/PS-122) +- Fixed default namespace not being added when wrapping block categories by their ids [[PS-131]](https://issues.intellectualsites.com/issue/PS-131) + +**Additions**: +- Added an option to opt-out of MvDWPlaceholderAPI to skip the placeholder injection. This setting is enabled by default, however, you can simply disable it if you don't use PlotSquared placeholder with FeatherBoard or don't want to use FeatherBoard's build in placeholders and simply use it with PlaceholderAPI, that works as well. +- Added a debug (`/plot toggle debug`) onto `onBlockIgnite` event notifying players to set the `block-ingition` flag when using flint and steel before cancelling the event. +- Added a debug (`/plot toggle debug`) onto `onEntityBlockForm` event notifying players if the `ice-form` flag is not set before cancelling the event. +- Don't send `notify-enter/leave` messages if vanished players visit a plot. [[PS-103]](https://issues.intellectualsites.com/issue/PS-103) + +# v5.13.4 +> # PlotSquared v5.13.4 + +**Additions**: +- Added support for 1.16.3 +You will need to update Fawe or WorldEdit when updating. +You can get the latest Fawe build here: https://www.spigotmc.org/resources/13932/update?update=360354 +You can get the latest WorldEdit build here: https://builds.enginehub.org/job/worldedit?branch=master +- Added pigstep music disc to `/plot music` + +# v5.13.5 + +**Fixes**: +- Fixed `/plot grant` + +**Additions**: +- Allow /plot home `[area|world]` + +# v5.13.6 + +**Fixes**: + - Fix inconsistency between using Paper listeners and normal Spigot listeners regarding misc entity spawning + - Prevent blocks from becoming waterlogged sometimes when at the edge of the plot (prevent road water grief) + - Allow worlds to be named with uppercase lettering + +# v5.13.8 + +**Additions**: + - 1.16.4 support has been added + You will need to update [FAWE](https://www.spigotmc.org/resources/fast-async-worldedit.13932/) or [WorldEdit](https://dev.bukkit.org/projects/worldedit/files/3100517) as well, depending on what you use. + +# v5.13.9 + +**Fixes**: + - /plot setowner none now works to remove the plot's owner + - Boats can no longer be placed on other plots by interacting with interactable blocks, fixes [PS-175](https://issues.intellectualsites.com/issue/PS-175) + - Fixed single plot worlds + - Schematics now save uncorrupted tile entities + - Fixed `/plot deny *` not teleporting everyone from the plot [PS-182](https://issues.intellectualsites.com/issue/PS-182) + - Fixed `/plot f set disable-physics` true creating floating ghost blocks [PS-159](https://issues.intellectualsites.com/issue/PS-182) + - Fixed issues with schematic x/z offset being doubled up + - Fix error when attempting to purge by owner/added + +# v5.13.10 + +**Fixes**: + - `/plot debugpaste` failing to grab Multiverse's worlds.yml properly + +# v5.13.11 + +**Additions**: +- Added a couple of new metrics to bStats. + +**Fixes**: + - Fixed [[PS-188](https://issues.intellectualsites.com/issue/PS-188)] + - Fixed `java.lang.NoSuchFieldException: mustSave` on startup when server version >= 1.13.2 + - Fixed `teleport.per-world-visit` from settings.yml \ No newline at end of file