Skip to content

Bump com.nisovin.shopkeepers:ShopkeepersAPI from 2.25.0 to 2.26.0#23

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/gradle/com.nisovin.shopkeepers-ShopkeepersAPI-2.26.0
Open

Bump com.nisovin.shopkeepers:ShopkeepersAPI from 2.25.0 to 2.26.0#23
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/gradle/com.nisovin.shopkeepers-ShopkeepersAPI-2.26.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Feb 22, 2026

Bumps com.nisovin.shopkeepers:ShopkeepersAPI from 2.25.0 to 2.26.0.

Changelog

Sourced from com.nisovin.shopkeepers:ShopkeepersAPI's changelog.

v2.26.0 (2026-02-21)

Supported MC versions: 1.21.11, 1.21.10, 1.21.8, 1.21.7, 1.21.6, 1.21.5

  • Permission: Add shopkeeper.create (default: op).
    • Only players with this permission can create shopkeepers via command (both admin and player shops).
    • Config: This permission replaces the previous create-player-shop-with-command setting. The setting is automatically removed during config migration 10.
    • Compared to the previous setting, this permission offers additional flexibility: It is now possible to only allow admins to create player shops via command while still requiring normal players to use the shop creation item.
    • The "no-permission" message for the shopkeeper creation command includes a note now about using the shop creation item to create player shops.
    • Manual migration: If you previously allowed your players to create player shops via command, you will have to assign them this new permission now.
  • Add shop creation items that create shopkeepers with a pre-defined shop and/or object type.
    • Command: The /shopkeeper give command optionally accepts a shop-type and object-type argument now. When specified, the created shop creation item only spawns shopkeepers of the respective type.
    • Only player shop types are supported in combination with the shop creation item.
    • When a player tries to use the shop creation item with a pre-defined shop or object type, we still perform the usual shop and object type disabled and permission checks. I.e. shop creation items can become useless if the respective shop or object type gets disabled or the player misses or loses their permission to use it.
    • The shop creation message was slightly adapted to omit the non-relevant instructions for switching the selected shop or object type.
    • Internally, the shop type and shop object type ids are stored in the item's custom_data in PublicBukkitValues with the keys shopkeepers:shop_type and shopkeepers:object_type. In combination with the shopkeepers:shop_creation_item tag, you can use third-party item editing plugins to create custom shop creation items that spawn specific shopkeeper types.
    • Debug: Extend the output of the checkItem command to include whether the held items specify a pre-defined shop or object type.
  • Add end crystal shop object.
    • Permission: shopkeeper.entity.end_crystal (default: false, but included in shopkeeper.entity.*).
    • Config: Add enable-end-crystal-shops (default: true).
    • Config: Add allow-end-crystal-shops-in-the-end (default: false).
    • Placing end crystal shops in the end is disabled by default, because they can for example affect dragon fights.
  • Config: Rename some settings, since they might also affect non-mob entities.
    • Rename silence-living-shop-entities to silence-shop-entities.
    • Rename mob-behavior-tick-period to entity-behavior-tick-period.
    • The config is automatically migrated (version 10).
  • Disable the gravity for flying mobs.
    • Certain mobs can now be placed in the air without dropping to the ground due to gravity: Allay, bat, bee, chicken, blaze, ender dragon, ghast, happy ghast, parrot, phantom, vex, wither.
    • When spawned, we still adjust their spawn location within their spawn location block, but we no longer automatically place them on the block below that, like we do for other mobs, allowing them to hover one block above the ground.
    • We periodically check if the mob is still in the air and update their onGround state accordingly for some of these mobs to play their flying animation.
    • Also: Entities tick their AI now while falling.
  • Prevent placing mobs in midair that are neither flying nor shulker.
  • Add an item with shopkeeper information to the editor UI. The item's lore includes: The shop id, unique id, name, shop type, object type, location and owner (for player shops).
    • In the regular villager editor, we show entity information instead (entity id, unique id and location).
    • Config: Add shop-information-item (default: minecraft:paper).
  • Add an editor option to temporarily close the shop: Players cannot trade with or hire the shop while it is closed.
  • Config: Add settings to disable certain aspects of normal villagers and wandering trades per world:
    • disable-other-villagers-worlds
    • block-villager-spawns-worlds
    • disable-zombie-villager-curing-worlds
    • hire-other-villagers-worlds
    • disable-wandering-traders-worlds
    • block-wandering-trader-spawns-worlds
    • hire-wandering-traders-worlds
  • Even when disabled, allow normal villagers and wandering to still be spawned manually via command, similar to how they can still be spawned via spawn eggs. However, during chunk loading, such villagers are still subsequently removed.
  • Fix: Immediately delete shopkeepers again if they fail to spawn, e.g. if placed in a protected region and bypass-spawn-blocking is disabled.
    • This only applies to player created shopkeepers (ShopkeepersPlugin#handleShopkeeperCreation), not shopkeepers created via the API by other means (ShopkeeperRegistry#createShopkeeper).
    • We only check if the shopkeeper was able to spawn once immediately after creating it. We do not automatically delete shopkeepers that later fail to spawn.
    • Note: From brief testing, Citizens NPC shopkeepers seem to bypass region protection plugins like WorldGuard currently, since they don't call the usual Bukkit entity spawn events that WorldGuard listens to.
    • Also: When a shopkeeper is deleted, we now immediately try to reuse the last id again if there is no other shopkeeper with a larger id existing.
  • Add detection and cleanup of unspawnable shopkeepers:

... (truncated)

Commits
  • dcb982d Version 2.26.0
  • 8a33586 Fix: Let copper golems still target other chests on Spigot
  • 49eabc6 Update the build script to handle revision differences (attempt 2)
  • 0eff8f9 Update the Spigot build script to for the correct 1.21.11 revision
  • c50183a Fix: Protect copper chests from copper golem access on Spigot
  • ee0c775 Bump the 1.21.11 Bukkit dependency to R0.2
  • 37168c7 Fix: Prevent copper golems from accessing copper shop chests
  • d39e3e6 Remove outdated todo note
  • 7978729 Add detection and cleanup of unspawnable shopkeepers
  • 8a687f2 Delete new shopkeepers again if they fail to spawn
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [com.nisovin.shopkeepers:ShopkeepersAPI](https://github.com/Shopkeepers/Shopkeepers) from 2.25.0 to 2.26.0.
- [Changelog](https://github.com/Shopkeepers/Shopkeepers/blob/master/CHANGELOG.md)
- [Commits](Shopkeepers/Shopkeepers@v2.25.0...v2.26.0)

---
updated-dependencies:
- dependency-name: com.nisovin.shopkeepers:ShopkeepersAPI
  dependency-version: 2.26.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Feb 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants