VaultUnlocked

A PR-friendly version of Vault; Where PRs are actually accepted. With Folia Support.

41.2K
90
Все версииVaultUnlocked 2.14.0

VaultUnlocked 2.14.0

Release12 июля 2025 г.

Список изменений

2.14

  • Added a few new methods for grabbing accounts that specific accounts have access to.

    /**
     * Retrieves a list of account IDs owned by the specified account ID.
     *
     * @param pluginName the name of the plugin
     * @param accountID the unique identifier of the account
     * @return a list of account names owned by the specified account ID
     *
     * @since 2.14
     */
    List<String> accountsOwnedBy(@NotNull final String pluginName, @NotNull final UUID accountID)

    /**
     * Retrieves a list of account IDs that the specified account is a member of.
     *
     * @param pluginName the name of the plugin
     * @param accountID the UUID of the account to check membership for
     * @return a List of String values representing the accounts that the account is a member of
     *
     * @since 2.14
     */
    List<String> accountsMemberOf(@NotNull final String pluginName, @NotNull final UUID accountID)

    /**
     * Retrieves a list of account IDs that the specified account has the specified permissions for.
     *
     * @param pluginName the name of the plugin
     * @param accountID the UUID of the account to check access for
     * @param permissions variable number of permissions to check for
     * @return a list of accounts that the account has the specified permissions to
     *
     * @since 2.14
     */
    List<String> accountsAccessTo(@NotNull final String pluginName, @NotNull final UUID accountID, @NotNull final AccountPermission... permissions)

📘 VaultUnlocked PlaceholderAPI Placeholders (UUID-Based)

Note: These only work if your economy plugin supports the modern API of VaultUnlocked.

💰 Personal Balance (Player Required)

PlaceholderDescription
%vaultunlocked_balance%Player’s balance in the default world
%vaultunlocked_balance_<world>%Player’s balance in a specific world
%vaultunlocked_balance_currency_<currency>%Balance in a specific currency (default world)
%vaultunlocked_balance_currency_<currency>_world_<world>%Balance in a specific currency and world
%vaultunlocked_balanceformatted%Formatted balance (e.g., $1,234.56)
%vaultunlocked_balanceformatted_currency_<currency>%Formatted balance in a specific currency
%vaultunlocked_balanceformatted_currency_<currency>_world_<world>%Formatted balance in a specific currency and world

🏦 Shared Account Balance (Account UUID Required)

PlaceholderDescription
%vaultunlocked_account_<uuid>%Shared account balance (default currency/world)
%vaultunlocked_account_<uuid>_status%Whether the player has access to the shared account
%vaultunlocked_account_<uuid>_currency_<currency>%Shared account balance in a specific currency
%vaultunlocked_account_<uuid>_currency_<currency>_world_<world>%Shared account balance in a specific currency and world
%vaultunlocked_account_<uuid>_currency_<currency>_formatted%Formatted balance in a specific currency
%vaultunlocked_account_<uuid>_currency_<currency>_world_<world>_formatted%Formatted balance in a specific currency and world

✅ Capability Checks (Player & Account UUID Required)

Please note: The response is yes or no, for true or false respectively.

PlaceholderDescription
%vaultunlocked_can_deposit_<uuid>%Whether the player can deposit into the account with UUID.
%vaultunlocked_can_withdraw_<uuid>%Whether the player can withdraw from the account with UUID.
%vaultunlocked_can_balance_<uuid>%Whether the player can view the balance of the account.
%vaultunlocked_can_transfer_<uuid>%Whether the player can transfer ownership of the account.
%vaultunlocked_can_invite_<uuid>%Whether the player can invite members to the account.
%vaultunlocked_can_remove_<uuid>%Whether the player can remove members from the account.
%vaultunlocked_can_modify_<uuid>%Whether the player can modify member permissions.
%vaultunlocked_can_delete_<uuid>%Whether the player can delete the account.

📂 Account List / Info (Player Required)

PlaceholderDescription
%vaultunlocked_accounts%List of accessible shared account UUIDs
%vaultunlocked_accounts_count%Count of accessible shared accounts

💱 Currency Metadata (No Player Required)

PlaceholderDescription
%vaultunlocked_currency%Singular form of the default currency
%vaultunlocked_currencyplural%Plural form of the default currency

🔡 Encoding Notes for Currency Names

If a currency contains spaces or symbols, encode them:

CharacterUse % Encoding
Space%20
$%24
+%2B
&%26
/%2F
=%3D

Файлы

VaultUnlocked-2.14.0.jar(68.30 KiB)
Основной
Скачать

Метаданные

Канал релиза

Release

Номер версии

2.14.0

Загрузчики

bukkitfoliapaperpurpurspigot

Версии игры

1.131.13.11.13.21.141.14.11.14.21.14.31.14.41.151.15.11.15.21.161.16.11.16.21.16.31.16.41.16.51.171.17.11.181.18.11.18.21.191.19.11.19.21.19.31.19.41.201.20.11.20.21.20.31.20.41.20.51.20.61.211.21.11.21.21.21.31.21.41.21.51.21.61.21.7

Загрузок

1.3K

Дата публикации

July 12, 2025 at 5:52 AM

Загрузил

creatorfromhellcreatorfromhell

ID версии