Skip to content

Releases: Tradeshop/TradeShop

tradeshop-2.5.1-DEV-2022-03-27T01.41.18

27 Mar 01:49
Compare
Choose a tag to compare
Pre-release

Notes

  • There were major changes to the way we find items in inventories, as such make sure your servers are backed-up before upgrading.
  • This is a Dev Version with an expiration date, make sure to update to a newer Dev version/Stable version ASAP.

Changelog

Known Issues

  • None

New Features

  • None

Changes

  • Re-Write for inventory item searching to make more robust and allow for better output when multiple items are missing.

Bug Fixes

  • Fix for bugs involving shops with multiple costs/products(Reported by 英検5級#0181 and Vandon#2846 on Discord)

Minor Changes/Reformatting

  • None

tradeshop-2.5.0-DEV-2022-01-22T21.32.31

22 Jan 21:35
Compare
Choose a tag to compare
Pre-release

Notes

  • Due to large changes in the way config and messages are read, please backup these files before updating. (Renaming them in the folder is sufficient)

Changelog

Known Issues

  • None

New Features

  • None

Changes

  • None

Bug Fixes

  • Fix for config not loading properly after initial creation
  • Fix for NPE when an involved shop was not properly removed from the player

Minor Changes/Reformatting

  • None

tradeshop-2.5.0-DEV-2022-01-11T03.37.51

11 Jan 03:40
Compare
Choose a tag to compare
Pre-release

Notes

  • Due to large changes in the way config and messages are read, please backup these files before updating. (Renaming them in the folder is sufficient)

Changelog

Known Issues

  • None

New Features

  • None

Changes

  • Fix for startup error on Windows machines due to Lang files not being loaded properly

Bug Fixes

  • None

Minor Changes/Reformatting

  • None

tradeshop-2.5.0-DEV-2022-01-10T02.39.03

10 Jan 02:44
Compare
Choose a tag to compare
Pre-release

Notes

  • Due to large changes in the way config and messages are read, please backup these files before updating. (Renaming them in the folder is sufficient)

Changelog

Known Issues

  • None

New Features

  • None

Changes

  • Changed Message variable replacement to process sent/uppercase/lowercase of the string sent
  • Added fix for old messages files replacing { and } with % for variable
  • Added Variable enum to prevent hand type variables(noticed there were 2 different formats in the message file)
  • Properly added Linkage file management

Bug Fixes

  • Fixed Players with the preventTrade permission seeing the message on any block break
  • Fixed OP players not being able to trade due to having the preventTrade permission
  • Fixed item names with hex codes not being displayed on signs, no color formatting from item names will appear on signs or messages
  • Fixed bug in addcost item stacking that caused the stacked amount to be added without the original item being removed
  • Fixed formatting error in en-us.yml that prevented plugin enable
  • Fixed Config manager not replacing empty values with defaults in Messages and config

Minor Changes/Reformatting

  • Separated JsonConfiguration for better readability

tradeshop-2.5.0-DEV-2022-01-09T01.06.36

09 Jan 01:15
Compare
Choose a tag to compare
Pre-release

Notes

  • Due to large changes in the way config and messages are read, please backup these files before updating. (Renaming them in the folder is sufficient)

Changelog

Known Issues

  • None

New Features

  • Built-In Language support has been added. No new languages will be added for now, but servers should change the language setting in messages so that we can see what languages may have demand

Changes

  • Made TOO_MANY_ITEMS message clearer
  • Unified Setting and Message so less code was repeated
  • Buffed up file saving for Message and Setting
  • Added Metrics for new LANGUAGE setting

Bug Fixes

  • Fixed bug in Data storage that caused chest-linkage files to be wiped on every launch/reload
  • Fixed "bug" where both sides of a shops double chest were not added to the chest linkage map
  • Fixed Bug causing a Shops chest to be unlinked if the other half of a double chest was destroyed
  • Fixed potential bug in Utils#findShopSign, the sign is now found in the same direction order as the sign would find the chest but with each direction flipped instead of the whole list flipped(could grab a different data from shop->chest vs chest->shop)

Minor Changes/Reformatting

  • Changed over some legacy code that had not been updated to newer methods

tradeshop-2.5.0-DEV-2022-01-04T03.06.26

04 Jan 03:07
Compare
Choose a tag to compare
Pre-release

Known Issues

  • None

New Features

  • Expiration of DEV versions; 1 Month after DEV version build date you will start getting notification messages, and after 2 months the plugin will disable itself after 24-hours of run-time. This ONLY affect version tagged as DEV, all other versions will function normally.

Changes

  • Changed widening text from starting with @ to start/end $/^ i.e $dye^
  • Removed old Utils#log method
  • Added additional metrics including the number of trades that occur, amount of shops on the server, and some Config values

Bug Fixes

  • Fixed Colour widening not working as expected
  • Fixed Potential bug in DataStorage#getShopCountInWorld where worlds(like the nether and end) that exist without shops would throw null if checked
  • Fixed bad array count in ShopChunk#deserialize

Minor Changes/Reformatting

  • Import cleanup(mostly wildcard removal)
  • Re-organization of some new files
  • Re-organized Debug Modes

tradeshop-2.5.0-DEV-2022-01-01T04.33.04

01 Jan 04:34
Compare
Choose a tag to compare
Pre-release

Known Issues

  • None

New Features

  • New Prevent Trade permission as requested in #117
  • Improved Illegal Items System as requested and over-viewed in #115
  • New Color Widening feature for Illegal Items allowing any colored item with multiple Materials(i.e. Shulker Boxes) to have all color options of the item be added, see below for options
  • Current Widened items are(prefix with @ to use): banner, candle, carpet, concrete, concrete_powder, dye, glazed_terracotta, shulker_box, stained_glass, stained_glass_pane, terracotta, and wool
  • Added Unlimited Admin setting as requested in #114 This setting is not recommended as it gives admins more control over shops then is necessary

Changes

  • Changed default color of NO_COMMAND_PERMISSION message to &c(light red) from &a(light green)
  • Config updated to V.1.2, illegal-items section automatically converted to new Illegal items config sections, Backup of old config file is recommended
  • Adjusted the Material Tab List to not show Materials that are not allowed via the Global Illegal Items, if an item is instead blocked by both Cost and Product Illegal lists then it will still show.
  • Air, Void_Air, and Cave_Air are automatically added to the global blacklist or removed from global whitelist
  • Added TradeItemType to Method parameters that check for Illegal items

Bug Fixes

  • Better back-end management of nested Config groups in Settings(if a group only contained other groups and not individual settings it wasn't created)
  • Moved reload of the ListManager to be after Setting sho that list Settings are properly reloaded.

Minor Changes/Reformatting

  • Added Pre and Post comments to config sections
  • Improved Spacing generation(especially with multi-line Pre-Comments)
  • Added some comments to the Config Generation method in Setting so its easier to figure out
  • Cleaned up some unnecessary checks and repeated code in Setting/SettingSectionKeys
  • Added missing param for JavaDocs on Shop#updateCost and Shop#updateProduct

2.4.0-DEV-2021-11-24T01.44.00

24 Nov 01:45
Compare
Choose a tag to compare
Pre-release

Known Issues

  • None

New Features

  • None

Changes

  • None

Bug Fixes

  • Fix NPE error from getAmount in ShopItemStack

Minor Changes/Reformatting

  • None

2.4.0-DEV-2021-11-22T20.51.06

22 Nov 20:52
Compare
Choose a tag to compare
Pre-release

Known Issues

  • None

New Features

  • None

Changes

  • None

Bug Fixes

  • Fix NPE error from clone in ShopItemStack

Minor Changes/Reformatting

  • Removed temporary debug code that was missed

2.4.0-DEV-2021-11-22T03.12.02

22 Nov 03:16
Compare
Choose a tag to compare
Pre-release

Known Issues

  • None

New Features

  • None

Changes

  • Added new Setting to fix bad message on successful Cost-less iTrades

Bug Fixes

  • Fixed Sign Attached Block protection protecting every block around a shop instead of just the one the sign is attached to
  • Fixed item loss when trading on iTrade shops and overfilling a stack in players inventory
  • Fixed Trade Multiplier not working on iTrade Shops

Minor Changes/Reformatting

  • Minor code cleanup