nikosgram / gringotts

Gringotts is an item-based economy plugin for the Bukkit Minecraft server platform. Unlike earlier economy plugins, all currency value and money transactions are based on actual items in Minecraft, per default emeralds.
https://www.spigotmc.org/resources/gringotts.42071/
BSD 2-Clause "Simplified" License
42 stars 35 forks source link

Multi-Currency Support #110

Open Vanstredam opened 1 year ago

Vanstredam commented 1 year ago

Is your feature request related to a problem? Please describe. I would like to have multiple isolated currencies on my server for different functions, as well as Reserve having the ability to use multiple of them as well.

Describe the solution you'd like Have an option that allows for the usage of isolated currencies as well as a vault type for that currency. There would be one primary currency that plugins would hook into, while there is another one that you can access with [{currency name} vault]. This is primarily because I run a claiming plugin and I want it to have a different economy than my player made one.

nikosgram commented 1 year ago

The way that Gringotts is currently structured, I think something like that wouldn't be possible, To achieve something similar requires the re-construction of the whole data structure leaving backward compatibility out of suggestion.

Saying that, I gonna have a look if there is an easier way to achieve something similar :)

Vanstredam commented 1 year ago

I mean you could always make a lightweight legacy Gringotts for servers older than 1.13 (or whatever is considered legacy) and continue the main branch with the latest versions such as 1.16-1.19 in mind.