- added full Folia server support
- fixed a small mistake in the LayoutGenerator.java: The golden carrot for your bids wasn't included in the my-ah-layout (letter 'd'). If you installed the last version of this plugin as the first one on your server, make sure to delete the layout.yml file so it can update itself.
- changed the item display system to be more robust. (updating item displays immediately on reload or when a new one is spawned; removing the item immediately when one is removed; automatically converting any old displays to the new data system; deal with displays in unloaded chunks) If you encounter any issues, please report them.
- removed task loops when opening the ah. Switched to a delayed task that keeps calling itself until no player views the inventory anymore
- when inspecting a shulker or a bundle in the cancel auction menu, it should now take you back from where you came if you go back (i.e. your auctions or the main ah)
- added more stuff to be included in the log files other than item transactions:
setting up an auction
canceling an auction
collecting an expired auction
collecting an admin expired auction
collecting an admin deleted auction
- a new log file is created when /ah reload is used; much like when the server is reloaded
- added actual item names to /ah search (for example "redstone repeater" instead of the item type which is "repeater")
- the item is now updating the time also in the cancelItemInventory
- tasks (updating items in real-time in the ah) now cancel themselves when no player is present. - In addition to when the inventory is closed (double check, because a task going on forever is fatal)
- added /ah search
- you can now have a list of aliases for /ah instead of just one
- Changed the sound system to the new NamespacedKey system for future minecraft versions
- fixed console errors for minecraft versions 1.21 and 1.21.1
- made it possible to reset the search without the need to right-click (when using geyser and bedrock version of minecraft). Just click on the paper on the left side of the anvil gui menu without typing anything
- made it possible to reset the search without the need to right-click (when using geyser and bedrock version of minecraft). Just click on the paper on the left side of the anvil gui menu without typing anything
- fixed partial selling. It broke in version 1.4.4
- added maximum bid and bin price
- fixed issue with interacting with a paper item that is on the 3rd slot on the ah (when the layout was changed)
- fixed display item names being in capital letters bruh
- restructured parts of the codebase relating to operations that have to be saved persistently
- fixed a critical bug that led you duplicate items (redacted)
- bugfix: numbers over 1b were showed as 1e9 instead of 1,000,000,000
- the ah now stays open when buying an item
- added a slightly different message as auction announcement to distinguish between BIN and BID auctions.
- fixed a small bug when updating from an old version of the plugin: it would always put the currency symbol before the number instead of copying the old setting of the config over to the messages.yml file
- fixed a typo in "ban-usage": It's supposed to be a § sign and not a $ sign.
- added PlaceholderAPI support (%auctionhouse_announcements% > "enabled" or "disabled" and %auctionhouse_active_auctions% > number of active auctions for the player)
- huge performance improvement by keeping the items that are on the ah in memory instead of deserializing them every time again
- made the item displays customizable (the tuff block, the signs and the glass)
- you can now put the currency symbol before the number in item displays
- the config.yml file now generates with comments, but only if the file doesn't exist yet
- added bundles view. Players can now look into bundles just like they can look into into shulkers
- fixed console showing an error message when reloading about the log file
- item displays are now only breakable when having the permission, being in creative mode and sneaking. A break-instruction message appears if you try to break the display while having the permission.
This update contains some huge under-the-hood changes, so if you find any new bugs, feel free to report them in the discord (if not already done so)
- added simple transaction logging [date, buyer, seller, item-name, amount, price, is-BID-auction]
- added [/ah help]
- auction master npc can't be picked up by using the
ClickVillagers plugin anymore
- NPCs can't be removed by players who are only in creative mode anymore. You also need the moderator permission to do that.
- to summon a display, the surrounding blocks must now be air
- made the item displays more customizable in messages.yml
- added %price-trim% as a placeholder in the messages.yml file if you want to display "3.2K coins" instead of "3,200 coins"
- fixed an update problem from early versions of the plugin
- fixed miniMessages not working in item lore
- the maximum collect-sold-item value isn't capped at 21474836.47 coins anymore
- you can sell items now for more than 1 billion coins
- added support for multi-language item search through Locale-API (
https://www.spigotmc.org/resources/api-locale-api.105038//api-locale-api.105038/). If installed, people can search item materials/enchantments in their own language that they have selected in their minecraft settings.
Subject to change as I noticed that the plugin isn't updated anymore
# if you want support for minecraft versions prior to 1.21.5, do not download this
Changelog:
- added
BID Auctions [/ah bid <amount>]
- minimum bin/bid price
- [/ah about]
- item_model and custom_model_data as further options to the blacklist
- you can now use %price% or %number% in the messages.yml file to specify if the currency symbol should be used in a message (please report messages I overlooked)
- the "Value with taxes: <number>" on the collect sold auction inventory now actually takes taxes into account
- optimized imports and removed unused dependencies
- made it possible to click your own items in the ah and cancel the auction that way
- restructured data files into a directory (dw, it automatically updates and moves the files)
- made the whole GUI data driven -
customizable layout (change it in layout.yml)
- [/ah test saveitemtolayout.yml] to save the item in your main hand to the file, so you can have custom items (even with
custom textures) in the auction house as buttons
- you can specify a decimal point now when you create an auction if you put a suffix like k or m: [/ah sell 1.2m]
- made all the sounds customizable in layout.yml
- the auction sort, order and BIN filter never reset, even if you close your inventory or the server reloads
- the pages number in the ah now starts from 1 and not 0
edit: the title should have been BID auctions and not BIN auctions.
- added support for
MiniMessages and Hex color coding. (adventure API) Notice that you can't have both the legacy color codes (§e) and the miniMessages (<yellow>text</yellow>) in the exact same string under messages.yml
- added auction announcements (can be disabled in the config) to send a message to all players who have it enabled when a new auction is set up (toggleable with "/ah announce")
- when an auction is sold while the player is offline and then rejoins (with auto collect enabled in the config) the player in the message in chat was the player itself and not the buyer's name; fixed that
- added a small delay to the sold message when a player joins, so the join messages comes after custom join messages
- made the color of the %price% configurable in messages.yml by moving the "currency:" option from the config.yml into there
- also moved "currency-before-number:", "format-numbers:" and "format-time-characters" from the config.yml into the messages.yml under "placeholders"
- fixed a duping glitch (how it worked: go to cancel an item, but stop on the confirmation inventory. Then another player buys that item. After that you cancel the auction and get the item too; same went for partially sold items)
- added the option to auto-collect purchased items - in the config.yml
- the arrows allowed to go to one more empty page if the first page was filled with items; fixed that
- made it possible to open a shulker box also when being in the inventory of your own auctions and int the item view inventory before the confirmation inventory
- when clicking in your inventory with the auction inventory open, the plugin doesn't think anymore that you're pressing the things in the auction
- small tweaks (like not playing a sound when clicking the arrows when the page isn't changed, adding the display-update in ticks to be customizable)
in the last version (that isn't available anymore) there was a small issue, because the plugin had a different folder called SimpleAuctions (I thought about renaming the plugin, forgot about that) where it stored all the data and it appeared as though everything was deleted from the ah
Changelog:
added a shulker box sound when viewing a shulker box in the ah
if you search for items, also shulker boxes that contain that item will be listed
made an option in config.yml to put the currency symbol before the number (it's now possible to make it $4 instead of 4$)
/ah sell <price> <amount>
added a blacklist (/ah blacklist add <contains_lore|exact|material|name_contains>)
made the item in the displays update not only when the material changes, but when anything of the displayed item is different
fixed a small typo in messages.yml (it will only update if you delete the file; then it's recreated) (npc-usage: "/ah summon npc facing <direcction>")
java.lang.NullPointerException: Cannot invoke "org.bukkit.entity.Player.hasPermission(String)" because "player" is null
at AuctionHouse-1.3.4.jar/me.elaineqheart.auctionHouse.data.Permissions.getAuctionDuration(Permissions.java:28) ~[AuctionHouse-1.3.4.jar:?]
- REMOVED BACKWARDS COMPATIBILITY to versions prior to 1.2.1. If you still have a version prior to 1.3.1, I recommend downloading that one, start your server, open the ah and then update to the newest version (currently 1.3.2)
- added a permission based system to customize the max auction slots and the auction duration to individual players. To do so, edit the new permissions.yml file.
Code (YAML):
auction-slots:
vip: 12
mvp: 15
custom.example.permission: 50
auction-duration:
vip: 60*60*72
# 72 hours = 3 days mvp: 60*60*96
# 96 hours = 4 days custom.example.permission: 60*60*24*5
# 5 days
-
added compatibility with EssentialsX (if you still have issues, feel free to contact me on my new discord server -
https://discord.gg/ePTwfDK6AY)
- made item displays immune to /teleport
- item displays are now removed when the glass dies with /kill
- added formatted numbers (1,000,000 instead of 1000000)
- added the option to change the filler item and to modify the amount of max auctions
- support for more than 21 max auctions per player (multiple pages appear then)
- added a message when a player buys your auction and a click interaction to instantly collect the money
To do: - Make all the messages customizable. That way the plugin can be translated in other languages. This will likely be the next big update (I'll have to convert all those hard coded messages in the code to linked ones, help), unless there's a critical bug in this version.
Changelog:
- made displays also immune to retracting sticky pistons (not just pistons)
- fixed that new displays would overwrite the data of previous placed ones if a display is destroyed which was placed even before that
- changed how displays are saved
- added a system to convert old displays to the new system, so you don't need to worry about it
The blocks of the item display are now undestroyable by player interactions and explosions and immovable by pistons. The item is prevented from being picked up by entities just as by hopper minecarts. I hope I didn't miss anything.