API8. Getting a list of currencies

On API7, I could get a list of existing currencies from EconomyService. On API8, I can only get the default currency from it.

Currencies are meant to be registered in the game scoped registry, so use the RegistryTypes.CURRENCY registry type to grab the currencies.

Similarly, to register your own, listen to the RegisterRegistryValueEvent.GameScoped event and register it there.

1 Like