I'm happy to announce the release of the next major IFS update: IFS 5.0.0. Quite a few things have changed, so please take the time to read the full changelog and all my notes. This is not a drop-in replacement for the previous version, it requires changes on your end.
Since this is a large update with a huge changelist a lot of you will have questions, I've now set up a Discord server for ItemFrameShops. You can join it
here.
General changelog:
- Updated to be fully compatible with 1.13, dropped support for all other older versions (I will still try to fix important bugs for the latest 4.4 release if required)
- Updated default prices for 1.13 (please provide feedback as these have not been tested at all!)
- No longer using data values for items, items will only use the id. All obtainable Minecraft items now have a unique ID
- Changed to a new configuration file for default prices that will also allow you to specify a default sell price (has not been tested much yet!)
- Added the ability to use "expressions" in this new default prices file. (see the defaults for examples)
- (Temporarily) removed feature that allows changing of shop titles since it depends on NMS code and I did not have time to update this
- Switched over to the Bukkit API to display the heart particle when selling to/buying from shops. This should now be update proof
- Removed all migration tools. Old configuration files and shop files will no longer be loaded. (applies to config.properties, and shops.properties files)
- Improved performance of various parts of the code
- Complete rewrite of price calculation code. Price calculation should now be more reliable
- Fixed pasting to HasteBin in /ifs debug command
- Stopped using Deprecated methods all over the code. Dropping support for prior versions allowed me to clean up A LOT
- Updated to newest Vault version and adapted code that was using removed APIs
- Added basic tab command completion
Are you abandoning older versions?
No. I will still fix bugs in 4.4.32 if needed. I will NOT be adding or backporting new features to these versions. I'm sorry, but it's just to much work to keep 2 parallel versions updated.
Why did you make the newest version only support 1.13?
Simply, to make it easier for me. A large part of the code was becoming more and more bloated just to keep support for older versions.
This change made it possible for me to clean up my codebase a lot and should provide better compatibility with future updates as well as better performance in general.
How about the default prices?
- Keep in mind that when first testing this new version, if a price cannot be found the default price will be returned. A message will be logged in console alerting you about this.
- I currently do not have a good reference to base my prices on since I no longer have my own server or actually play Minecraft. If people are willing to give me access to their server, I might be able to gather some statistics and come up with better default prices. Please let me know if you're willing to help and have a fairly active server. I will send you a plugin that can collect some statistics and help me to figure out good default pricing. The current pricing is purely based on guesses and wanting to get things done. It is probably very bad. If you can help me with this in any way, let me know.
- I'm thinking about a dynamic pricing feature and doing some experiments with it, but I'm not making any promises regarding this being added eventually.
A few things are still missing/not completely working in this release:
- Migration tools (converting old configs): because they simply take a lot of time for me to work on and need maintenance. If there is a lot of demand for this I will provide them later.
- Potion recipes and default prices for potions: These depend on metadata. For now, prices for potions need to be set on each individual shop.
- No custom shop inventory titles: This depends on NMS, and that's just something I don't like. Again, if there is a lot of demand for it, I will add it again.
- As mentioned before, the default prices might not be all there, and those that have been specified could be way off. Feel free to contact me and help me with this!
Things I will be adding to one of the next releases:
- Allowing you to set an extra cost for each crafting operation
- Taking into account fuel requirements for smelting recipe calculations