Wdrażanie API gospodarki

Sponge provides interfaces for economy plugins to implement and create an API. In order to build a complete Economy API, you must implement six classes:

Kwestie do rozważenia podczas implementowania API ekonomii

  • Czy chcesz uwzględnić wsparcie dla wielu typów walut?

  • Do I want to my plugin to perform different actions when given different contexts?

Implementing the Economy API is fairly straightforward, and the JavaDocs can be a great tool if you are unsure what a method is supposed to do.