snowgears / shopbugs

Shop bug tracker
8 stars 4 forks source link

Add integration with ElementalGems plugin #377

Open Virologicbody opened 1 year ago

Virologicbody commented 1 year ago

Is your feature request related to a problem? Please describe. Not related to a problem

Describe the solution you'd like Within the configuration, be able to set and use another plugins balance/currency to buy items

Describe alternatives you've considered Use the plugin as it currently works

Additional context E.g. I use Elemental Gems plugin as my 'currency' and have these gems set within the Shop plugin as the currency. Elemental Gems are given as physical items (that can be used in a Shop), but can also be clicked on to add them to their 'virtual' balance.

Currently, if players add the gems to their balance, they then need to withdraw a number of gems so they can buy from a shop. Instead of using a physical item as the shop currency, we could check a players balance from another plugin before the shop decides if the player has enough to buy an item.

[https://www.spigotmc.org/resources/gemapi-for-elementalgems.97313/]

snowgears commented 1 year ago

I would ask the ElementalGems developer to integrate with Vault so that the "virtual currency" they are redeeming from is Vault. That way their plugin will work with all other economy plugins like Shop

Virologicbody commented 1 year ago

I have asked...

Thanks for the reply!