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

Add abbreviation support to /pay command #5457

Merged
merged 3 commits into from
Aug 8, 2023
Merged

Add abbreviation support to /pay command #5457

merged 3 commits into from
Aug 8, 2023

Conversation

alexanderdidio
Copy link
Contributor

Information

This PR closes #nnnn.

Details

Proposed feature:

Allow players to send money faster and more seamlessly on servers with inflated economies by using abbreviations. Currently supports thousands (k), millions (m), billions (b), trillions (t). Example: /pay <player> 10.5b instead of having to type 10500000000. This is a highly favored feature by several large server communities that are currently using this implementation (including my own).

Environments tested:

OS: Ubuntu 22.04.2 LTS

Java version: openjdk version "17.0.8" 2023-07-18 LTS

  • Most recent Paper version (1.20.1, git-Paper-98)
  • CraftBukkit/Spigot/Paper 1.12.2
  • CraftBukkit 1.8.8

Demonstration:

@alexanderdidio alexanderdidio changed the title Add abbreviation format support to /pay command Add abbreviation support to /pay command Jul 29, 2023
@JRoy JRoy enabled auto-merge (squash) August 8, 2023 21:03
@JRoy JRoy merged commit ad5f174 into EssentialsX:2.x Aug 8, 2023
@alexanderdidio alexanderdidio deleted the feature/pay-abbreviation branch August 23, 2023 13:39
Starmism pushed a commit to valence-smp/Essentials that referenced this pull request Jan 8, 2025
Co-authored-by: Josh Roy <10731363+JRoy@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants