Interface EconomyService


public interface EconomyService
YouNeedMe's internal economy. This is also exposed to the rest of the server through a net.milkbowl.vault.economy.Economy provider (see core's Vault integration), so any other plugin can transact against it without knowing YouNeedMe exists - use this interface directly only when you need YouNeedMe-specific features Vault's API doesn't have, such as multi-currency support or transferAtomic(UUID, UUID, String, double).

Every mutating call is serialized per-player internally (a spam of /pay cannot cause a double-spend), and every method is safe to call from any thread.