Commit Graph

299 Commits (master)

Author SHA1 Message Date
blablubbabc d6aef5193d Prepared next version. 2020-11-03 22:38:41 +01:00
blablubbabc a72b1bf657 Version 2.12.0
Updated for MC 1.16.4.
2020-11-03 22:37:52 +01:00
blablubbabc df9eea3516 Prepared working on the next version. 2020-08-13 02:49:49 +02:00
blablubbabc 0b768d9ed0 Version 2.11.0 2020-08-13 02:47:39 +02:00
blablubbabc d370b6251a Update for MC 1.16.2.
Config: Added piglin brute to the by default enabled mob types.
2020-08-13 02:46:56 +02:00
blablubbabc 989a17106d The next version will be 2.11.0. 2020-07-22 01:42:06 +02:00
blablubbabc eeb5cce752 Prepared working on the next version. 2020-06-27 00:20:40 +02:00
blablubbabc d3771a7042 Version 2.10.0 2020-06-26 23:56:02 +02:00
blablubbabc 186711941b Update for MC 1.16.1
* Bumped version to 2.10.0-SNAPSHOT.
* Added zombified piglin, piglin, hoglin, zoglin and strider to the by default enabled mob types. If you are updating, you will have to manually add these to your config's 'enabled-living-shops' setting.
* During my quick initial testing I did not encounter any major issues with these new mobs, but there are some oddities you might want to be aware of:
  * We don't support changing the baby property of piglin and zoglin shopkeepers yet. However, we at least ensure that they always spawn as adult.
  * The zombified piglin, hoglin and strider already support changing the baby property.
  * The strider constantly shakes when being spawned outside the nether and randomly spawns with saddle.
* The pig zombie mob type has been removed from the by default enabled mob types. If you are updating to MC 1.16, it will get automatically removed from your config. To prevent your config from losing its comments and formatting during this small migration, consider manually removing this mob type before your update.
* If you are updating to MC 1.16, your pig zombie shopkeepers get automatically converted to zombified pigman shopkeepers.
* Internal: Any internal references to the pig zombie mob type have been removed to prevent any kind of binary problems to arise.

Other changes:
* Improved/Fixed: Some mobs randomly spawn with passengers. We remove those passengers now.
2020-06-26 13:01:42 +02:00
blablubbabc a0744056b5 Prepared working on the next version. 2020-04-12 20:06:01 +02:00
blablubbabc 44ea159c25 Version 2.9.3 2020-04-12 20:04:42 +02:00
blablubbabc 18e7499576 Prepared working on the next version. 2020-03-05 19:34:11 +01:00
blablubbabc d412e5cc3d Version 2.9.2 2020-03-04 23:58:02 +01:00
blablubbabc 6ac12dc7d0 Prepared working on next version. 2020-01-22 22:10:29 +01:00
blablubbabc dc59e6fab8 Version 2.9.1 2020-01-22 22:07:02 +01:00
blablubbabc 7988e5273e Bumped CraftBukkit dependency for MC 1.15 to 1.15.2. 2020-01-22 00:11:01 +01:00
blablubbabc b984971732 Replaced the NMS call for setting the CanJoinRaid property on MC 1.15.x
with a corresponding Bukkit API call.

This only works on the very latest versions of MC 1.15.1 and upwards.
2020-01-15 22:49:44 +01:00
blablubbabc 5fefef4079 Prepared working on the next version. 2019-12-28 07:37:45 +01:00
blablubbabc 94b3784497 Version 2.9.0 2019-12-28 07:16:41 +01:00
blablubbabc 1bf09f11b6 Fixed: Raider shopkeeper mobs were able to join and thereby interfere with nearby raids.
This should no longer be the case.
2019-12-28 05:48:22 +01:00
blablubbabc 5b99037944 Update for Minecraft 1.15.1
Added bees to the by default enabled mob types.
If you are migrating from a previous version, you will have to manually enable them in the config.
2019-12-27 05:29:44 +01:00
blablubbabc d1a10563e6 Added support for Spigot specific text features (not used yet).
Those will only be available when run on a Spigot-based server.

Other changes:
* Added a few new utility methods to TextUtils.
* Slightly changed how TextUtils#getPlayerString deals with a missing player name.
* Made CollectionUtils#getIdealHashMapCapacity public.
2019-11-11 18:26:21 +01:00
blablubbabc aad85f15a3 The next version will be 2.9.0. 2019-11-08 15:10:57 +01:00
blablubbabc 19cd2aa831 Misc. 2019-10-17 21:07:50 +02:00
blablubbabc 58f3f7af31 bstats gets shaded into the package '[..].libs.bstats' now. 2019-10-17 16:04:48 +02:00
blablubbabc b028dac087 Prepared working on the next version. 2019-08-23 17:01:11 +02:00
blablubbabc 5b50dfc18c Version 2.8.1 2019-08-23 16:54:47 +02:00
blablubbabc e69f57c3d1 Prepared working on the next version. 2019-08-22 00:23:14 +02:00
blablubbabc d38c02a0f2 Version 2.8.0 2019-08-22 00:10:04 +02:00
blablubbabc 2a197e439e Trying to solve some issue Eclipse is having with our 'unconventional'
maven project structure by also compiling the source code at the root
project.
2019-08-19 23:14:34 +02:00
blablubbabc 37b68085f8 Changed how items are getting defined in the config.
Internally this new format uses Bukkit's item serialization for parsing
the item data, which allows it to support the specification of arbitrary
item data and hopefully not require any major updating/maintenance for
future minecraft versions. At the same time it tries to stay (slightly)
more user-friendly than Bukkit's item serialization by omitting any data
that can be restored by the plugin, by avoiding one level of nesting
between the item type and item data, by translating ampersand ('&')
color codes in display name and lore, and by offering a compact
representation for specifying an item only by its type.

