Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multicurrency, uuid and legacysupport #153

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Commits on Apr 4, 2021

  1. Add UUID support to Vault.

    This commit adds UUID support to Vault, allowing plugins to bypass the
    OfflinePlayer methods which result in Bukkit trying to resolve a player
    to associate with the OfflinePlayer (via the server playercache and if
    that player doesn't exist via Mojang.)
    
    This is incredibly useful for any plugin which wants to have an Economy
    account that isn't associated with a player. This includes Towny,
    Factions, Shops plugins and others.
    
    Most importantly: having UUID methods will give these plugins an avenue
    to update from using the String accountName methods deprecated since
    Vault 1.4, which doesn't result in slow OfflinePlayer creation.
    
    AbstractEconomy has been updated so that the various Economy plugins
    supported internally by Vault will have support for the new methods in
    the same manner as when the OfflinePlayer methods were added.
    
    Small javadoc typos have also been fixed up (extra {'s, an additional
    {@link, etc.)
    LlmDl committed Apr 4, 2021
    Configuration menu
    Copy the full SHA
    5c61077 View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2021

  1. Improve UUID methods' names, dropping the word Player.

    These methods are meant for players, non-players and anything with a
    UUID.
    LlmDl committed Sep 28, 2021
    Configuration menu
    Copy the full SHA
    747940c View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2021

  1. Remove the now un-needed AbstractEconomy class.

    To match the PR I have opened at the Vault repo, which has had the
    native economy plugin support removed, the VaultAPI plugin no longer
    requires the AbstractEconomy class.
    
    Removal means that this Pull Request no longer calls
    Bukkit.getOfflinePlayer(uuid), making this much safer.
    LlmDl committed Oct 12, 2021
    Configuration menu
    Copy the full SHA
    e0743da View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2023

  1. Splitted @LlmDl Economy proposal in IdentityEconomy in order to suppo…

    …rt economy providers that are already able to hook into Vault.
    
    Added MultiEconomy which considers an economy as a currency, granting a multi-currency abstraction.
    Provided wrappers that help registering/hooking all three types of layers into Vault.
    anjoismysign committed Apr 1, 2023
    Configuration menu
    Copy the full SHA
    b3bbcdd View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2023

  1. Configuration menu
    Copy the full SHA
    1496c69 View commit details
    Browse the repository at this point in the history