Kris-Driv / Economizer

All PocketMine economy plugin support in one library
GNU General Public License v3.0
6 stars 3 forks source link

Add other economy plugin support #2

Open Kris-Driv opened 7 years ago

Kris-Driv commented 7 years ago

In case you're reading this, star repositories above :smile: :+1:

NikoZazza commented 7 years ago

To update this plugins you can use this tool http://pmt.mcpe.me/api2/

Kris-Driv commented 7 years ago

@NikoZazza what do you mean by this plugin? It's a library to manage more than one economy plugin using same API. See how I've integrated this library into one of my projects

https://github.com/Chris-Prime/FactionsPE/blob/reborn/src/factions/FactionsPE.php#L64 https://github.com/Chris-Prime/FactionsPE/blob/reborn/src/factions/FactionsPE.php#L92 https://github.com/Chris-Prime/FactionsPE/blob/reborn/src/factions/FactionsPE.php#L177-L200

NikoZazza commented 7 years ago

sorry I made a mistake. I meant update the plugins of the list.

Kris-Driv commented 7 years ago

I'd better make a pull request for each repository individually, thanks for suggestion :+1:

Sandertv commented 7 years ago

Heyyy, how do you think about adding EssentialsPE economy support? The API is documented in the wiki of the repo.

Kris-Driv commented 7 years ago

Yup, I'm on it.

Sandertv commented 7 years ago

Awesome! :)

Kris-Driv commented 7 years ago

Now I will grab my laptop and test this.

Edit: Works perfectly

EndreEndi commented 7 years ago

Chris give me your FactionsPE plugin? Please

Kris-Driv commented 7 years ago

No

On 9 January 2017 at 10:43, MateiGaming notifications@github.com wrote:

Chris give me your FactionsPE plugin? Please

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Chris-Prime/Economizer/issues/2#issuecomment-271232978, or mute the thread https://github.com/notifications/unsubscribe-auth/AWpEVVYGU_B5CTvw0ERz1rRHRUsXZj-tks5rQfMZgaJpZM4LVanb .

Thunder33345 commented 7 years ago

@MateiGamingYTB it's public for now so go grab it while it's hot! https://github.com/BlockHorizons/FactionsPE

Thunder33345 commented 7 years ago

possible for IDE typing hint completion? using docs for the magic __call

Kris-Driv commented 7 years ago

@Thunder33345 good question. I did a workaround https://github.com/BlockHorizons/FactionsPE/blob/reborn/src/factions/FactionsPE.php#L69. Because I redirect undefined methods from Economizer class to Transistor I tell IDE that variable can be both instances.

Thunder33345 commented 7 years ago

i guess that hack works fine, but i kind of wish it wouldnt take a PHPdoc hack on the main plugin

Sandertv commented 7 years ago

@Chris-Prime it might be a very good idea to make this into a 'virion'. Would be very useful ;)

Thunder33345 commented 7 years ago

meantime still havent figured out what 'virion' is, and why that keeps getting thrown around either ways might be worthit making it into a composer project/s

Sandertv commented 7 years ago

(I don't either, you're not the only one. I hope @Chris-Prime does :P)

Kris-Driv commented 6 years ago

I actually do and it's not too late aswell :D