This change also allows a more detailed specification of some of the
editor button items. However, many editor buttons still miss
corresponding config settings. Also keep in mind that the display name
and lore for these button items get specified via corresponding message
settings, so any specified item display name and lore will get replaced
by that.

When checking if an in-game item matches the item data specified in the
config, only the specified data gets compared. So this does not check
for item data equality, but instead the checked item is able to contain
additional data but still get matched (like before, but previously this
was limited to checking display name and lore).

The previous item data gets automatically migrated to the new format
(config version 2).

Other changes:
* Internal: Moved config migrations into a separate package.
* Internal: Moved some function(s) into ConfigUtils.
* Internal: Slightly changed how the plugin checks whether the high
currency is enabled.
* Internal: Avoiding ItemStack#hasItemMeta calls before getting an
item's ItemMeta, since this might be heavier than simply getting the
ItemMeta directly and performing only the relevant checks on that.
Internally ItemStack#hasItemMeta checks emptiness for all item
attributes and might (for CraftItemStacks) even first copy all the
item's data into a new ItemMeta object. And even if the item actually
has no data (Bukkit ItemStack with null ItemMeta), ItemStack#getItemMeta
will simply create a new empty ItemMeta object without having to copy
any data, so this is still a similarly lightweight operation anyways.
* Internal: Added ItemData tests. Unfortunately this requires
CraftBukkit as test dependency.
2019-08-18 04:51:49 +02:00
blablubbabc 490ceb42fb Bumped Bukkit dependency from 1.14.3 to 1.14.4. 2019-08-17 09:03:16 +02:00
blablubbabc 3e888f4d56 Added a test to ensure consistency between ShopkeepersPlugin and
ShopkeepersAPI.

Adjusted Eclipse classpath to make tests work. There seems to be
something off with the maven setup for the individual child modules
though.
2019-08-12 20:55:32 +02:00
blablubbabc 289ed97bec Fixed version. 2019-07-22 19:01:56 +02:00
blablubbabc e1568ee8a0 Bumped version to v2.8.0-SNAPSHOT 2019-07-22 02:12:55 +02:00
blablubbabc b852c7446d Prepared working on the next version. 2019-07-02 04:24:32 +02:00
blablubbabc 68e6845307 Version 2.7.2 2019-07-02 03:55:15 +02:00
blablubbabc 878728a359 Fixed compatibility with MC 1.14.3.
* Bumped Bukkit dependency to 1.14.3.
* Changed: With MC 1.14.3 custom merchants will no longer display the
'Villagers restock up to two times per day' message when hovering over
the out of stock icon.
2019-07-02 01:45:34 +02:00
blablubbabc 0c27d12851 Spigot is hiding the unused xp bar from custom merchant inventories now.
The dynamic updating of trades (out of stock icon) was adapted
accordingly.
2019-06-22 16:15:06 +02:00
blablubbabc 60ec9cca13 Use level 0 for now, to hide the name suffix. 2019-06-21 05:17:39 +02:00
blablubbabc 6e704f606f Minor internal changes related to UI handlers and the dynamic updating
of trades.

* Made updateTrades slightly more generic by retrieving the merchant
from the open inventory.
* The trading UI handler also retrieves the open merchant from the
player's open inventory now instead of manually keeping track of it.
* Changed the visibility of UIHandler#isWindow to protected and added
UIHandler#isOpen.
2019-06-21 04:39:09 +02:00
blablubbabc 2e84350016 Prepared working on next version. 2019-05-30 20:42:08 +02:00
blablubbabc 8384138b3a Version 2.7.1 2019-05-30 20:41:25 +02:00
blablubbabc 1d38081c9d Fix: Shopkeeper mobs sensing cache is never cleared, resulting in them
not looking towards nearby players sometimes.

Fixes #569
2019-05-30 20:41:01 +02:00
blablubbabc 440c3a3ff7 Prepared working on the next version. 2019-05-29 00:32:41 +02:00
blablubbabc 76b9325b75 Version 2.7.0 2019-05-29 00:14:29 +02:00
blablubbabc 2a52a612ad Bumped bukkit dependency to 1.14.2 2019-05-28 18:43:14 +02:00
blablubbabc d94e841a68 Updated nexus server. 2019-05-27 18:59:53 +02:00
blablubbabc dc5ecd3c5d Bumped Bukkit dependency to version 1.14.1. 2019-05-17 16:39:06 +02:00
blablubbabc ccf390e139 Version 2.7.0-SNAPSHOT 2019-05-09 00:53:47 +02:00