v1.81

Details

  • Filename
    Shopkeepers.jar
  • Uploaded by
  • Uploaded
    Nov 24, 2016
  • Size
    303.39 KB
  • Downloads
    73,626
  • MD5
    d48cbdd1106a1cda86378fe706aad81d

Supported Bukkit Versions

  • 1.11
  • 1.10
  • 1.9
  • 1.8

Changelog

v1.81 for MC 1.11, 1.10, 1.9.x, 1.8.x

  • Fix: Error when trying to save trading recipe of trading shopkeeper.

v1.80 for MC 1.11, 1.10, 1.9.x, 1.8.x

  • Added: Settings for prefix and default trading window title.
  • Change: When getting a recipe from admin shop editor window with no first item, we try to use the second item as first item instead of completely disregarding the recipe. Similar to how the trading shopkeeper handles this.

Internal refactoring and cleanup:

  • Removed separate handling of villager AI. Their AI is now replaced in the same way as for any other living entity shop.
  • Major change: Using new bukkit api for opening virtual merchant inventories and getting the used trading recipe. This is only available in the very latest version of bukkit for MC 1.11, so if you are already using Spigot 1.11, you need to update to the most recent version.
  • Changes/Fixes: All empty itemstacks related to trading recipes should now be replaced with null everywhere (similar to the pre-1.11 behavior). This also means that trading recipes with empty second item should no longer save this as an item of type AIR, but instead omit this entry all together.
  • Changes: More consistent handling of empty itemstacks everywhere in the code.
  • Minor code cleanup at various places.

v1.79 for MC 1.11, 1.10, 1.9.x, 1.8.x

Update for MC 1.11:

  • Minecraft represents the different variants of skeletons (stray, wither_skeleton) and zombies (zombie_villager) now in the form of different entity types. Shopkeepers using these variants get automatically converted to use the new mob types instead.
    This however means that you cannot switch back to previous minecraft versions without loosing those converted shopkeepers.
    And you will have to give all your players, which were previously able to create zombie or skeleton shopkeepers the required permission nodes for stray, wither_skeleton and zombie_villager, otherwise they won't be able to access/edit their shops after this conversion.
    Also, if you are running on a minecraft version below MC 1.11, you can no longer cycle through the different zombie variants and skeleton variants and existing shopkeepers using those will fallback to normal zombies and skeletons.
  • Added the new mobs from MC 1.11 (evoker, vex, vindicator). Llamas, sadly, act weirdly currently when clicked (same goes for all horse variants) and are therefore not included in the default list of enabled mob types. In case you are updating, you will have to let the plugin recreate this config entry (by removing the entry or the whole config) or manually add those new mobs in order to enable them.
  • Added: Support for the green 'Nitwit' villager variant added in MC 1.11.
  • Some minor changes related to handling empty inventory slots and itemstacks, especially when creating the trading recipes, were required.

Other changes:

  • Added a bunch of old mobs, which seem to mostly work fine, to the by default enabled living shop types. Also reordered this list a bit (roughly: friendly mobs first, hostile and new mobs at the end).
  • Added: Instead of cycling between normal and villager variant, zombie shopkeepers can now change to baby variant by clicking the spawn egg in the editor window.
  • Change: No longer disabling other, normal villagers by default.
  • Fix: Ignoring double left clicks in editor window when adjusting item amounts. Previously this would cause 2 fast left clicks to be counted as 3 left clicks.
  • Fix: Also ignoring double clicks when cycle shopkeeper object variants in editor window.
  • Fixed: The 'compatibility mode' fallback, which is run if no supported minecraft version is found, wasn't able to open the trading window for players.

Donations

If you like this plugin, consider supporting its development by making a donation.
Thanks in advance!

  • If the trade for a written book fails players can sometimes still open and read the book if they close the shop and click the temporary fake book in their inventory fast enough. There is not much I can do about this..
  • Server crashes and improper shutdowns might cause living non-citizens shopkeeper entities to duplicate sometimes.
  • The 'always-show-nameplates' setting is no longer working on MC 1.8.
  • Compatibility with older bukkit versions is untested. If you encounter any problems let me know and I will look into it.
  • A bunch of entity types are only meant for experimental usage. They might cause all kinds of issues if used. See changelog of v1.50.
  • In the latest MC 1.8.x versions default minecraft trading logic has slightly changed (and by that those of shopkeepers as well): if a trade requires an item with special data (like a custom name, etc.) minecraft is now only allowing this trade, if the offered item is perfectly matching, including all special item data and attributes.
  • MC 1.9 has changed how the different spawn eggs are differentiated internally. All spawn eggs now have the data value 0 and there is no API in bukkit yet which would allow me to check which type of spawn egg a player is holding. In order to get the shop creation via item working for now, you will have to either change the data value of the shop creation item to 0 (which will however let ALL types of spawn eggs act like the creation item), or you change the creation item type all together.
  • Shopkeepers using skeleton or zombie variants after updating to MC 1.11 or above can not be loaded again (will be lost) when switching back to a previous minecraft version.
  • If you are running on a minecraft version below MC 1.11, you can no longer cycle through the different zombie variants and skeleton variants. Existing shopkeepers using those will fallback to normal zombies and skeletons.