[Discontinued] AdminShop [v1.8.2] - Server Shops

Release v1.0c

Tested on SpongeForge 936

This release brings compatibility with SpongeForge 936.

Release v1.1

Tested on SpongeForge 1000

Changes:

  • This release updates to Text III API Revision

Release v1.1b

Tested on SpongeForge 1000

Changes:

  • This release updates to use the new EconomyService.
  • This plugin no longer depends on TotalEconomy, but now supports every Economy plugin that is using the EconomyService.
1 Like

Release v1.1d

Tested on SpongeForge 1000

Changes:

  • Minor bug fixes to display the correct currency.

Release v1.1e

Tested on SpongeForge 1000

Changes:

  • Minor bug fixes.
2 Likes

Very quick response! I’m impressed, lol

1 Like

:blush: Thanks for noticing

SpongeForge 1000
Admin Shop 1.1e

This is honestly a hit or miss issue.
I have been testing quite a bit tonight trying to see whats causing this, but it just occurs randomly.
The error below occurs, even though total economy is loaded. This leaves Admin Shops broken.


Very minor message error ā€œnullā€ shown in screen shot below:
Null is displayed at the end of successful purchases / sales.

@HassanS6000 you need to grab econ service in post init, cause it’s provided by plugins during init.

1 Like

Ah thanks, I’ll fix that

Well… Here’s the thing. Services SHOULD be registered in pre init, and completely initialized in init.

That way they are accessable during init and fully functional in postint.

In the meantime, before the docs team standardizes the phases for services, i would just grab it in post.

Once all the econ plugins register in preinit, you can go back to grabbing the service in init.

1 Like

Release v1.2

Tested on SpongeForge 1015

Changes:

  • Moved when the EconomyService is grabbed to PostInitialization for compatibility with Economy plugins who register their provider in the Initialization phase.
2 Likes

Could even load up the econ service in LoadComplete (usually everything is absolutely done by then, except world stuff because single player).

1 Like

Release v1.2b

Tested on SpongeForge 1018

Changes:

  • Minor bug fixes, and enhancements with more checks added while transactions occur.

Enjoy!

Release v1.3

Tested on SpongeForge 1018

Changes:

  • Updated to use InventoryAPI

Enjoy!

1 Like

I have a problem where it does not stop the right click action. I can right click multiple signs without doing the command again.

This should not happen.

I’ve had this happen to me before not sure if it still exists but in previous versions when i used setitem, realize i misspelled it and retype it it the first one still exists so if i were to right click on a sign and click a sign again it would go through because the first one doesn’t get overriden

That is a good possible cause - I will fix this now.

Release v1.3b

Tested on SpongeForge 1049

Changes:

  • Brings minor bug fixes.

Enjoy!

1 Like