Skip to content

Information for user about origin of "the economy for claims is disabled" error, is this error from "non-exist vault plugin" or "economy: false setting" . #71

@murmurlab

Description

@murmurlab

boolean[] check_vault = {false};
if (Bukkit.getPluginManager().getPlugin("Vault") != null) {
claimVaultInstance = new ClaimVault();
if (claimVaultInstance.setupEconomy()) {
claimSettingsInstance.addSetting("vault", "true");
check_vault[0] = true;
} else {
claimSettingsInstance.addSetting("vault", "false");
}
} else {
claimSettingsInstance.addSetting("vault", "false");
}

https://xyness.gitbook.io/simpleclaimsystem/configuration/config.yml#economy
https://xyness.gitbook.io/simpleclaimsystem/support/vault
https://xyness.gitbook.io/simpleclaimsystem/installation/prerequisites
You didn't mention in your documentation that the vault plugin needed to be installed. After searching for the essential-economy plugin for a while, I learned that it was built-in into Essential. I thought what was meant by Vault was economy.

https://xyness.gitbook.io/simpleclaimsystem/support/vault
As stated on this page, I thought that the error message "the economy for claims is disabled" was caused by the "economy: true" setting in the config file. I thought that although the setting was "true", the config was not loading properly.
After spending half a day researching, I realized that the term "Vault" is more than just an part of economy plugin, and that it's a plugin. If you add a link to the word "vault" in the documentation and describe depended plugin it on the pages I've specified, less knowledgeable users won't waste time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions