Shopkeepers

Shopkeepers

2M Downloads

Unable to create Villager Shopkeeper, even with bypasses enabled

blablubbabcDEV opened this issue ยท 6 comments

commented

Migrated from: https://dev.bukkit.org/projects/shopkeepers/issues/414

Originally posted by ptiber (May 24, 2016):

Using latest version 1.74, creating villager shopkeepers is impossible and the following message is displayed : "You cannot create a shopkeeper here", even when:
bypass-spawn-blocking: true
enable-world-guard-restrictions: false
require-world-guard-allow-shop-flag: falseWorldguard is installed on the server.
It was working fine with an older version (1.6.1)What steps will reproduce the problem?

  1. Set all the bypasses to true and all the permissions check to false in the shopkeeper config
  2. Using the shop creation item, right-click a chest, then right-click the ground to create a shopkeeper
  3. See warning message displayedWhat is the expected output? What do you see instead?
    Being able to spawn a villager shopkeeper, which isn't happening.What version of the product are you using?
    latest, 1.74Do you have an error log of what happened?
    No, nothing gets displayed in the console, even if debugmode is enabled in shopkeepersPlease provide any additional information below.
commented

Originally commented by ptiber (May 24, 2016):

Addendum:
Using the /shopkeeper command to create a shopkeeper gives the same message, "You cannot create a shopkeeper here".

commented

Originally commented by ptiber (May 24, 2016):

[at]blablubbabc:
Unfortunately, none of these can apply:

  • Sign shops works perfectly

  • Area is flat, with air up to the sky limit

  • Worldguard restrictions are disabled (in the config, enable-world-guard-restrictions is false, require-world-guard-allow-shop-flag is false)

  • I can build in that region, and I have the same error message even when i'm OP

  • Still the same if I enable the allow-shop flag in the global Wolrdguard region (there are no other regions on the server)

  • Towny is not installed

  • Chest is not used, since there are no other shopkeepers on the whole server (save file is empty!)

  • I am targetting a block close enough (block next to me, or 2 blocks away)

  • Creation-item and command give the same error message.

          Edited May 24, 2016
    
commented

Originally commented by blablubbabc (May 24, 2016):

[at]ptiber:
I just checked again, and I cannot find any other circumstances under which this message gets sent..

So currently I have no clue what the issue might be if it's none of the ones listed below.. :(

Am I assuming correctly that you are running spigot or craftbukkit, and not some other derivative?
If you quickly setup a local test server with no other plugins and only shopkeepers running, with the default configuration, do you experience the same issue?
If you can't get it to work, would you mind inviting me to your server and showing me exactly what you do step by step there? Maybe I can spot what the issue is then.

        Edited May 24, 2016
commented

Originally commented by blablubbabc (May 24, 2016):

Shopkeeper creation works fine on my test server, so there has to be something else involved in your case.

The message you are getting is a generic error message which is sent whenever no more specific error message is available. So there can be multiple reasons for why shop creation might fail for you:

If creating a shop via creation-item:

You are trying to create a sign shop but are not clicking a valid block-face for a wall-sign.
The block where the shop will get spawned is not air (usually the block above the clicked block for mob shops).
WorldGuard restrictions are enabled and you don't have build permission, or the shop would be created in a region which doesn't allow shops (there is a allow-shop flag in world guard).
Towny restrictions are enabled and the spawn location is outside a 'commercial area'.
The chest is already used by some other shopkeeper: There might even already be a shop at that location, which you can't see, because either some other plugin might prevent it from spawning, orr that shop's data somehow got corrupted, which prevents it from getting properly spawned. So best you look through your save file if you find any shop entries there which uses the same coordinates. Or you backup your save file and then let it reset (by removing it), to make sure that no other old shop is interfering.

If creating via command:

Targeting no valid block in range (range is 10 blocks).
The targeted chest is already used by another shopkeeper. See above.
You are trying to create a sign shop but are not targeting a valid block face for a wall-sign.
The block in which the shop is going to get spawned is not air (usually the block above the target chest for mob-shops).

My current guess is, that there might be some shop entry in your save file, preventing new shops from being create at your current location.

        Edited May 24, 2016
commented

Originally closed by blablubbabc (Jul 14, 2016)

commented

Originally commented by blablubbabc (Jul 14, 2016):

I will close this issue for now, as I cannot reproduce it. Maybe you could try to reproduce this on a fresh server with not other plugins running. If you have any new information regarding this, feel free to let me know.