Skip to content

[Feature Request]: Ignore worlds instead of failing. #91

@LlmDl

Description

@LlmDl

Type of function to add or improvement

Others

Your ideas

It would be nice if the VaultUnlocked implementation did not fail when passed a not-null world:

if (worldName != null) {
return EconomyResponse(amount, getBalance(pluginName, uuid), EconomyResponse.ResponseType.FAILURE, MULTI_WORLD_CURRENCIES_NOT_SUPPORTED_MESSAGE)
}

I think most economy plugins would just direct things to the non-world method like you do anyways.

I found this to be an issue while updating Towny to use VaultUnlocked and found your economy plugin to be the first (almost) working plugin. I did manage to get things working when I modified Towny to pass a null world, but that isn't something I want to do outside of a test environment.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions