From 72feacfdfe97f746bc9813b533b81a17250e4b00 Mon Sep 17 00:00:00 2001 From: nossr50 Date: Mon, 12 Oct 2020 13:01:53 -0700 Subject: [PATCH] update changelog --- Changelog.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Changelog.txt b/Changelog.txt index 6903c01aa..711fd34cf 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -1,15 +1,17 @@ Version 2.1.149 Added new config file 'persistent_data.yml' - Almost all persistent mob data is now off by default and needs to be turned on in persistentdata.yml (new config file) for performance concerns + Almost all persistent mob data is now off by default and needs to be turned on in persistent_data.yml (new config file) for performance concerns NOTES: - There are some performance issues with how mcMMO saves NBT when you start adding NBT to mobs, because of this I have decided that persistent data is opt-in. - Not every server will suffer from these issues, most probably will not, I am making it opt-in so only those aware of the performance risk will be using this feature. - Persistent data on mobs is a new feature that was introduced in 2.1.148, it was not in mcMMO for the last 10 years and most of you probably didn't even know that it was missing. + There are some performance issues with how Spigot/MC saves NBT when you start adding NBT to mobs, because of this I have decided that persistent data is opt-in. + Not every server will suffer from these issues, but there can be a significant cost if you turn the settings in persistent_data.yml on + I am therefor making many persistent options (the problematic ones involving mobs) opt-in so only those aware of the performance risk will be using the feature. + Persistent data on mobs is a new feature that was introduced in 2.1.148, it was not in mcMMO for the last 10 years and most of you probably didn't even know that it was missing An example of persistent data would be, normally mcMMO would give 0 XP for a mob from a mob spawner, in the last 10 years if the server rebooted then those existing mobs would give XP again. But with the persistent data option turned on in persistentdata.yml they will be saved to disk, and mcMMO will not forget about them upon reboot. For now it is not recommended to use persistent data without monitoring performance of ticks afterwards to make sure it was something your server could handle. I have a solution in mind to make persistent data not so expensive, but writing the code for that will take some time. This will serve as an interim fix. + I am going to focus on Tridents & Crossbows instead of that alternative solution, so don't expect it anytime soon. Use persistent data only if you understand the potential performance cost risk. Version 2.1.148 Fixed a memory leak involving entity metadata