Shopkeepers

Shopkeepers

2M Downloads

[Feature Request] Rotating Shop

FaultyFunctions opened this issue ยท 1 comments

commented

It would be nice if you could have a shop keeper either rotate through different preset trades, or be able to select trades at random from a list. (for admin shops)

So with the first one it might be a shopkeeper that would pick randomly from a list of different already existing shopkeepers. So the UI for selecting would be slightly different. Instead of setting up individual trades, you would instead select from different shopkeepers, then select a interval where the shopkeeper's trades it opens would be swapped out.

The second idea the interface could be the same as it is now, but you would add two buttons. One for how many trades are randomly selected from, and then other for how often it will refresh those trades.

Lemme know if there are any other issues with these ideas, we can workshop some stuff out.

commented

I currently have no interest on integrating this functionality into the shopkeepers plugin.

  • There are a lot of variations one could think of on how these features are supposed to work, and different servers will have different preferences. Rather than locking in on one particular implementation in the core Shopkeepers plugin I would currently prefer this to be implemented and maintained as a separate add-on plugin by someone interested in these features.
  • Also, implementing and maintaining these features, and especially the in-game configuration for them, requires some work that I am currently not willing to put in.

You can already setup shopkeeper variants with the /shopkeeper snapshot command and then swap between them on demand via command. However, you need to some third-party plugin to periodically run the command to change the currently applied shopkeeper snapshot.

If you need other customized behavior, this can already be achieved via a third-party add-on plugin that programmatically for example periodically swaps the trades, swaps the applied snapshot, or opens a random shopkeeper, or applies a random snapshot or random set of trades when a player interacts with the shopkeeper / some NPC. However, I cam currently not willing to work on this, or integrate it and maintain it as part of the core plugin.