Research Table ๐Ÿ”ฌ

Research Table ๐Ÿ”ฌ

141k Downloads

Support for Currency systems

xyberviri opened this issue ยท 6 comments

commented

Hello, i love this mod.

I was wonder if you would be willing to add a couple of Currency systems into this mod? I think it would really bring more options for people to add more requirements.

Grand Economy is based off ender pay so the api is exactly the same:

Forge Essentials just needs the registry and wallet api:

Theres a really simple system over in freetrading for using these:
https://github.com/Foghrye4/Freetrading/blob/master/src/main/java/freetrading/trading_system/TradingSystem.java#L310-L339

implemented here:
https://github.com/Foghrye4/Freetrading/blob/master/src/main/java/freetrading/mod_interaction/

id work on this my self but im not really that good working with the gui yet, and its literally like stupid easy when you look at how Foghrye4 did it with freetrading.

Freetrading is also under MIT license

commented

Added Grand Economy support in 0.9.0

commented

not sure how this impacts d1dd15e as those all use EntityPlayerMP to figure out how much a player has/deduct from them, which down the line uses uuid's on the back end. Also if costs are only deducted at the time the player unlocks/starts the research then this should be a non issue because you should always have access to EntityPlayerMP no matter what their username is. Thats also assuming that there is no way for a person to automate the unlocking of new research categories.

commented

Thanks for your suggestion! I should spend some time looking into these APIs

commented

BTW I will possibly add support for only one or two APIs of them

commented

id recommend Grand Economy, according to issue The-Fireplace-Minecraft-Mods/Grand-Economy#2 Grand Economy is supposed to support Forge Essentials, EnderPay & Sponge-based currency conversions.

(its worth just mentioning that you can indirectly support those economies using grand economy as the backend).

commented

Oh sweet, that make me want to finish the 4 projects i started in the last week lol.