-
Notifications
You must be signed in to change notification settings - Fork 109
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
Vault2: Economy learns about UUIDs & BigDecimals. #138
Open
LlmDl
wants to merge
16
commits into
MilkBowl:master
Choose a base branch
from
LlmDl:feature/uuid_support
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Commits on Apr 4, 2021
-
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.)
Configuration menu - View commit details
-
Copy full SHA for 5c61077 - Browse repository at this point
Copy the full SHA 5c61077View commit details
Commits on Sep 28, 2021
-
Improve UUID methods' names, dropping the word Player.
These methods are meant for players, non-players and anything with a UUID.
Configuration menu - View commit details
-
Copy full SHA for 747940c - Browse repository at this point
Copy the full SHA 747940cView commit details
Commits on Oct 12, 2021
-
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.
Configuration menu - View commit details
-
Copy full SHA for e0743da - Browse repository at this point
Copy the full SHA e0743daView commit details
Commits on Jun 28, 2022
-
Update pom with tentative version numbering.
Add jetbrains annotations & remove mention of specifc economy plugins.
Configuration menu - View commit details
-
Copy full SHA for b1e408b - Browse repository at this point
Copy the full SHA b1e408bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6570692 - Browse repository at this point
Copy the full SHA 6570692View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5348352 - Browse repository at this point
Copy the full SHA 5348352View commit details -
New methods include: - UUID-focused methods replacing the Name and OfflinePlayer methods. - getUUIDNameMap() which makes the economy plugin able to supply a Map of UUIDs and last-known-names on request. This will be used to replace the code in Vault which converts between economy plugins (and is currently only able to convert accounts belonging to players which have logged in.) The @nullable annotation is used here in order to declare that the last-known-name of the account is allowed to be null. - getAccountName(UUID) which will return the last-known-name of an account or null. Other Changes: - Minor changes to javadocs.
Configuration menu - View commit details
-
Copy full SHA for 1a73308 - Browse repository at this point
Copy the full SHA 1a73308View commit details -
Configuration menu - View commit details
-
Copy full SHA for 918bda2 - Browse repository at this point
Copy the full SHA 918bda2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7129ffb - Browse repository at this point
Copy the full SHA 7129ffbView commit details
Commits on Aug 3, 2022
-
Co-authored-by: Morgan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 698c623 - Browse repository at this point
Copy the full SHA 698c623View commit details -
Co-authored-by: Morgan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1af24b2 - Browse repository at this point
Copy the full SHA 1af24b2View commit details -
- Added renameAccount(UUID, String). - Remove @nullable annotation and remove repo/dependency from pom.xml. - Fixed typo in javadoc in Economy.
Configuration menu - View commit details
-
Copy full SHA for 7c7d0ab - Browse repository at this point
Copy the full SHA 7c7d0abView commit details
Commits on Dec 10, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3ed3ad7 - Browse repository at this point
Copy the full SHA 3ed3ad7View commit details
Commits on Dec 11, 2023
-
Replace double usage with BigDecimal, to bring Vault2 further into the
future. Major clean up of javadocs in the Economy class.
Configuration menu - View commit details
-
Copy full SHA for d739d52 - Browse repository at this point
Copy the full SHA d739d52View commit details -
Configuration menu - View commit details
-
Copy full SHA for 79bb998 - Browse repository at this point
Copy the full SHA 79bb998View commit details -
Configuration menu - View commit details
-
Copy full SHA for b52495b - Browse repository at this point
Copy the full SHA b52495bView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.