Skip to content

How to use the Economy API

lokka30 edited this page Dec 8, 2021 · 2 revisions

Page Information

Page Completion Valid as of Notes
🔴 ??% Pre-release None

Definitions

In this page, the following terms are said - the definitions of which you may be unaware of:

  • Economy Consumers
    • These are plugins that utilize the economy of a server, for example, by giving players money for tasks.
    • For example: JobsReborn, ChestShops, ShopGUIPlus and so on.
  • Economy Providers
    • These are plugins that facilitate the economy of a server, by storing and managing the data that is queried and modified by economy consumers.
    • For example: EssentialsX, iConomy, ElementalEconomy, NanoEconomy and so on.

How to: for Economy Consumers

This section will inform developers of Economy Consumers on how to implement Treasury into their plugins, and use it to get and modify balances of accounts using Treasury's Economy API.

... to-do.

How to: for Economy Providers

This section will inform developers of Economy Providers on how to implement Treasury into their plugins, and use it to allow Economy Consumers to communicate with it to create a virtual economy on servers.

... to-do.